Class: Ansible::Ruby::Modules::Vmware_dvswitch

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb

Overview

Create or remove a distributed vSwitch

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

#datacenter_nameString

Returns The name of the datacenter that will contain the dvSwitch.

Returns:

  • (String)

    The name of the datacenter that will contain the dvSwitch



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 12

attribute :datacenter_name

#discovery_operation:both, ...

Returns Select the discovery operation.

Returns:

  • (:both, :none, :advertise, :listen, nil)

    Select the discovery operation



36
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 36

attribute :discovery_operation

#discovery_proto:cdp, :lldp

Returns Link discovery protocol between Cisco and Link Layer discovery.

Returns:

  • (:cdp, :lldp)

    Link discovery protocol between Cisco and Link Layer discovery



32
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 32

attribute :discovery_proto

#mtuInteger

Returns The switch maximum transmission unit.

Returns:

  • (Integer)

    The switch maximum transmission unit



24
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 24

attribute :mtu

#state:present, ...

Returns Create or remove dvSwitch.

Returns:

  • (:present, :absent, nil)

    Create or remove dvSwitch



40
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 40

attribute :state

#switch_nameString

Returns The name of the switch to create or remove.

Returns:

  • (String)

    The name of the switch to create or remove



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 16

attribute :switch_name

#switch_versionString?

Returns The version of the switch to create. Can be 6.5.0, 6.0.0, 5.5.0, 5.1.0, 5.0.0 with a vcenter running vSphere 6.5,Needed if you have a vcenter version > ESXi version to join DVS. If not specified version=version of vcenter.

Returns:

  • (String, nil)

    The version of the switch to create. Can be 6.5.0, 6.0.0, 5.5.0, 5.1.0, 5.0.0 with a vcenter running vSphere 6.5,Needed if you have a vcenter version > ESXi version to join DVS. If not specified version=version of vcenter



20
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 20

attribute :switch_version

Returns Quantity of uplink per ESXi host added to the switch.

Returns:

  • (Integer)

    Quantity of uplink per ESXi host added to the switch



28
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvswitch.rb', line 28

attribute :uplink_quantity