Merge pull request #18 from w-miller/veth-up

Bring each end of veth pair up after creation
This commit is contained in:
Mark Goddard 2018-09-21 17:58:33 +01:00 committed by GitHub
commit 14e508588b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,13 @@
failed_when: res.rc not in [0, 2]
become: true
- name: Bring each end of veth up
command: ip link set {{ item }} up
loop:
- "{{ veth_pair_ovs_link_name }}"
- "{{ veth_pair_source_link_name }}"
become: true
- name: Plug veth into OVS bridge
openvswitch_port:
bridge: "{{ veth_pair_ovs_bridge }}"