Skip to content

Commit

Permalink
Fix validate-modules issues
Browse files Browse the repository at this point in the history
TODO: This is just placeholder documentation.  Need to modify and run a script to generate the actual documetation from the template.  But, this raises an issue... WHICH template?  If dcnm_fabric is supporting multiple fabric types, and they have different templates, which template do we use for the module documentation?
  • Loading branch information
allenrobel committed Apr 21, 2024
1 parent 1d90d65 commit 25c9935
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions plugins/modules/dcnm_fabric.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@
type: list
elements: dict
suboptions:
aaa_remote_ip_enabled:
AAA_REMOTE_IP_ENABLED:
description:
- Enable (True) or disable (False) AAA remote IP
- NDFC GUI label, Enable AAA IP Authorization
- NDFC GUI tab, Advanced
type: bool
required: false
default: False
advertise_pip_bgp:
ADVERTISE_PIP_BGP:
description:
- Enable (True) or disable (False) usage of Primary VTEP IP Advertisement As Next-Hop Of Prefix Routes
- NDFC GUI label, vPC advertise-pip
- NDFC GUI tab, VPC
type: bool
required: false
default: False
anycast_bgw_advertise_pip:
ANYCAST_BGW_ADVERTISE_PIP:
description:
- Enable (True) or disable (False) advertising Anycast Border Gateway PIP as VTEP.
- Effective after Recalculate Config on parent MSD fabric.
Expand All @@ -68,98 +68,97 @@
type: bool
required: false
default: False
anycast_gw_mac:
ANYCAST_GW_MAC:
description:
- Shared MAC address for all leafs (xx:xx:xx:xx:xx:xx, xxxx.xxxx.xxxx, etc)
- NDFC GUI label, Anycast Gateway MAC
- NDFC GUI tab, General Parameters
type: str
required: false
default: "2020.0000.00aa"
anycast_lb_id:
ANYCAST_LB_ID:
description:
- Underlay Anycast Loopback Id
- NDFC GUI label, Underlay Anycast Loopback Id
- NDFC GUI tab, Protocols
type: int
required: false
default: ""
anycast_rp_ip_range:
default: 10
ANYCAST_RP_IP_RANGE:
description:
- Anycast or Phantom RP IP Address Range
- NDFC GUI label, Underlay RP Loopback IP Range
- NDFC GUI tab, Resources
type: str
required: false
default: 10.254.254.0/24
auto_symmetric_default_vrf:
AUTO_SYMMETRIC_DEFAULT_VRF:
description:
- Enable (True) or disable (False) auto generation of Default VRF interface and BGP peering configuration on managed neighbor devices.
- If True, auto created VRF Lite IFC links will have 'Auto Deploy Default VRF for Peer' enabled.
- vrf_lite_autoconfig must be set to 1
- auto_symmetric_vrf_lite must be set to True
- auto_vrflite_ifc_default_vrf must be set to True
- AUTO_SYMMETRIC_VRF_LITE must be set to True
- AUTO_VRFLITE_IFC_DEFAULT_VRF must be set to True
- NDFC GUI label, Auto Deploy Default VRF for Peer
- NDFC GUI tab, Resources
type: bool
required: false
default: False
auto_symmetric_vrf_lite:
AUTO_SYMMETRIC_VRF_LITE:
description:
- Enable (True) or disable (False) auto generation of VRF LITE sub-interface and BGP peering configuration on managed neighbor devices.
- If True, auto created VRF Lite IFC links will have 'Auto Deploy for Peer' enabled.
- NDFC GUI label, Auto Deploy for Peer
- NDFC GUI tab, Resources
- vrf_lite_autoconfig must be set to 1
- VRF_LITE_AUTOCONFIG must be set to 1
type: bool
required: false
default: False
auto_vrflite_ifc_default_vrf:
AUTO_VRFLITE_IFC_DEFAULT_VRF:
description:
- Enable (True) or disable (False) auto generation of Default VRF interface and BGP peering configuration on VRF LITE IFC auto deployment.
- If True, auto created VRF Lite IFC links will have 'Auto Deploy Default VRF' enabled.
- NDFC GUI label, Auto Deploy Default VRF
- NDFC GUI tab, Resources
- vrf_lite_autoconfig must be set to 1
- VRF_LITE_AUTOCONFIG must be set to 1
type: bool
required: false
default: False
bgp_as:
BGP_AS:
description:
- The fabric BGP Autonomous System number
- NDFC GUI label, BGP ASN
- NDFC GUI tab, General Parameters
type: str
required: true
default_vrf_redis_bgp_rmap:
DEFAULT_VRF_REDIS_BGP_RMAP:
description:
- Route Map used to redistribute BGP routes to IGP in default vrf in auto created VRF Lite IFC links
- NDFC GUI label, Redistribute BGP Route-map Name
- NDFC GUI tab, Resources
type: str
required: false
fabric_name:
FABRIC_NAME:
description:
- The name of the fabric
type: str
required: true
fabric_type:
FABRIC_TYPE:
description:
- The type of fabric
type: str
required: true
default: "VXLAN_EVPN"
choices:
- "VXLAN_EVPN"
pm_enable:
PM_ENABLE:
description:
- Enable (True) or disable (False) fabric performance monitoring
- NDFC GUI label, Enable Performance Monitoring
- NDFC GUI tab, General Parameters
type: bool
required: false
default: False
replication_mode:
REPLICATION_MODE:
description:
- Replication Mode for BUM Traffic
- NDFC GUI label, Replication Mode
Expand All @@ -170,7 +169,7 @@
- Ingress
- Multicast
default: Multicast
vrf_lite_autoconfig:
VRF_LITE_AUTOCONFIG:
description:
- VRF Lite Inter-Fabric Connection Deployment Options.
- If (0), VRF Lite configuration is Manual.
Expand Down

0 comments on commit 25c9935

Please sign in to comment.