ce9a83c8cd
For networks in role.default_route_networks use get_attr to fetch the gateway_ip of the port's subnet and pass it to the nic-config template. Changes the default in nic-config templates to ''. Closes-Bug: #1821046 Change-Id: Ic07a3166fafba3aa307a9e1953b3e3be2594a6f5
10 lines
440 B
YAML
10 lines
440 B
YAML
---
|
|
features:
|
|
- |
|
|
The *get_attr* function is now used to read the ``gateway_ip`` of a ports
|
|
subnet. The gateway_ip value is passed to nic config templates using the
|
|
``%network%InterfaceDefaultRoute`` parameter. (This parameter is only used
|
|
if the network is present in the roles ``default_route_networks``.) Using
|
|
*get_attr* ensures that the correct gateway ip address is used when
|
|
networks have multiple subnets.
|