Class: Ansible::Ruby::Modules::Ucs_lan_connectivity
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ucs_lan_connectivity
- 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
-
#description ⇒ Object?
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).
-
#name ⇒ 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 .
-
#org_dn ⇒ String?
Org dn (distinguished name).
-
#state ⇒ :present, ...
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.
-
#vnic_list ⇒ Array<Hash>, ...
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].
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
#description ⇒ Object?
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).
21 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 21 attribute :description |
#name ⇒ String
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.
17 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 17 attribute :name |
#org_dn ⇒ String?
Returns 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.
13 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 13 attribute :state |
#vnic_list ⇒ Array<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].
24 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_lan_connectivity.rb', line 24 attribute :vnic_list |