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
11 lines
522 B
YAML
11 lines
522 B
YAML
---
|
|
features:
|
|
- |
|
|
Support for configuring policy-based routing has been added. A new
|
|
top-level object "route_table" has been added, which allows the user to
|
|
add tables to the system route table at /etc/iproute2/rt_tables. Routes
|
|
have a new "table" property for specifying which table to apply the route.
|
|
Interfaces now have a "rules" property that allows the user to add
|
|
arbitrary rules for when the system should use a particular routing table,
|
|
such as input interface or source IP address.
|