[Openstack] Quantim duplicate subnet creation

Balamurugan V G balamuruganvg at gmail.com
Thu Jan 17 07:52:55 UTC 2013


Hi,

Is there a way to create a duplicate network/subnet for tenant in quantum.
Basically for a tenant, I want to have some instances(GroupA) share a
subnet and another set of instances(GroupB) share the same(duplicate)
subnet but GroupA and GroupB should be isolated. I have labnet which is the
flat network to which one instance from each group is assigned for external
connectivity. Then I want to have two private networks private1 and
private2 both sharing the same subnet but I was to assign some instances to
private1 and some in private2.

I have the following networks in a flat network setup.

root at openstack:~# quantum subnet-list
+--------------------------------------+------+------------------+------------------------------------------------------+
| id                                   | name | cidr             |
allocation_pools                                     |
+--------------------------------------+------+------------------+------------------------------------------------------+
| abb62a74-ad15-452c-857f-ee0a1b388ede |      | 192.168.168.0/24 |
{"start": "192.168.168.2", "end": "192.168.168.254"} |
| eedc0c12-c3ed-42ce-a860-692e766087a2 |      | 10.5.12.0/24     |
{"start": "10.5.12.21", "end": "10.5.12.25"}         |
+--------------------------------------+------+------------------+------------------------------------------------------+
root at openstack:~#


Now, the following gets denied.

root at openstack:~# quantum subnet-create --tenant-id
7cda178971e84c5194c8531bf4f229d7  private2 192.168.168.0/24
Invalid input for operation: Requested subnet with cidr:
192.168.168.0/24for network: 64ec75d6-0c6f-44e1-a268-b573324c4160
overlaps with another
subnet.
root at openstack:~#

I understand that a duplicate network with a tenant is not a common
scenario and perhaps by design its not allowed.

But there could be cases like I mentioned.

Strangely, I am not allowed to create the duplicate network even across
tenants. Atleast this should be allowed.

BTW, I am running a single node Devstack.

Regards,
Balu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130117/79546bc0/attachment.html>


More information about the Openstack mailing list