[R3.0-25]:UI- disabling gateway for IPv6 subnet, sets the gateway as 0.0.0.0

Bug #1575080 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
Low
Rahul
R3.0
Won't Fix
Low
Rahul
Trunk
Won't Fix
Low
Rahul

Bug Description

While VN creation through contrail UI if we add ipv6 subnet with gateway disabled, gateway IP is set in IPv4 format however it should be in IPv6 format.

please check the snapshot attached.

root@nodeg18:~# neutron subnet-show 1f4d40ab-108f-4dac-9fec-82f68fef3c5d
+-------------------+----------------------------------------------------+
| Field | Value |
+-------------------+----------------------------------------------------+
| allocation_pools | {"start": "9::1", "end": "9::ffff:ffff:ffff:fffe"} |
| cidr | 9::/64 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 0.0.0.0 |
| host_routes | |
| id | 1f4d40ab-108f-4dac-9fec-82f68fef3c5d |
| ip_version | 6 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | 1f4d40ab-108f-4dac-9fec-82f68fef3c5d |
| network_id | 85172b83-2d07-4033-8521-db7e316e3eb2 |
| tenant_id | 81f6025b7c75424d86a3de7baf4f8c3c |
+-------------------+----------------------------------------------------+

Tags: ui
Revision history for this message
alok kumar (kalok) wrote :
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
Rahul (rahuls) wrote :

Not sure if its a bug, Hari can comment. AFAIK 0.0.0.0 is used like a bool, it has nothing to do with ipv4 or ipv6

Revision history for this message
Hari Prasad Killi (haripk) wrote :

This should not cause any problem, as agent will see this as unspecified address and act accordingly. It is cosmetic - UI can decide on using :: or 0.0.0.0.

Revision history for this message
alok kumar (kalok) wrote :

It's more of a consistency issue, similar bug was there in neutron/api which is fixed now.
https://bugs.launchpad.net/juniperopenstack/+bug/1506822

Changed in juniperopenstack:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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