add notes for 4 ce moudules docs. (#64929)
* add notes. * duplication of key "notes" in mapping
This commit is contained in:
parent
8ea9d0c06a
commit
889953a43e
4 changed files with 18 additions and 8 deletions
|
@ -32,11 +32,11 @@ description:
|
||||||
- Manages Eth-Trunk specific configuration parameters on HUAWEI CloudEngine switches.
|
- Manages Eth-Trunk specific configuration parameters on HUAWEI CloudEngine switches.
|
||||||
author: xuxiaowei0512 (@CloudEngine-Ansible)
|
author: xuxiaowei0512 (@CloudEngine-Ansible)
|
||||||
notes:
|
notes:
|
||||||
- C(state=absent) removes the Eth-Trunk config and interface if it
|
- C(state=absent) removes the Eth-Trunk config and interface if it already exists. If members to be removed are not explicitly
|
||||||
already exists. If members to be removed are not explicitly
|
passed, all existing members (if any), are removed, and Eth-Trunk removed.
|
||||||
passed, all existing members (if any), are removed,
|
- This module requires the netconf system service be enabled on the remote device being managed.
|
||||||
and Eth-Trunk removed.
|
- Recommended connection is C(netconf).
|
||||||
- Members must be a list.
|
- This module also works with C(local) connections for legacy playbooks.
|
||||||
options:
|
options:
|
||||||
trunk_id:
|
trunk_id:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -23,6 +23,10 @@ description:
|
||||||
- Manages LLDP configuration on HUAWEI CloudEngine switches.
|
- Manages LLDP configuration on HUAWEI CloudEngine switches.
|
||||||
author:
|
author:
|
||||||
- xuxiaowei0512 (@CloudEngine-Ansible)
|
- xuxiaowei0512 (@CloudEngine-Ansible)
|
||||||
|
notes:
|
||||||
|
- This module requires the netconf system service be enabled on the remote device being managed.
|
||||||
|
- Recommended connection is C(netconf).
|
||||||
|
- This module also works with C(local) connections for legacy playbooks.
|
||||||
options:
|
options:
|
||||||
lldpenable:
|
lldpenable:
|
||||||
description:
|
description:
|
||||||
|
@ -218,7 +222,7 @@ import copy
|
||||||
import re
|
import re
|
||||||
from xml.etree import ElementTree
|
from xml.etree import ElementTree
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
from ansible.module_utils.network.cloudengine.ce import set_nc_config, get_nc_config, execute_nc_action
|
from ansible.module_utils.network.cloudengine.ce import set_nc_config, get_nc_config
|
||||||
|
|
||||||
CE_NC_GET_GLOBAL_LLDPENABLE_CONFIG = """
|
CE_NC_GET_GLOBAL_LLDPENABLE_CONFIG = """
|
||||||
<filter type="subtree">
|
<filter type="subtree">
|
||||||
|
|
|
@ -32,6 +32,10 @@ short_description: Manages INTERFACE LLDP configuration on HUAWEI CloudEngine sw
|
||||||
description:
|
description:
|
||||||
- Manages INTERFACE LLDP configuration on HUAWEI CloudEngine switches.
|
- Manages INTERFACE LLDP configuration on HUAWEI CloudEngine switches.
|
||||||
author: xuxiaowei0512 (@CloudEngine-Ansible)
|
author: xuxiaowei0512 (@CloudEngine-Ansible)
|
||||||
|
notes:
|
||||||
|
- This module requires the netconf system service be enabled on the remote device being managed.
|
||||||
|
- Recommended connection is C(netconf).
|
||||||
|
- This module also works with C(local) connections for legacy playbooks.
|
||||||
options:
|
options:
|
||||||
lldpenable:
|
lldpenable:
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -31,9 +31,11 @@ description:
|
||||||
- Manages the static routes on HUAWEI CloudEngine switches.
|
- Manages the static routes on HUAWEI CloudEngine switches.
|
||||||
author: xuxiaowei0512 (@CloudEngine-Ansible)
|
author: xuxiaowei0512 (@CloudEngine-Ansible)
|
||||||
notes:
|
notes:
|
||||||
|
- This module requires the netconf system service be enabled on the remote device being managed.
|
||||||
|
- Recommended connection is C(netconf).
|
||||||
|
- This module also works with C(local) connections for legacy playbooks.
|
||||||
- If no vrf is supplied, vrf is set to default.
|
- If no vrf is supplied, vrf is set to default.
|
||||||
If I(state=absent), the route configuration will be removed, regardless of the
|
- If I(state=absent), the route configuration will be removed, regardless of the non-required parameters.
|
||||||
non-required parameters.
|
|
||||||
options:
|
options:
|
||||||
prefix:
|
prefix:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue