Skip to content
Snippets Groups Projects
Commit 80632b39 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "openvswitch: move from docker exec to openvswitch_db"

parents 4ebdf547 8df6cf48
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,16 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment