Merge "Allow special purpose container interfaces"

This commit is contained in:
Zuul 2018-05-31 19:20:47 +00:00 committed by Gerrit Code Review
commit 9c234be15c
2 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,8 @@
---
features:
- If defined in applicable host or group vars the variable
``container_extra_networks`` will be merged with the existing
``container_networks`` from the dynamic inventory. This allows a deployer
to specify special interfaces which may be unique to an indivdual
container. An example use for this feature would be applying known
fixed IP addresses to public interfaces on BIND servers for designate.

View File

@ -14,6 +14,7 @@
# limitations under the License.
# A set of container networks used within the LXC containers. This information
# is sourced from the assumed "container_networks" and "lxc_container_networks"
# variables and combined into a single immutable hash.
lxc_container_networks_combined: "{{ container_networks | default({}) | combine(lxc_container_networks) }}"
# is sourced from the assumed "container_networks", "container_extra_networks"
# and "lxc_container_networks" variables and combined into a single
# immutable hash.
lxc_container_networks_combined: "{{ container_networks | default({}) | combine(container_extra_networks | default({})) | combine(lxc_container_networks) }}"