Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ovn: don't explicitly set vlan-limit=0 #425

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions roles/edpm_ovn/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,4 @@ edpm_ovn_ovs_external_ids:
rundir: "/var/run/openvswitch"

# Set openvswitch other_config.
edpm_ovn_ovs_other_config:
vlan-limit: 0
edpm_ovn_ovs_other_config: {}
booxter marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 1 addition & 2 deletions roles/edpm_ovn/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ argument_specs:
description: Sets external_id data from provided variables using Jinja templating
type: dict
edpm_ovn_ovs_other_config:
default:
vlan-limit: 0
default: {}
description: Openvswitch other_config
type: dict
edpm_ovn_protocol:
Expand Down
2 changes: 2 additions & 0 deletions roles/edpm_ovn/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@
register: ovs_external_ids
changed_when: ovs_external_ids.rc == 0
failed_when: ovs_external_ids.rc != 0
when: edpm_ovn_ovs_external_ids | length > 0

- name: Configure OVS other_config
ansible.builtin.shell: >
ovs-vsctl set open . {% for key, value in edpm_ovn_ovs_other_config.items() %} other_config:{{ key }}={{ value }} {% endfor %}
register: ovs_other_config
changed_when: ovs_other_config.rc == 0
failed_when: ovs_other_config.rc != 0
when: edpm_ovn_ovs_other_config | length > 0

- name: Add OVS Manager
block:
Expand Down