Merge "Add host_routes to port_from_pool.j2"

This commit is contained in:
Zuul 2018-09-21 12:37:25 +00:00 committed by Gerrit Code Review
commit 3932355a8c
2 changed files with 11 additions and 0 deletions

View File

@ -78,4 +78,7 @@ outputs:
- - {get_param: [IPPool, {get_param: {{network.name}}NetName}, {get_param: NodeIndex}]}
- '/'
- {str_split: ['/', {get_param: {{network.name}}NetCidr}, 1]}
host_routes:
description: Host routes of the ports subnet
value: {{network.routes|default([])}}

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Fixes an issue in the legacy port_from_pool templates for predictable IP
addressing. Prior to this fix using these tamplates would fail with the
following error: **Referenced Attribute (%network_name%%Port host_routes)
is incorrect.** (Bug: `1792968
<https://bugs.launchpad.net/tripleo/+bug/1792968>`_.)