Merge "Add test for container specific extra network interface"

This commit is contained in:
Zuul 2018-06-01 23:19:50 +00:00 committed by Gerrit Code Review
commit 0046ccb266
3 changed files with 24 additions and 0 deletions

View File

@ -12,3 +12,9 @@ container_networks:
address: "{{ ansible_host }}"
netmask: "255.255.255.0"
bridge: "br-mgmt"
container_extra_networks:
extra_address:
address: "172.29.254.103"
netmask: "255.255.255.0"
bridge: "br-extra"

View File

@ -15,6 +15,7 @@
bridges:
- "br-mgmt"
- "br-extra"
ansible_python_interpreter: "/usr/bin/python2"
@ -25,3 +26,10 @@ container_networks:
address: "172.29.236.100"
netmask: "255.255.255.0"
bridge: "br-mgmt"
container_extra_networks:
extra_address:
address: "172.29.254.100"
netmask: "255.255.255.0"
private_device: true
bridge: "br-extra"

View File

@ -39,3 +39,13 @@
with_items: "{{ groups['all_containers'] }}"
tags:
- skip_ansible_lint
- name: Test connectivity to container specific extra address
command: ping -c 1 172.29.254.100
register: machinectl_ping
retries: 3
delay: 5
until: machinectl_ping is success
delegate_to: container3
tags:
- skip_ansible_lint