Class: Ansible::Ruby::Modules::Bcf_switch

Inherits:
Base show all
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

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

#access_tokenObject?

Returns Big Cloud Fabric access token. If this isn’t set then the environment variable C(BIGSWITCH_ACCESS_TOKEN) is used.

Returns:

  • (Object, nil)

    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

#controllerString

Returns The controller IP address.

Returns:

  • (String)

    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.

Returns:

  • (:spine, :leaf)

    Fabric role of the switch.



16
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 16

attribute :fabric_role

#leaf_groupString?

Returns The leaf group of the switch if the switch is a leaf.

Returns:

  • (String, nil)

    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

#macString

Returns The MAC address of the switch.

Returns:

  • (String)

    The MAC address of the switch.



24
# File 'lib/ansible/ruby/modules/generated/network/bigswitch/bcf_switch.rb', line 24

attribute :mac

#nameString

Returns The name of the switch.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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_certsBoolean?

Returns If C(false), SSL certificates will not be validated. This should only be used on personally controlled devices using self-signed certificates.

Returns:

  • (Boolean, nil)

    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