salt.states.openvswitch_port module

Management of Open vSwitch ports.

salt.states.openvswitch_port.absent(name, bridge=None)

Ensures that the named port exists on bridge, eventually deletes it. If bridge is not set, port is removed from whatever bridge contains it.

Args:
name: The name of the port. bridge: The name of the bridge.
salt.states.openvswitch_port.present(name, bridge, type=None, id=None, remote=None, dst_port=None)

Ensures that the named port exists on bridge, eventually creates it.

Args:
name: The name of the port. bridge: The name of the bridge. type: Optional type of interface to create, currently supports: vlan, vxlan and gre. id: Optional tunnel's key. remote: Remote endpoint's IP address. dst_port: Port to use when creating tunnelport in the switch.