community.network.ce_mdn_interface module – Manages MDN configuration on HUAWEI CloudEngine switches.
Note
This module is part of the community.network collection (version 5.1.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.ce_mdn_interface
.
Note
The community.network collection has been deprecated and will be removed from Ansible 12. See the discussion thread for more information.
New in community.network 0.2.0
DEPRECATED
- Removed in:
version 6.0.0
- Why:
This collection and all content in it is unmaintained and deprecated.
- Alternative:
Unknown.
Synopsis
Manages MDN configuration on HUAWEI CloudEngine switches.
Aliases: network.cloudengine.ce_mdn_interface
Parameters
Parameter |
Comments |
---|---|
Interface name. |
|
Set global LLDP enable state. Choices:
|
|
Set interface MDN enable state. Choices:
|
|
Manage the state of the resource. Choices:
|
Notes
Note
This module requires the netconf system service be enabled on the remote device being managed.
This module works with connection
netconf
.
Examples
- 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
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
check to see if a change was made on the device Returned: always Sample: |
|
k/v pairs of global LLDP configration after module execution Returned: always Sample: |
|
k/v pairs of existing global LLDP configration Returned: always Sample: |
|
k/v pairs of parameters passed into module Returned: always Sample: |
|
command sent to the device Returned: always Sample: |
Status
This module will be removed in version 6.0.0. [deprecated]
For more information see DEPRECATED.