ucs_lan_connectivity – Configures LAN Connectivity Policies on Cisco UCS Manager
ucs_lan_connectivity – Configures LAN Connectivity Policies on Cisco UCS Manager
New in version 2.5.
Synopsis
- Configures LAN Connectivity Policies on Cisco UCS Manager.
- Examples can be used with the UCS Platform Emulator https://communities.cisco.com/ucspe.
Requirements
The below requirements are needed on the host that executes this module.
- ucsmsdk
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
description - |
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).
| |
hostname string / required |
IP address or hostname of Cisco UCS Manager. | |
name - / required |
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. | |
org_dn - |
Default: "org-root" |
Org dn (distinguished name) |
password string / required |
Password for Cisco UCS Manager authentication. | |
port integer |
Port number to be used during connection (by default uses 443 for https and 80 for http connection). | |
proxy string |
If use_proxy is no, specfies proxy to be used for connection. e.g. 'http://proxy.xy.z:8080' | |
state - |
|
If If |
use_proxy boolean |
|
If |
use_ssl boolean |
|
If |
username string |
Default: "admin" |
Username for Cisco UCS Manager authentication. |
vnic_list - |
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] |
Examples
- name: Configure LAN Connectivity Policy
ucs_lan_connectivity:
hostname: 172.16.143.150
username: admin
password: password
name: Cntr-LAN-Boot
vnic_list:
- name: Fabric-A
vnic_template: vNIC-Template-A
adapter_policy: Linux
- name: Fabric-B
vnic_template: vNIC-Template-B
adapter_policy: Linux
- name: Remove LAN Connectivity Policy
ucs_lan_connectivity:
hostname: 172.16.143.150
username: admin
password: password
name: Cntr-LAN-Boot
state: absent
Status
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by an Ansible Partner. [certified]
Authors
- David Soper (@dsoper2)
- CiscoUcs (@CiscoUcs)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/ucs_lan_connectivity_module.html