Creating a VN without a name fails

Bug #1334571 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Committed
Medium
Prakash Bailkeri
Trunk
Fix Committed
Medium
Prakash Bailkeri

Bug Description

Build : 1.06-50

Creating a VN without a name fails saying that default-virtual-network already exists.
This passes in stock neutron.

As per neutron spec, VN can be created without a name.

curl -i http://10.204.217.109:9696/v2.0/networks.json -X POST -H "X-Auth-Token: <token>" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"network": {"shared":true}}'
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
Content-Length: 210
Date: Tue, 24 Jun 2014 18:51:08 GMT

{"NeutronError": {"message": "Bad network request: [u'default-domain', u'admin', u'default-virtual-network'] already exists with uuid: 15f74522-254f-459d-854d-327803e9bd9e", "type": "BadRequest", "detail": ""}}root@nodec22:~#
root@nodec22:~#

information type: Proprietary → Public
tags: added: neutronapi
Revision history for this message
Sachin Bansal (sbansal) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.