openvswitch.openvswitch.openvswitch_db – Configure open vswitch database.¶
Note
This plugin is part of the openvswitch.openvswitch collection (version 1.1.0).
To install it use: ansible-galaxy collection install openvswitch.openvswitch
.
To use it in a playbook, specify: openvswitch.openvswitch.openvswitch_db
.
New in version 1.0.0: of openvswitch.openvswitch
Requirements¶
The below requirements are needed on the host that executes this module.
ovs-vsctl >= 2.3.3
Parameters¶
Examples¶
# Increase the maximum idle time to 50 seconds before pruning unused kernel
# rules.
- openvswitch.openvswitch.openvswitch_db:
table: open_vswitch
record: .
col: other_config
key: max-idle
value: 50000
# Disable in band copy
- openvswitch.openvswitch.openvswitch_db:
table: Bridge
record: br-int
col: other_config
key: disable-in-band
value: true
# Remove in band key
- openvswitch.openvswitch.openvswitch_db:
state: present
table: Bridge
record: br-int
col: other_config
key: disable-in-band
# Mark port with tag 10
- openvswitch.openvswitch.openvswitch_db:
table: Port
record: port0
col: tag
value: 10
Authors¶
Mark Hamilton (@markleehamilton) <mhamilton@vmware.com>