[openstack-dev] [Neutron] [IPv6] Ubuntu PPA with IPv6 enabled, need help to achieve it

Martinx - ジェームズ thiagocmartinsc at gmail.com
Wed Apr 2 15:13:32 UTC 2014


Awesome guys! I'll do it!

I have the "neutron-ipv6.patch" that came from the output of "git
format-patch -1 --stdout FETCH_HEAD" but, it did not got applied
successfully against "neutron-2014.1.rc1", look:

---
builder at neutron-dev-1:~/neutron/neutron-2014.1.rc1$ patch -p1 <
../ipv6-bits/neutron-shixiong/neutron-ipv6.patch
patching file neutron/agent/l3_agent.py
Hunk #1 succeeded at 696 (offset 31 lines).
Hunk #2 succeeded at 722 (offset 31 lines).
patching file neutron/agent/linux/dhcp.py
Hunk #2 FAILED at 334.
Hunk #3 FAILED at 419.
Hunk #4 succeeded at 534 with fuzz 2 (offset 56 lines).
Hunk #5 succeeded at 548 (offset 56 lines).
Hunk #6 succeeded at 664 (offset 56 lines).
2 out of 6 hunks FAILED -- saving rejects to file
neutron/agent/linux/dhcp.py.rej
patching file neutron/common/constants.py
Hunk #1 succeeded at 113 (offset 1 line).
patching file neutron/tests/unit/test_dhcp_agent.py
Hunk #2 succeeded at 221 (offset 4 lines).
Hunk #3 succeeded at 260 (offset 4 lines).
patching file neutron/tests/unit/test_l3_agent.py
Hunk #1 succeeded at 145 (offset -1 lines).
patching file neutron/tests/unit/test_linux_dhcp.py
Hunk #6 succeeded at 578 (offset -1 lines).
Hunk #7 succeeded at 595 (offset -1 lines).
Hunk #8 succeeded at 666 (offset -1 lines).
Hunk #9 FAILED at 740.
Hunk #13 FAILED at 1068.
Hunk #14 FAILED at 1085.
Hunk #15 FAILED at 1110.
Hunk #16 FAILED at 1117.
Hunk #17 succeeded at 1101 with fuzz 1 (offset -34 lines).
Hunk #18 FAILED at 1162.
6 out of 18 hunks FAILED -- saving rejects to file
neutron/tests/unit/test_linux_dhcp.py.rej
---

It failed and I'm not a coder but, I think I can work on this (it might
take days) to build Neutron IPv6 Ubuntu packages for us... Nevertheless, if
someone (Shixiong ?  :-D ) can update it (to be applied on top of
neutron-2014.1.rc1), I think I'll be able to publish the packages on PPA on
the next day!

-

The CLI command may look like, for example, something below:

---
neutron subnet-create --ip-version 6 --ipv6_ra_mode off --ipv6_address_mode
off NETWORK CIDR
neutron subnet-create --ip-version 6 --ipv6_ra_mode off --ipv6_address_mode
dhcpv6-stateful NETWORK CIDR
neutron subnet-create --ip-version 6 --ipv6_ra_mode slaac
--ipv6_address_mode slaac NETWORK CIDR
neutron subnet-create --ip-version 6 --ipv6_ra_mode dhcpv6-stateful
--ipv6_address_mode off NETWORK CIDR
neutron subnet-create --ip-version 6 --ipv6_ra_mode dhcpv6-stateless
--ipv6_address_mode dhcpv6-stateless NETWORK CIDR
---

References:

neutron-ipv6.patch: http://paste.openstack.org/show/74857/

http://lists.openstack.org/pipermail/openstack-dev/2014-February/026589.html
http://lists.openstack.org/pipermail/openstack-dev/2014-February/026809.html


Cheers!
Thiago


On 2 April 2014 08:44, Sebastian Herzberg <sebastian.herzberg at gmail.com>wrote:

> Hi,
>
> from my side there is definite interest in this, as the changes didn't
> make it yet.
>
> Thanks
> Sebastian
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140402/cd90c8a8/attachment.html>


More information about the OpenStack-dev mailing list