Class: Ansible::Ruby::Modules::Openvswitch_port

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb

Overview

Manage Open vSwitch ports

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#bridgeString

Returns Name of bridge to manage.

Returns:

  • (String)

    Name of bridge to manage



12
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb', line 12

attribute :bridge

#external_idsObject?

Returns Dictionary of external_ids applied to a port.

Returns:

  • (Object, nil)

    Dictionary of external_ids applied to a port.



32
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb', line 32

attribute :external_ids

#portString

Returns Name of port to manage on the bridge.

Returns:

  • (String)

    Name of port to manage on the bridge



16
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb', line 16

attribute :port

#setString?

Returns Set a single property on a port.

Returns:

  • (String, nil)

    Set a single property on a port.



35
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb', line 35

attribute :set

#state:present, ...

Returns Whether the port should exist.

Returns:

  • (:present, :absent, nil)

    Whether the port should exist



24
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb', line 24

attribute :state

#tagInteger?

Returns VLAN tag for this port. Must be a value between 0 and 4095.

Returns:

  • (Integer, nil)

    VLAN tag for this port. Must be a value between 0 and 4095.



20
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb', line 20

attribute :tag

#timeoutInteger?

Returns How long to wait for ovs-vswitchd to respond.

Returns:

  • (Integer, nil)

    How long to wait for ovs-vswitchd to respond



28
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_port.rb', line 28

attribute :timeout