diff options
author | Dan Sneddon <dsneddon@redhat.com> | 2016-01-17 13:04:40 -0800 |
---|---|---|
committer | Dan Sneddon <dsneddon@redhat.com> | 2016-03-11 10:24:42 -0800 |
commit | 3b4a27a3ccb861cf2899ea1fae6c1cc160b38fd7 (patch) | |
tree | afc7597421745e81465d5af03aa6aeabaac09b52 /os_net_config/impl_iproute.py | |
parent | 63659fe4a60dfb18bbc8cc835d6d1c4fe7317a60 (diff) |
Add ability to set IPv6 routes in os-net-config templates
This change adds the ability to write IPv6 routes to the system
NIC configuration. In the ifcfg provider, IPv6 routes must be
written to network-scripts/route6-<interface> rather than
route-interface. This patch checks the next hop, and if it is an
IPv6 address (assumed because of the presence of ":"), then the
route will be written to route6-<interface>. This patch includes
tests to confirm proper operation.
Change-Id: I3563800c774a6082a896c7508f5a92e25418fe63
Diffstat (limited to 'os_net_config/impl_iproute.py')
0 files changed, 0 insertions, 0 deletions