Skip to content

Commit

Permalink
Merge branch 'main' into nxos_vrf_interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruchip16 authored Dec 11, 2024
2 parents 1e56f2c + ba67c22 commit e9f69e0
Show file tree
Hide file tree
Showing 31 changed files with 4,852 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ Name | Description
[cisco.nxos.nxos_vpc](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_vpc_module.rst)|Manages global VPC configuration
[cisco.nxos.nxos_vpc_interface](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_vpc_interface_module.rst)|Manages interface VPC configuration
[cisco.nxos.nxos_vrf](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_vrf_module.rst)|(deprecated, removed after 2026-07-25) Manages global VRF configuration.
[cisco.nxos.nxos_vrf_address_family](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_vrf_address_family_module.rst)|Resource module to configure VRF address family definitions.
[cisco.nxos.nxos_vrf_af](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_vrf_af_module.rst)|Manages VRF AF.
[cisco.nxos.nxos_vrf_global](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_vrf_global_module.rst)|Resource module to configure VRF definitions.
[cisco.nxos.nxos_vrf_interface](https://github.com/ansible-collections/cisco.nxos/blob/main/docs/cisco.nxos.nxos_vrf_interface_module.rst)|Manages interface specific VRF configuration.
Expand Down
3 changes: 3 additions & 0 deletions changelogs/fragments/vrf_address_fam.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- "Add support for VRF address family via `vrf_address_family` resource module."
1,421 changes: 1,421 additions & 0 deletions docs/cisco.nxos.nxos_vrf_address_family_module.rst

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,5 +205,7 @@ plugin_routing:
redirect: cisco.nxos.nxos_zone_zoneset
vrf_global:
redirect: cisco.nxos.nxos_vrf_global
vrf_address_family:
redirect: cisco.nxos.nxos_vrf_address_family
vrf_interfaces:
redirect: cisco.nxos.nxos_vrf_interfaces
1 change: 1 addition & 0 deletions plugins/action/vrf_address_family.py
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# -*- coding: utf-8 -*-
# Copyright 2024 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function


__metaclass__ = type

#############################################
# WARNING #
#############################################
#
# This file is auto generated by the
# ansible.content_builder.
#
# Manually editing this file is not advised.
#
# To update the argspec make the desired changes
# in the documentation in the module file and re-run
# ansible.content_builder commenting out
# the path to external 'docstring' in build.yaml.
#
##############################################

"""
The arg spec for the nxos_vrf_address_family module
"""


class Vrf_address_familyArgs(object): # pylint: disable=R0903
"""The arg spec for the nxos_vrf_address_family module"""

argument_spec = {
"config": {
"type": "list",
"elements": "dict",
"options": {
"name": {"type": "str", "required": True},
"address_families": {
"type": "list",
"elements": "dict",
"options": {
"afi": {"type": "str", "choices": ["ipv4", "ipv6"]},
"safi": {
"type": "str",
"choices": ["multicast", "unicast"],
},
"maximum": {
"type": "dict",
"options": {
"max_routes": {"type": "int"},
"max_route_options": {
"type": "dict",
"mutually_exclusive": [
["warning_only", "threshold"],
],
"options": {
"warning_only": {"type": "bool"},
"threshold": {
"type": "dict",
"options": {
"threshold_value": {"type": "int"},
"reinstall_threshold": {
"type": "int",
},
},
},
},
},
},
},
"route_target": {
"type": "list",
"elements": "dict",
"mutually_exclusive": [["import", "export"]],
"options": {
"import": {"type": "str"},
"export": {"type": "str"},
},
},
"export": {
"type": "list",
"elements": "dict",
"mutually_exclusive": [["map", "vrf"]],
"options": {
"map": {"type": "str"},
"vrf": {
"type": "dict",
"options": {
"max_prefix": {"type": "int"},
"map_import": {"type": "str"},
"allow_vpn": {"type": "bool"},
},
},
},
},
"import": {
"type": "list",
"elements": "dict",
"mutually_exclusive": [["map", "vrf"]],
"options": {
"map": {"type": "str"},
"vrf": {
"type": "dict",
"options": {
"max_prefix": {"type": "int"},
"map_import": {"type": "str"},
"advertise_vpn": {"type": "bool"},
},
},
},
},
},
},
},
},
"running_config": {"type": "str"},
"state": {
"choices": [
"parsed",
"gathered",
"deleted",
"purged",
"merged",
"replaced",
"rendered",
"overridden",
],
"default": "merged",
"type": "str",
},
} # pylint: disable=C0301
Empty file.
Loading

0 comments on commit e9f69e0

Please sign in to comment.