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

vnctl does not accept RFC-compliant UUIDs #523

Open
miz-axsh opened this issue Feb 16, 2017 · 0 comments
Open

vnctl does not accept RFC-compliant UUIDs #523

miz-axsh opened this issue Feb 16, 2017 · 0 comments

Comments

@miz-axsh
Copy link
Member

UUIDs compliant with RFC 4122 are rejected.
Passing UUIDs generated by uuidgen(1) causes an error:

# vnctl datapaths add \
         --uuid=f5a6ca6f-7032-4dbd-9245-1e799ff48c14 \
         --display-name=detapath01 \
         --dpid=0x0000deadbeefcafe \
         --node-id=vna
---
:error: Vnet::Endpoints::Errors::InvalidUUID
:message: 'Datapath#uuid: f5a6ca6f-7032-4dbd-9245-1e799ff48c14'
:code: '101'

this seems to be limited by regex {prefix}-[a-z0-9]{1,16}.

RFC-compliant UUIDs are widely used, and also supported by mysql: SELECT UUID();.
https://en.wikipedia.org/wiki/Universally_unique_identifier
https://tools.ietf.org/html/rfc4122

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