Class: Ansible::Ruby::Modules::Openvswitch_bridge

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

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, #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



10
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_bridge.rb', line 10

attribute :bridge

#external_idsHash?

Returns A dictionary of external-ids. Omitting this parameter is a No-op. To clear all external-ids pass an empty value.

Returns:

  • (Hash, nil)

    A dictionary of external-ids. Omitting this parameter is a No-op. To clear all external-ids pass an empty value.



22
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_bridge.rb', line 22

attribute :external_ids

#fail_mode:secure, ...

Returns Set bridge fail-mode. The default value (None) is a No-op.

Returns:

  • (:secure, :standalone, nil)

    Set bridge fail-mode. The default value (None) is a No-op.



26
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_bridge.rb', line 26

attribute :fail_mode

#state:present, ...

Returns Whether the bridge should exist.

Returns:

  • (:present, :absent, nil)

    Whether the bridge should exist



14
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_bridge.rb', line 14

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



18
# File 'lib/ansible/ruby/modules/generated/extras/network/openvswitch_bridge.rb', line 18

attribute :timeout