Allow using ipv6 address with omiting zero

Bug #1240790 reported by Hua Zhang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Hua Zhang
Havana
Fix Released
Low
Hua Zhang

Bug Description

Now neutron support ipv6 address like 2001:db8::10:10:10:0/120,
but don't support ipv6 address with omiting zero like 2001:db8:0:0:10:10:10:0/120
that will cause the exception "'2001:db8:0:0:10:10:10:0/120' isn't a recognized IP subnet cidr, '2001:db8::10:10:10:0/120' is recommended"

Tags: ipv6
Hua Zhang (zhhuabj)
Changed in neutron:
assignee: nobody → Hua Zhang (zhhuabj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/52408
Committed: http://github.com/openstack/neutron/commit/d1b783fd673448381445dce82e9160ba2f715a7c
Submitter: Jenkins
Branch: master

commit d1b783fd673448381445dce82e9160ba2f715a7c
Author: zhhuabj <email address hidden>
Date: Thu Oct 17 22:58:48 2013 +0800

    Support uncompressed ipv6 address and abbreviated ipv4 address

    Now neutron supports zero-compressed ipv6 address like
    '2001:db8::10:10:10:0/120' and unabbreviated ipv4 address
    like '10.0.0.0/24'.
    This path will make neutron also support uncompressed ipv6
    address and abbreviated ipv4 address. for example:
    1, uncompressed ipv6 address like 'fe80:0:0:0:0:0:0:0/128'
    2, ipv6 address with multiple consecutive zero like
       '2001:0db8:0:0:1::1/128' or '2001::0:1:0:0:1100/120'
    3, abbreviated ipv4 address like '10/24'

    Change-Id: I755e38ea11c139e15488ec60e7d5682a244ab114
    Closes-Bug: #1240790

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → icehouse-1
importance: Undecided → Low
tags: added: ipv6
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/58771

Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Akihiro Motoki (amotoki)
tags: added: havana-backport-potential
Alan Pevec (apevec)
tags: removed: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/havana)

Reviewed: https://review.openstack.org/58771
Committed: http://github.com/openstack/neutron/commit/0bf98acb0c1d59bbb3d19acf9f38f6e5d47c44b4
Submitter: Jenkins
Branch: stable/havana

commit 0bf98acb0c1d59bbb3d19acf9f38f6e5d47c44b4
Author: zhhuabj <email address hidden>
Date: Thu Oct 17 22:58:48 2013 +0800

    Support uncompressed ipv6 address and abbreviated ipv4 address

    Now neutron supports zero-compressed ipv6 address like
    '2001:db8::10:10:10:0/120' and unabbreviated ipv4 address
    like '10.0.0.0/24'.
    This path will make neutron also support uncompressed ipv6
    address and abbreviated ipv4 address. for example:
    1, uncompressed ipv6 address like 'fe80:0:0:0:0:0:0:0/128'
    2, ipv6 address with multiple consecutive zero like
       '2001:0db8:0:0:1::1/128' or '2001::0:1:0:0:1100/120'
    3, abbreviated ipv4 address like '10/24'

    Change-Id: I755e38ea11c139e15488ec60e7d5682a244ab114
    Closes-Bug: #1240790
    (cherry picked from commit d1b783fd673448381445dce82e9160ba2f715a7c)

Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-1 → 2014.1
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.