Class: Ansible::Ruby::Modules::Bcf_switch
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Bcf_switch
- Defined in:
- lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb
Overview
Create and remove a Big Cloud Fabric switch.
Instance Method Summary collapse
-
#access_token ⇒ Object?
Big Cloud Fabric access token.
-
#controller ⇒ String
The controller IP address.
-
#fabric_role ⇒ :spine, :leaf
Fabric role of the switch.
-
#leaf_group ⇒ String?
The leaf group of the switch if the switch is a leaf.
-
#mac ⇒ String
The MAC address of the switch.
-
#name ⇒ String
The name of the switch.
-
#state ⇒ :present, ...
Whether the switch should be present or absent.
-
#validate_certs ⇒ Boolean?
If C(false), SSL certificates will not be validated.
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
#access_token ⇒ Object?
Returns Big Cloud Fabric access token. If this isn’t set then the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used.
40 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 40 attribute :access_token |
#controller ⇒ String
Returns The controller IP address.
32 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 32 attribute :controller |
#fabric_role ⇒ :spine, :leaf
Returns Fabric role of the switch.
16 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 16 attribute :fabric_role |
#leaf_group ⇒ String?
Returns The leaf group of the switch if the switch is a leaf.
20 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 20 attribute :leaf_group |
#mac ⇒ String
Returns The MAC address of the switch.
24 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 24 attribute :mac |
#name ⇒ String
Returns The name of the switch.
12 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Whether the switch should be present or absent.
28 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 28 attribute :state |
#validate_certs ⇒ Boolean?
Returns If C(false), SSL certificates will not be validated. This should only be used on personally controlled devices using self-signed certificates.
36 |
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 36 attribute :validate_certs |