Subnet names could include a name instead of Ip address

Bug #1618699 reported by janonymous
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr-libnetwork
New
Undecided
janonymous

Bug Description

vagrant@devstack:~/devstack$ neutron net-list
+--------------------------------------+--------------------+----------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+--------------------+----------------------------------------------------------+
| 2d33d87c-ea5a-49b7-8d43-caf30436eeea | kuryr-net-9d89e570 | 8072f1f7-93c9-4ebb-a24d-84723e16b480 172.18.0.0/16 |
| 7b8f1784-0ddc-429b-9845-9d99ab1f2b99 | public | c3b6151f-146d-4b27-833d-e95ae41fc77b 172.24.4.0/24 |
| | | cdd5ef08-7311-4eac-bb86-8cac26b82bb2 2001:db8::/64 |
| 95f40b5e-4985-47d3-b500-49ca59329b20 | private | 2f592906-6563-4ffb-bda3-252d766cff72 fda5:6925:44da::/64 |
| | | 9daa15eb-864e-40fe-8a45-99df22b31b80 10.0.0.0/24 |
+--------------------------------------+--------------------+----------------------------------------------------------+
vagrant@devstack:~/devstack$ neutron net-show 2d33d87c-ea5a-49b7-8d43-caf30436eeea
+---------------------------+----------------------------------------------------+
| Field | Value |
+---------------------------+----------------------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | nova |
| created_at | 2016-08-31T05:11:08 |
| description | |
| id | 2d33d87c-ea5a-49b7-8d43-caf30436eeea |
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1450 |
| name | kuryr-net-9d89e570 |
| port_security_enabled | True |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 27 |
| revision | 2 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | 8072f1f7-93c9-4ebb-a24d-84723e16b480 |
| tags | kuryr.net.uuid.lh:9d89e57041535f68b641c516b2714fa5 |
| | kuryr.net.uuid.uh:abe447bf45888062e10db3af22d095a6 |
| tenant_id | 78da8bb1a7814edab9bce9712aab2afd |
| updated_at | 2016-08-31T05:11:08 |
+---------------------------+----------------------------------------------------+

**name** feild has an ip which could have a name as other subnets below:

vagrant@devstack:~/devstack$ neutron subnet-show 8072f1f7-93c9-4ebb-a24d-84723e16b480
+-------------------+--------------------------------------------------+
| Field | Value |
+-------------------+--------------------------------------------------+
| allocation_pools | {"start": "172.18.0.2", "end": "172.18.255.254"} |
| cidr | 172.18.0.0/16 |
| created_at | 2016-08-31T05:11:09 |
| description | |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 172.18.0.1 |
| host_routes | |
| id | 8072f1f7-93c9-4ebb-a24d-84723e16b480 |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | 172.18.0.0/16 |
| network_id | 2d33d87c-ea5a-49b7-8d43-caf30436eeea |
| revision | 2 |
| service_types | |
| subnetpool_id | |
| tenant_id | 78da8bb1a7814edab9bce9712aab2afd |
| updated_at | 2016-08-31T05:11:09 |
+-------------------+--------------------------------------------------+
vagrant@devstack:~/devstack$ neutron net-list
+--------------------------------------+--------------------+----------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+--------------------+----------------------------------------------------------+
| 2d33d87c-ea5a-49b7-8d43-caf30436eeea | kuryr-net-9d89e570 | 8072f1f7-93c9-4ebb-a24d-84723e16b480 172.18.0.0/16 |
| 7b8f1784-0ddc-429b-9845-9d99ab1f2b99 | public | c3b6151f-146d-4b27-833d-e95ae41fc77b 172.24.4.0/24 |
| | | cdd5ef08-7311-4eac-bb86-8cac26b82bb2 2001:db8::/64 |
| 95f40b5e-4985-47d3-b500-49ca59329b20 | private | 2f592906-6563-4ffb-bda3-252d766cff72 fda5:6925:44da::/64 |
| | | 9daa15eb-864e-40fe-8a45-99df22b31b80 10.0.0.0/24 |
+--------------------------------------+--------------------+----------------------------------------------------------+
vagrant@devstack:~/devstack$ neutron subnet-show c3b6151f-146d-4b27-833d-e95ae41fc77b
+-------------------+------------------------------------------------+
| Field | Value |
+-------------------+------------------------------------------------+
| allocation_pools | {"start": "172.24.4.2", "end": "172.24.4.254"} |
| cidr | 172.24.4.0/24 |
| created_at | 2016-08-31T05:01:00 |
| description | |
| dns_nameservers | |
| enable_dhcp | False |
| gateway_ip | 172.24.4.1 |
| host_routes | |
| id | c3b6151f-146d-4b27-833d-e95ae41fc77b |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | public-subnet |
| network_id | 7b8f1784-0ddc-429b-9845-9d99ab1f2b99 |
| revision | 2 |
| service_types | |
| subnetpool_id | |
| tenant_id | 78da8bb1a7814edab9bce9712aab2afd |
| updated_at | 2016-08-31T05:01:00 |
+-------------------+------------------------------------------------+

janonymous (janonymous)
Changed in kuryr-libnetwork:
assignee: nobody → janonymous (janonymous)
Revision history for this message
Antoni Segura Puimedon (celebdor) wrote :

I'd like that, however, there is no way I am aware of that allows you to get the name of the network from docker on the network creation command.

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.