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
Closes-Bug: 2017007
Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
Change-Id: Iee71f753983fa77ad396a6a90e2f6cec189cbaa8
Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>