yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13508
[Bug 1306488] [NEW] invalid vxlan id shouldn't be created successfully for ml2
Public bug reported:
create vxlan successfully with invalid vxlan id for ml2:
curl -i http://127.0.0.1:9696/v2.0/networks -H "X-Auth-Token:$token_id" -H "Content-Type: application/json" -X POST -d '{"network": {"name": "vxlan_test", "admin_state_up": true, "tenant_id": $tenant_id, "provider:network_type": "vxlan", "router:external": false, "shared": false, "provider:segmentation_id": -1}}'
response:
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
Content-Length: 332
X-Openstack-Request-Id: req-1e9af36d-b742-4c76-bfdf-0cea4df6399f
Date: Fri, 11 Apr 2014 09:25:51 GMT
{
"network": {
"status": "ACTIVE",
"subnets": [
],
"name": "vxlan_test",
"provider:physical_network": null,
"admin_state_up": true,
"tenant_id": "bfed9cd5990c49ad8a42ba36d505c003",
"provider:network_type": "vxlan",
"router:external": false,
"shared": false,
"id": "5bd9b587-02f8-4432-b0d0-18a126126072",
"provider:segmentation_id": -1
}
}
** Affects: neutron
Importance: Undecided
Assignee: Xurong Yang (idopra)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Xurong Yang (idopra)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1306488
Title:
invalid vxlan id shouldn't be created successfully for ml2
Status in OpenStack Neutron (virtual network service):
New
Bug description:
create vxlan successfully with invalid vxlan id for ml2:
curl -i http://127.0.0.1:9696/v2.0/networks -H "X-Auth-Token:$token_id" -H "Content-Type: application/json" -X POST -d '{"network": {"name": "vxlan_test", "admin_state_up": true, "tenant_id": $tenant_id, "provider:network_type": "vxlan", "router:external": false, "shared": false, "provider:segmentation_id": -1}}'
response:
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
Content-Length: 332
X-Openstack-Request-Id: req-1e9af36d-b742-4c76-bfdf-0cea4df6399f
Date: Fri, 11 Apr 2014 09:25:51 GMT
{
"network": {
"status": "ACTIVE",
"subnets": [
],
"name": "vxlan_test",
"provider:physical_network": null,
"admin_state_up": true,
"tenant_id": "bfed9cd5990c49ad8a42ba36d505c003",
"provider:network_type": "vxlan",
"router:external": false,
"shared": false,
"id": "5bd9b587-02f8-4432-b0d0-18a126126072",
"provider:segmentation_id": -1
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1306488/+subscriptions
Follow ups
References