community / community.general / 0.1.1 / module / ce_mdn_interface Manages MDN configuration on HUAWEI CloudEngine switches. Authors: xuxiaowei0512 (@CloudEngine-Ansible) preview | supported by communitycommunity.general.ce_mdn_interface (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Manages MDN configuration on HUAWEI CloudEngine switches.
- name: "Configure global LLDP enable state" ce_mdn_interface: lldpenable: enabled
- name: "Configure interface MDN enable state" ce_mdn_interface: ifname: 10GE1/0/1 mdnstatus: rxOnly
state: choices: - present - absent default: present description: - Manage the state of the resource. type: str ifname: description: - Interface name. type: str mdnstatus: choices: - rxOnly - disabled description: - Set interface MDN enable state. type: str lldpenable: choices: - enabled - disabled description: - Set global LLDP enable state. type: str
changed: description: check to see if a change was made on the device returned: always sample: true type: bool end_state: description: k/v pairs of global LLDP configration after module execution returned: always sample: ifname: 10GE1/0/1 lldpenable: enabled mdnstatus: rxOnly type: dict existing: description: k/v pairs of existing global LLDP configration returned: always sample: ifname: 10GE1/0/1 lldpenable: enabled mdnstatus: disabled type: dict proposed: description: k/v pairs of parameters passed into module returned: always sample: ifname: 10GE1/0/1 lldpenable: enabled mdnstatus: rxOnly state: present type: dict updates: description: command sent to the device returned: always sample: - interface 10ge 1/0/1 - lldp mdn enable type: list