diff --git a/lib/ansible/modules/network/cloudengine/ce_lacp.py b/lib/ansible/modules/network/cloudengine/ce_lacp.py index d488233b81e..5c3f05d7ea2 100644 --- a/lib/ansible/modules/network/cloudengine/ce_lacp.py +++ b/lib/ansible/modules/network/cloudengine/ce_lacp.py @@ -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: diff --git a/lib/ansible/modules/network/cloudengine/ce_lldp.py b/lib/ansible/modules/network/cloudengine/ce_lldp.py index 4b5548ae70a..693f81d089e 100644 --- a/lib/ansible/modules/network/cloudengine/ce_lldp.py +++ b/lib/ansible/modules/network/cloudengine/ce_lldp.py @@ -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 = """ diff --git a/lib/ansible/modules/network/cloudengine/ce_lldp_interface.py b/lib/ansible/modules/network/cloudengine/ce_lldp_interface.py index 433862ec440..c816c754871 100644 --- a/lib/ansible/modules/network/cloudengine/ce_lldp_interface.py +++ b/lib/ansible/modules/network/cloudengine/ce_lldp_interface.py @@ -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: diff --git a/lib/ansible/modules/network/cloudengine/ce_static_route_bfd.py b/lib/ansible/modules/network/cloudengine/ce_static_route_bfd.py index eed59e8ca25..a3e6390c717 100644 --- a/lib/ansible/modules/network/cloudengine/ce_static_route_bfd.py +++ b/lib/ansible/modules/network/cloudengine/ce_static_route_bfd.py @@ -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: