Merge "Add subnet host_routes to output of OS::TripleO::*::Ports::Port"

This commit is contained in:
Zuul 2018-07-09 11:24:33 +00:00 committed by Gerrit Code Review
commit 66872cc8d9
6 changed files with 24 additions and 1 deletions

View File

@ -70,3 +70,7 @@ outputs:
- - {get_attr: [VipPort, fixed_ips, 0, ip_address]}
- '/'
- {str_split: ['/', {get_attr: [VipPort, subnets, 0, cidr]}, 1]}
host_routes:
description: Host routes of the ports subnet
value:
get_attr: [VipPort, subnets, 0, host_routes]

View File

@ -61,3 +61,6 @@ outputs:
- - {get_param: ControlPlaneIP}
- '/'
- {get_param: ControlPlaneSubnetCidr}
host_routes: # Here for compatibility
description: Host routes of the ports subnet
value: []

View File

@ -91,4 +91,7 @@ outputs:
- - {get_attr: [{{network.name}}Port, fixed_ips, 0, ip_address]}
- '/'
- {str_split: ['/', {get_attr: [{{network.name}}Port, subnets, 0, cidr]}, 1]}
host_routes:
description: Host routes of the ports subnet
value:
get_attr: [{{network.name}}Port, subnets, 0, host_routes]

View File

@ -78,3 +78,7 @@ outputs:
- - {get_attr: [VipPort, fixed_ips, 0, ip_address]}
- '/'
- {str_split: ['/', {get_attr: [VipPort, subnets, 0, cidr]}, 1]}
host_routes:
description: Host routes of the ports subnet
value:
get_attr: [VipPort, subnets, 0, host_routes]

View File

@ -83,3 +83,7 @@ outputs:
- - {get_attr: [VipPort, fixed_ips, 0, ip_address]}
- '/'
- {str_split: ['/', {get_attr: [VipPort, subnets, 0, cidr]}, 1]}
host_routes:
description: Host routes of the ports subnet
value:
get_attr: [VipPort, subnets, 0, host_routes]

View File

@ -0,0 +1,5 @@
---
features:
- |
Adds ``host_routes`` of the ports neutron subnet to output of
``OS::TripleO::{{role.name}}::Ports::{{network.name}}Port`` resources.