Skip to content

Commit

Permalink
Fix inconsistent parameters import and module names
Browse files Browse the repository at this point in the history
-pep8
-pylint
-validate-modules
  • Loading branch information
bvargasre committed Jun 1, 2024
1 parent edd7f05 commit d771b44
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions plugins/action/sda_fabric_devices_layer2_handoffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
mutually_exclusive = []
required_together = []


class SdaFabricDevicesLayer2Handoffs(object):
def __init__(self, params, dnac):
self.dnac = dnac
Expand Down
1 change: 0 additions & 1 deletion plugins/action/sda_virtual_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
get_dict_result,
)
from ansible_collections.cisco.dnac.plugins.plugin_utils.exceptions import (
InconsistentParameters,
AnsibleSDAException,
)

Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/sda_anycast_gateways.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

DOCUMENTATION = r"""
---
module: sda_any_cast_gateways
module: sda_anycast_gateways
short_description: Resource module for Sda Anycastgateways
description:
- Manage operations create, update and delete of the resource Sda Anycastgateways.
Expand Down Expand Up @@ -117,7 +117,7 @@

EXAMPLES = r"""
- name: Update all
cisco.dnac.sda_any_cast_gateways:
cisco.dnac.sda_anycast_gateways:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

DOCUMENTATION = r"""
---
module: sda_fabric_devices_layer2_handoffs__sda_transits
module: sda_fabric_devices_layer2_handoffs_sda_transits
short_description: Resource module for Sda Fabricdevices Layer2handoffs Sdatransits
description:
- Manage operations create, update and delete of the resource Sda Fabricdevices Layer2handoffs Sdatransits.
Expand Down Expand Up @@ -90,7 +90,7 @@

EXAMPLES = r"""
- name: Update all
cisco.dnac.sda_fabric_devices_layer2_handoffs__sda_transits:
cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
Expand All @@ -109,7 +109,7 @@
transitNetworkId: string
- name: Delete all
cisco.dnac.sda_fabric_devices_layer2_handoffs__sda_transits:
cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
Expand All @@ -122,7 +122,7 @@
networkDeviceId: string
- name: Create
cisco.dnac.sda_fabric_devices_layer2_handoffs__sda_transits:
cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

DOCUMENTATION = r"""
---
module: sda_fabric_devices_layer2_handoffs__sda_transits_count_info
module: sda_fabric_devices_layer2_handoffs_sda_transits_count_info
short_description: Information module for Sda Fabricdevices Layer2handoffs Sdatransits Count
description:
- Get all Sda Fabricdevices Layer2handoffs Sdatransits Count.
Expand Down Expand Up @@ -45,7 +45,7 @@

EXAMPLES = r"""
- name: Get all Sda Fabricdevices Layer2handoffs Sdatransits Count
cisco.dnac.sda_fabric_devices_layer2_handoffs__sda_transits_count_info:
cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits_count_info:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

DOCUMENTATION = r"""
---
module: sda_fabric_devices_layer2_handoffs__sda_transits_info
module: sda_fabric_devices_layer2_handoffs_sda_transits_info
short_description: Information module for Sda Fabricdevices Layer2handoffs Sdatransits
description:
- Get all Sda Fabricdevices Layer2handoffs Sdatransits.
Expand Down Expand Up @@ -53,7 +53,7 @@

EXAMPLES = r"""
- name: Get all Sda Fabricdevices Layer2handoffs Sdatransits
cisco.dnac.sda_fabric_devices_layer2_handoffs__sda_transits_info:
cisco.dnac.sda_fabric_devices_layer2_handoffs_sda_transits_info:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
dnac_password: "{{dnac_password}}"
Expand Down

0 comments on commit d771b44

Please sign in to comment.