Re-add support for nexthop_gateway in IPv6 configurations in Debian.
Ensure the translated nexthop_gateway boot parameter is applied to IPv6
network configurations.
These changes are applied to both the pre-ostree-pull network
configuration (via 'ip' command), and the /etc/network/interfaces.d
ifupdown interface configuration.
Test Plan
PASS:
- Test IPv6 install using only nexthop_gateway value
- With and without bootstrap_vlan
- Ensure that the default route is created, via the given nexthop_gateway
- Validate successful ostree repo pull
- Ensure that the default route is created via the
- /etc/network/interfaces.d upon reboot into the ostree repo
- Validate that communications are established to subcloud, ready
for ansible bootstrap
- Test IPv6 install using no nexthop_gateway value
- With and without bootstrap_vlan
- Verify that default route is created, with no gateway
- Test IPv4 install using only nexthop_gateway value
- With and without bootstrap_vlan
- Ensure that the default route is created, via the given nexthop_gateway
- Full install plus bootstrap, as above
- Tested in libvirt
- Test IPv4 install using no nexthop_gateway value
- With and without bootstrap_vlan
- Verify that default route is created, with no gateway
- Full install plus bootstrap, as above
- Tested in libvirt
Reviewed: https:/ /review. opendev. org/c/starlingx /metal/ +/880574 /opendev. org/starlingx/ metal/commit/ 8be0edb971eab9a 5241a1912726ca9 1812f4a75f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 8be0edb971eab9a 5241a1912726ca9 1812f4a75f
Author: Kyle MacLeod <email address hidden>
Date: Sun Apr 16 22:52:21 2023 -0400
Support nexthop_gateway in IPv6
Re-add support for nexthop_gateway in IPv6 configurations in Debian.
Ensure the translated nexthop_gateway boot parameter is applied to IPv6
network configurations.
These changes are applied to both the pre-ostree-pull network interfaces. d
configuration (via 'ip' command), and the /etc/network/
ifupdown interface configuration.
Test Plan
nexthop_ gateway interfaces. d upon reboot into the ostree repo
nexthop_ gateway
PASS:
- Test IPv6 install using only nexthop_gateway value
- With and without bootstrap_vlan
- Ensure that the default route is created, via the given
- Validate successful ostree repo pull
- Ensure that the default route is created via the
- /etc/network/
- Validate that communications are established to subcloud, ready
for ansible bootstrap
- Test IPv6 install using no nexthop_gateway value
- With and without bootstrap_vlan
- Verify that default route is created, with no gateway
- Test IPv4 install using only nexthop_gateway value
- With and without bootstrap_vlan
- Ensure that the default route is created, via the given
- Full install plus bootstrap, as above
- Tested in libvirt
- Test IPv4 install using no nexthop_gateway value
- With and without bootstrap_vlan
- Verify that default route is created, with no gateway
- Full install plus bootstrap, as above
- Tested in libvirt
Closes-Bug: 2017007
Signed-off-by: Kyle MacLeod <email address hidden> 7ad396a6a90e2f6 cec189cbaa8
Change-Id: Iee71f753983fa7
Signed-off-by: Kyle MacLeod <email address hidden>