Merge pull request #18 from w-miller/veth-up
Bring each end of veth pair up after creation
This commit is contained in:
commit
14e508588b
@ -10,6 +10,13 @@
|
|||||||
failed_when: res.rc not in [0, 2]
|
failed_when: res.rc not in [0, 2]
|
||||||
become: true
|
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
|
- name: Plug veth into OVS bridge
|
||||||
openvswitch_port:
|
openvswitch_port:
|
||||||
bridge: "{{ veth_pair_ovs_bridge }}"
|
bridge: "{{ veth_pair_ovs_bridge }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user