Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too strong filter for WWN #19

Open
Bloodoff opened this issue Nov 21, 2016 · 0 comments
Open

Too strong filter for WWN #19

Bloodoff opened this issue Nov 21, 2016 · 0 comments

Comments

@Bloodoff
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant