yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36472
[Bug 1480859] Re: There is no verification for tenant-id
** Project changed: python-neutronclient => neutron
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1480859
Title:
There is no verification for tenant-id
Status in neutron:
New
Bug description:
tenant-id should be UUID type, but there is no verification in arg
parsing.
we can specify arbitrarily tenant id,
$ neutron security-group-create bbb --tenant-id=123
Created a new security_group:
+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| description | |
| id | 7a4c71cf-0df3-4c77-a89a-a2078f576a7f |
| name | bbb |
| security_group_rules | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "123", "port_range_max": null, "security_group_id": "7a4c71cf-0df3-4c77-a89a-a2078f576a7f", "port_range_min": null, "ethertype": "IPv4", "id": "a08af0f3-bd1a-4103-828a-70e13adb6137"} |
| | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "123", "port_range_max": null, "security_group_id": "7a4c71cf-0df3-4c77-a89a-a2078f576a7f", "port_range_min": null, "ethertype": "IPv6", "id": "60c94545-c2fb-4045-9b4d-abdebec9a2e9"} |
| tenant_id | 123 |
+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1480859/+subscriptions