Class: Ansible::Ruby::Modules::Openvswitch_bridge
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Openvswitch_bridge
- Defined in:
- lib/ansible/ruby/modules/generated/network/ovs/openvswitch_bridge.rb
Overview
Manage Open vSwitch bridges
Instance Method Summary collapse
-
#bridge ⇒ String
Name of bridge or fake bridge to manage.
-
#external_ids ⇒ Hash?
A dictionary of external-ids.
-
#fail_mode ⇒ :secure, ...
Set bridge fail-mode.
-
#parent ⇒ String?
Bridge parent of the fake bridge to manage.
-
#set ⇒ Object?
Run set command after bridge configuration.
-
#state ⇒ :present, ...
Whether the bridge should exist.
-
#timeout ⇒ Integer?
How long to wait for ovs-vswitchd to respond.
-
#vlan ⇒ Integer?
The VLAN id of the fake bridge to manage (must be between 0 and 4095).
Methods inherited from Base
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
#bridge ⇒ String
Returns 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_ids ⇒ Hash?
Returns 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.
36 |
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_bridge.rb', line 36 attribute :fail_mode |
#parent ⇒ String?
Returns Bridge parent of the fake bridge to manage.
16 |
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_bridge.rb', line 16 attribute :parent |
#set ⇒ Object?
Returns 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.
24 |
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_bridge.rb', line 24 attribute :state |
#timeout ⇒ Integer?
Returns 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 |
#vlan ⇒ Integer?
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.
20 |
# File 'lib/ansible/ruby/modules/generated/network/ovs/openvswitch_bridge.rb', line 20 attribute :vlan |