]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support uncompressed ipv6 address and abbreviated ipv4 address
authorzhhuabj <zhhuabj@cn.ibm.com>
Thu, 17 Oct 2013 14:58:48 +0000 (22:58 +0800)
committerzhhuabj <zhhuabj@cn.ibm.com>
Wed, 23 Oct 2013 01:28:52 +0000 (09:28 +0800)
commitd1b783fd673448381445dce82e9160ba2f715a7c
treed30c4c4aafdade6952f5e7ac28914561a32e1318
parent7ce5368ee0ed541e98e83be33370c4193a5c4a2a
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
neutron/api/v2/attributes.py
neutron/tests/unit/test_attributes.py
neutron/tests/unit/test_extension_firewall.py