community / community.network / 5.0.2 / module / ce_mdn_interface Manages MDN configuration on HUAWEI CloudEngine switches. | "added in version" 0.2.0 of community.network" Authors: xuxiaowei0512 (@CloudEngine-Ansible)community.network.ce_mdn_interface (5.0.2) — module
Install with ansible-galaxy collection install community.network:==5.0.2
collections: - name: community.network version: 5.0.2
Manages MDN configuration on HUAWEI CloudEngine switches.
- name: "Configure global LLDP enable state" community.network.ce_mdn_interface: lldpenable: enabled
- name: "Configure interface MDN enable state" community.network.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