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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/network/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, #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



11
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_port.rb', line 11

attribute :bridge

#external_idsObject?

Returns Dictionary of external_ids applied to a port.

Returns:

  • (Object, nil)

    Dictionary of external_ids applied to a port.



27
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_port.rb', line 27

attribute :external_ids

#portString

Returns Name of port to manage on the bridge.

Returns:

  • (String)

    Name of port to manage on the bridge



15
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_port.rb', line 15

attribute :port

#setString?

Returns Set a single property on a port.

Returns:

  • (String, nil)

    Set a single property on a port.



30
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_port.rb', line 30

attribute :set

#state:present, ...

Returns Whether the port should exist.

Returns:

  • (:present, :absent, nil)

    Whether the port should exist



19
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_port.rb', line 19

attribute :state

#timeoutInteger?

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

Returns:

  • (Integer, nil)

    How long to wait for ovs-vswitchd to respond



23
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_port.rb', line 23

attribute :timeout