os-net-config/os_net_config
Dan Sneddon 35832347e1 Add Policy Based Routing Support to os-net-config
Add support for routing tables and rules, as well as a
property to specify a routing table for each route to
the impl_ifcfg implementation.

This change adds a new top-level object in the
network_config with type "route_table" to specify
which route table IDs and names should be added to
the /etc/iproute2/rt_table file.

This change adds a "table" property to routes for each
interface type, that allows the selection of which
routing table to apply the route to.

This change also adds a "rules" property to each
interface type, which can be used to specify a list
of rules. Each rule contains a rule string and an
optional comment, both of which will be added to the
/etc/sysconfig/network-scripts/rule-<iface> file.

This change includes tests and changes to the schema
for validation.

Note that this change was based on the abandoned patch
https://review.openstack.org/#/c/575712
and was recreated when that patch diverged too far
from master branch.

Change-Id: I6906d3b6923845af177faba6579fa255a2195bec
Closes-bug: #1783297
2019-01-24 09:57:25 -08:00
..
tests Add Policy Based Routing Support to os-net-config 2019-01-24 09:57:25 -08:00
__init__.py Add Policy Based Routing Support to os-net-config 2019-01-24 09:57:25 -08:00
cli.py Add Policy Based Routing Support to os-net-config 2019-01-24 09:57:25 -08:00
impl_eni.py Continue bringing up interfaces even if one fails 2017-05-30 20:17:21 +00:00
impl_ifcfg.py Add Policy Based Routing Support to os-net-config 2019-01-24 09:57:25 -08:00
impl_iproute.py Add copyrights to files. 2014-07-07 16:15:53 -04:00
objects.py Add Policy Based Routing Support to os-net-config 2019-01-24 09:57:25 -08:00
schema.yaml Add Policy Based Routing Support to os-net-config 2019-01-24 09:57:25 -08:00
sriov_config.py Adding VLAN support and other configs for sriov_vf 2018-07-10 01:19:04 -04:00
utils.py Merge "Sample templates for linux_bond, ovs_bond, dpdkbond using VFs" 2018-12-12 15:05:01 +00:00
validator.py Add schema-based config data validation 2017-07-12 22:57:34 +02:00
version.py Move versioning into version.py 2014-09-04 09:59:11 -04:00