← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1306488] Re: invalid gre/vxlan id shouldn't be created successfully for ml2

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
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 gre/vxlan id shouldn't be created successfully for ml2

Status in OpenStack Neutron (virtual network service):
  Fix Released

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


References