Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 4, 2024
1 parent 2869441 commit 0214cd2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<!--end collection content-->

Expand Down
4 changes: 2 additions & 2 deletions changelogs/fragments/add_vrf_global_module.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from __future__ import absolute_import, division, print_function


__metaclass__ = type

#############################################
Expand All @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions plugins/module_utils/network/iosxr/facts/facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
Vrf_globalFacts,
)


FACT_LEGACY_SUBSETS = dict(
default=Default,
hardware=Hardware,
Expand Down
2 changes: 2 additions & 0 deletions plugins/modules/iosxr_vrf_global.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

from __future__ import absolute_import, division, print_function


__metaclass__ = type

DOCUMENTATION = """
Expand Down Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/iosxr_vrf_global/vars/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ parsed:
remote_route_filtering:
disable: true
vpn:
id: "56"
id: "56"

0 comments on commit 0214cd2

Please sign in to comment.