support create subnet with same network name in different project

Bug #1699701 reported by Yi Zhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
In Progress
Undecided
Yi Zhao

Bug Description

if there are two network with same name in different project, openstack client can not create subnet with this network name.

for example,
project "admin" has network "test-net1"
project "demo" has network "test-net1"

when user create a subnet in the project demo with the network name "test-net1", it reports error: "More than one Network exists with the name 'test-net1".

$ openstack subnet create --project demo --network test-net1 --subnet-range 11.0.0.0/24 subnet1
More than one Network exists with the name 'test-net1'.

The problem is due to there lacks "project" filter when find the networks.

Yi Zhao (zhaoyi44)
Changed in python-openstackclient:
assignee: nobody → Yi Zhao (zhaoyi44)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/476414

Changed in python-openstackclient:
status: New → In Progress
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.