add notes for 4 ce moudules docs. (#64929)

* add notes.

* duplication of key "notes" in mapping
This commit is contained in:
Xu Yuandong 2019-11-16 12:39:05 +08:00 committed by ansibot
parent 8ea9d0c06a
commit 889953a43e
4 changed files with 18 additions and 8 deletions

View file

@ -32,11 +32,11 @@ description:
- Manages Eth-Trunk specific configuration parameters on HUAWEI CloudEngine switches.
author: xuxiaowei0512 (@CloudEngine-Ansible)
notes:
- C(state=absent) removes 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.
- Members must be a list.
- C(state=absent) removes 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 C(netconf).
- This module also works with C(local) connections for legacy playbooks.
options:
trunk_id:
description:

View file

@ -23,6 +23,10 @@ description:
- Manages LLDP configuration on HUAWEI CloudEngine switches.
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:
lldpenable:
description:
@ -218,7 +222,7 @@ import copy
import re
from xml.etree import ElementTree
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 = """
<filter type="subtree">

View file

@ -32,6 +32,10 @@ short_description: Manages INTERFACE LLDP configuration on HUAWEI CloudEngine sw
description:
- Manages INTERFACE LLDP configuration on HUAWEI CloudEngine switches.
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:
lldpenable:
description:

View file

@ -31,9 +31,11 @@ description:
- Manages the static routes on HUAWEI CloudEngine switches.
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.
- If no vrf is supplied, vrf is set to default.
If I(state=absent), the route configuration will be removed, regardless of the
non-required parameters.
- If I(state=absent), the route configuration will be removed, regardless of the non-required parameters.
options:
prefix:
description: