diff --git a/README.md b/README.md index 12f1e861..1813c0cc 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Name | Description [cisco.iosxr.iosxr_static_routes](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_static_routes_module.rst)|Resource module to configure static routes. [cisco.iosxr.iosxr_system](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_system_module.rst)|Module to manage the system attributes. [cisco.iosxr.iosxr_user](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_user_module.rst)|Module to manage the aggregates of local users. -[cisco.iosxr.iosxr_vrfs](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_vrfs_module.rst)|Manages global VRF configuration. +[cisco.iosxr.iosxr_vrf_global](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_vrf_global_module.rst)|Manages global VRF configuration. diff --git a/changelogs/fragments/add_vrf_global_module.yaml b/changelogs/fragments/add_vrf_global_module.yaml index 39ee5fa9..d94d96dd 100644 --- a/changelogs/fragments/add_vrf_global_module.yaml +++ b/changelogs/fragments/add_vrf_global_module.yaml @@ -1,4 +1,4 @@ --- minor_changes: -- Adds a new module `iosxr_vrf_global` to manage VRF global configurations on Cisco IOS-XR devices. -- https://github.com/ansible-collections/cisco.iosxr/pull/467 + - Adds a new module `iosxr_vrf_global` to manage VRF global configurations on Cisco IOS-XR devices. + - https://github.com/ansible-collections/cisco.iosxr/pull/467 diff --git a/plugins/module_utils/network/iosxr/argspec/vrf_global/vrf_global.py b/plugins/module_utils/network/iosxr/argspec/vrf_global/vrf_global.py index bb633d11..cf2ca462 100644 --- a/plugins/module_utils/network/iosxr/argspec/vrf_global/vrf_global.py +++ b/plugins/module_utils/network/iosxr/argspec/vrf_global/vrf_global.py @@ -5,6 +5,7 @@ from __future__ import absolute_import, division, print_function + __metaclass__ = type ############################################# @@ -29,8 +30,7 @@ class Vrf_globalArgs(object): # pylint: disable=R0903 - """The arg spec for the iosxr_vrf_global module - """ + """The arg spec for the iosxr_vrf_global module""" argument_spec = { "config": { diff --git a/plugins/module_utils/network/iosxr/facts/facts.py b/plugins/module_utils/network/iosxr/facts/facts.py index 5dcde2ed..47c13c0a 100644 --- a/plugins/module_utils/network/iosxr/facts/facts.py +++ b/plugins/module_utils/network/iosxr/facts/facts.py @@ -98,6 +98,7 @@ Vrf_globalFacts, ) + FACT_LEGACY_SUBSETS = dict( default=Default, hardware=Hardware, diff --git a/plugins/modules/iosxr_vrf_global.py b/plugins/modules/iosxr_vrf_global.py index 4f7ac59d..b1e9de1c 100644 --- a/plugins/modules/iosxr_vrf_global.py +++ b/plugins/modules/iosxr_vrf_global.py @@ -10,6 +10,7 @@ from __future__ import absolute_import, division, print_function + __metaclass__ = type DOCUMENTATION = """ @@ -704,6 +705,7 @@ """ from ansible.module_utils.basic import AnsibleModule + from ansible_collections.cisco.iosxr.plugins.module_utils.network.iosxr.argspec.vrf_global.vrf_global import ( Vrf_globalArgs, ) diff --git a/tests/integration/targets/iosxr_vrf_global/vars/main.yaml b/tests/integration/targets/iosxr_vrf_global/vars/main.yaml index 793a342b..6e7baf6c 100644 --- a/tests/integration/targets/iosxr_vrf_global/vars/main.yaml +++ b/tests/integration/targets/iosxr_vrf_global/vars/main.yaml @@ -175,4 +175,4 @@ parsed: remote_route_filtering: disable: true vpn: - id: "56" \ No newline at end of file + id: "56"