Class: Ansible::Ruby::Modules::Ucs_lan_connectivity

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb

Overview

Configures LAN Connectivity Policies on Cisco UCS Manager. Examples can be used with the UCS Platform Emulator U(communities.cisco.com/ucspe).

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

#descriptionObject?

Returns A description of the LAN Connectivity Policy.,Cisco recommends including information about where and when to use the policy.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).

Returns:

  • (Object, nil)

    A description of the LAN Connectivity Policy.,Cisco recommends including information about where and when to use the policy.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).



21
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 21

attribute :description

#nameString

Returns The name of the LAN Connectivity Policy.,This name can be between 1 and 16 alphanumeric characters.,You cannot use spaces or any special characters other than - (hyphen), “_” (underscore), : (colon), and . (period).,You cannot change this name after the policy is created.

Returns:

  • (String)

    The name of the LAN Connectivity Policy.,This name can be between 1 and 16 alphanumeric characters.,You cannot use spaces or any special characters other than - (hyphen), “_” (underscore), : (colon), and . (period).,You cannot change this name after the policy is created.



17
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 17

attribute :name

#org_dnString?

Returns Org dn (distinguished name).

Returns:

  • (String, nil)

    Org dn (distinguished name)



28
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 28

attribute :org_dn

#state:present, ...

Returns If C(present), will verify LAN Connectivity Policies are present and will create if needed.,If C(absent), will verify LAN Connectivity Policies are absent and will delete if needed.

Returns:

  • (:present, :absent, nil)

    If C(present), will verify LAN Connectivity Policies are present and will create if needed.,If C(absent), will verify LAN Connectivity Policies are absent and will delete if needed.



13
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 13

attribute :state

#vnic_listArray<Hash>, ...

Returns List of vNICs used by the LAN Connectivity Policy.,vNICs used by the LAN Connectivity Policy must be created from a vNIC template.,Each list element has the following suboptions:,= name, The name of the vNIC (required).,= vnic_template, The name of the vNIC template (required).,- adapter_policy, The name of the Ethernet adapter policy., A user defined policy can be used, or one of the system defined policies.,- order, String specifying the vNIC assignment order (e.g., ‘1’, ‘2’)., [Default: unspecified].

Returns:

  • (Array<Hash>, Hash, nil)

    List of vNICs used by the LAN Connectivity Policy.,vNICs used by the LAN Connectivity Policy must be created from a vNIC template.,Each list element has the following suboptions:,= name, The name of the vNIC (required).,= vnic_template, The name of the vNIC template (required).,- adapter_policy, The name of the Ethernet adapter policy., A user defined policy can be used, or one of the system defined policies.,- order, String specifying the vNIC assignment order (e.g., ‘1’, ‘2’)., [Default: unspecified]



24
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 24

attribute :vnic_list