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

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

Overview

Manage Open vSwitch bridges

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 or fake bridge to manage.

Returns:

  • (String)

    Name of bridge or fake bridge to manage



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

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.



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

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.



36
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_bridge.rb', line 36

attribute :fail_mode

#parentString?

Returns Bridge parent of the fake bridge to manage.

Returns:

  • (String, nil)

    Bridge parent of the fake bridge to manage



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

attribute :parent

#setObject?

Returns Run set command after bridge configuration. This parameter is non-idempotent, play will always return I(changed) state if present.

Returns:

  • (Object, nil)

    Run set command after bridge configuration. This parameter is non-idempotent, play will always return I(changed) state if present



40
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_bridge.rb', line 40

attribute :set

#state:present, ...

Returns Whether the bridge should exist.

Returns:

  • (:present, :absent, nil)

    Whether the bridge should exist



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

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



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

attribute :timeout

#vlanInteger?

Returns The VLAN id of the fake bridge to manage (must be between 0 and 4095). This parameter is required if I(parent) parameter is set.

Returns:

  • (Integer, nil)

    The VLAN id of the fake bridge to manage (must be between 0 and 4095). This parameter is required if I(parent) parameter is set.



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

attribute :vlan