ce_lacp – Manages Eth-Trunk interfaces on HUAWEI CloudEngine switches¶
state=absentremoves the Eth-Trunk config and interface if it already exists. If members to be removed are not explicitly passed, all existing members (if any), are removed, and Eth-Trunk removed.
- This module requires the netconf system service be enabled on the remote device being managed.
- Recommended connection is
- This module also works with
localconnections for legacy playbooks.
- name: Ensure Eth-Trunk100 is created, and set to mode lacp-static ce_lacp: trunk_id: 100 mode: 'lacp-static' state: present - name: Ensure Eth-Trunk100 is created, add two members, and set global priority to 1231 ce_lacp: trunk_id: 100 global_priority: 1231 state: present - name: Ensure Eth-Trunk100 is created, and set mode to Dynamic and configure other options ce_lacp: trunk_id: 100 mode: Dynamic preempt_enable: True, state_flapping: True, port_id_extension_enable: True, unexpected_mac_disable: True, timeout_type: Fast, fast_timeout: 123, mixed_rate_link_enable: True, preempt_delay: 23, collector_delay: 33, state: present
Common return values are documented here, the following are the fields unique to this module: