New in version 2.1.
Deprecated in 2.3. Use nclu instead.
parameter | required | default | choices | comments |
---|---|---|---|---|
speed_10g | no | List of ports to run initial run at 10G. | ||
speed_40g | no | List of ports to run initial run at 40G. | ||
speed_40g_div_4 | no | List of 10G ports that will be ganged to form a 40G port. | ||
speed_4_by_10g | no | List of 40G ports that will be unganged to run as 4 10G ports. |
# Use cl_ports module to manage the switch attributes defined in the # ports.conf file on Cumulus Linux ## Unganged port configuration on certain ports - name: configure ports.conf setup cl_ports: speed_4_by_10g: - swp1 - swp32 speed_40g: - swp2-31 ## Unganged port configuration on certain ports - name: configure ports.conf setup cl_ports: speed_4_by_10g: - swp1-3 - swp6 speed_40g: - swp4-5 - swp7-32
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
msg | human-readable report of success or failure | always | string | interface bond0 config updated |
changed | whether the interface was changed | changed | bool | True |
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/cl_ports_module.html