Skip to content

Too strong filter for WWN #19

@Bloodoff

Description

@Bloodoff

In file utils.py deefined regex for validate WWNs
'naa': lambda wwn: re.match("naa.[125][0-9a-fA-F]{15}$", wwn)

I have quad port QLE2564 adapter with portnames:
systool -c fc_host -v | grep port_name
port_name = "0x15b0024ffaa536f"
port_name = "0x115b0024ffaa536f"
port_name = "0x215b0024ffaa536f"
port_name = "0x315b0024ffaa536f"

Two of this list can't pass regexp, and can not be used as FC target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions