openvswitch: move from docker exec to openvswitch_db
Change-Id: Ifee8af246312cad5b68ff1bf2793963bf7028dc8
This commit is contained in:
parent
e80b877d26
commit
8df6cf4814
@ -2,7 +2,16 @@
|
|||||||
# NOTE(mnasiadka): external_ids:system-id uniquely identifies a physical system, used by OVN and other controllers
|
# NOTE(mnasiadka): external_ids:system-id uniquely identifies a physical system, used by OVN and other controllers
|
||||||
- name: Set system-id
|
- name: Set system-id
|
||||||
become: true
|
become: true
|
||||||
command: docker exec openvswitch_vswitchd ovs-vsctl set Open_vSwitch . external_ids:system-id={{ openvswitch_system_id }}
|
kolla_toolbox:
|
||||||
|
user: root
|
||||||
|
module_name: openvswitch_db
|
||||||
|
module_args:
|
||||||
|
table: Open_vSwitch
|
||||||
|
record: .
|
||||||
|
col: external_ids
|
||||||
|
key: system-id
|
||||||
|
value: "{{ openvswitch_system_id }}"
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Ensuring OVS bridge is properly setup
|
- name: Ensuring OVS bridge is properly setup
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user