In VM Nested Case, if we create kuryr network(which is not same as vm network) it will be failed, and kuryr will also update the netron network tag with wrong container network id.
[root@limao-dev kuryr_libnetwork]# docker network create --driver kuryr --ipam-driver kuryr --subnet 30.0.0.0/24 limao_test
Error response from daemon: NetworkDriver.CreateNetwork: Subnets hosted on the same network must be allocated from the same subnet pool.
Neutron server returns request_ids: ['req-9d364ebf-6fba-4984-93eb-ce158ceb0042']
In VM Nested Case, if we create kuryr network(which is not same as vm network) it will be failed, and kuryr will also update the netron network tag with wrong container network id.
[root@limao-dev kuryr_libnetwork]# docker network create --driver kuryr --ipam-driver kuryr --subnet 30.0.0.0/24 limao_test CreateNetwork: Subnets hosted on the same network must be allocated from the same subnet pool. 6fba-4984- 93eb-ce158ceb00 42']
Error response from daemon: NetworkDriver.
Neutron server returns request_ids: ['req-9d364ebf-
The neutron network will has a lot of kuryr.net.uuid.lh and kuryr.net.uuid.uh after create kuryr network failed. edd8-4536- 90e6-be446530b8 6e ------- ------- ------- +------ ------- ------- ------- ------- ------- ------- ----+ ------- ------- ------- +------ ------- ------- ------- ------- ------- ------- ----+ zone_hints | | edd8-4536- 90e6-be446530b8 6e | enabled | True | network_ type | vlan | physical_ network | physnet1 | segmentation_ id | 880 | 48d5-4a79- 8b9c-9bbaa9de6e 75 | uuid.lh: df610e2b5fb9376 61f448627fe1c27 61 | uuid.lh: ec998539b93feec 5a6a0bbce47f876 ff | uuid.lh: 992cba477c02923 705dfb1be5ff329 7a | uuid.uh: 893920626fdee19 56183405c1a1634 ec | uuid.uh: c96305f1141a21a 447b01986fe165f ed | uuid.lh: de4e13b0839ca07 0058a7eac9cfeaa 84 | uuid.uh: 5b71a0a9c564d3e 97450fc916d585c d9 | uuid.lh: abeb253c40faff2 b2bf2cf0d44e24b f2 | uuid.uh: f4a6ed341fbff28 17280df8370709b bf | uuid.uh: 53bf6bbab7f8a37 1789b6d5c2a37d0 99 | uuid.lh: aa098d6d82547a1 a255b2ff8042354 49 | uuid.uh: f3c68d33326315c e5ce8ae524823bc 9f | 9918e684e2d36aa f4 | ------- ------- ------- +------ ------- ------- ------- ------- ------- ------- ----+
[root@limao-dev kuryr_libnetwork]# neutron net-show 5b231d26-
+------
| Field | Value |
+------
| admin_state_up | True |
| availability_
| availability_zones | nova |
| created_at | 2016-12-02T04:08:27 |
| description | |
| id | 5b231d26-
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1500 |
| name | provider-880 |
| port_security_
| provider:
| provider:
| provider:
| qos_policy_id | |
| router:external | False |
| shared | True |
| status | ACTIVE |
| subnets | 3ed277c0-
| tags | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.existing |
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| | kuryr.net.
| tenant_id | 0da303c4058e438
| updated_at | 2016-12-02T04:08:27 |
+------