Skip to content

Conversation

ccoueffe
Copy link
Collaborator

Add support for the following template:

  • EXTRA_CONF_INTRA_LINKS
  • EXTRA_CONF_LEAF
  • EXTRA_CONF_SPINE
  • EXTRA_CONF_TOR
  • AAA_SERVER_CONF
  • BANNER
  • IBGP_PEER_TEMPLATE
  • IBGP_PEER_TEMPLATE_LEAF
  • BOOTSTRAP_CONF

Related Issue(s)

Related Collection Role

  • cisco.nac_dc_vxlan.validate
  • cisco.nac_dc_vxlan.dtc.create
  • cisco.nac_dc_vxlan.dtc.deploy
  • cisco.nac_dc_vxlan.dtc.remove
  • other

Related Data Model Element

  • vxlan.fabric
  • vxlan.global
  • vxlan.topology
  • vxlan.underlay
  • vxlan.overlay
  • vxlan.overlay_extensions
  • vxlan.policy
  • vxlan.multisite
  • defaults.vxlan
  • other

Proposed Changes

Add support for template at the fabric level:

  • EXTRA_CONF_INTRA_LINKS
  • EXTRA_CONF_LEAF
  • EXTRA_CONF_SPINE
  • EXTRA_CONF_TOR
  • AAA_SERVER_CONF
  • BANNER
  • IBGP_PEER_TEMPLATE
  • IBGP_PEER_TEMPLATE_LEAF
  • BOOTSTRAP_CONF

Test Notes

Data source example:

---
vxlan:
  underlay:
    general:
      # template peer must have two whitespace
      ibgp_rr_peer_template: |2
          template peer iBGP-Peer-Template
            bfd
            remote-as 65000.3
            password 3 9125d59c18a9b015
            update-source loopback0
            address-family l2vpn evpn
              send-community
              send-community extended
      ibgp_peer_template: |2
          template peer VTEP-Peer-Template
            bfd
            remote-as 65000.3
            password 3 9125d59c18a9b015
            update-source loopback0
            address-family l2vpn evpn
              send-community
              send-community extended
      intra_fabric_link: |
        no bfd echo
        bfd interval 250 min_rx 250 multiplier 3
        bfd authentication Keyed-SHA1 key-id 1 hex-key 636973636F
      leaf_freeform: |
        as-format asdot
        fabric forwarding dup-host-ip-addr-detection 50 180
        l2rib dup-host-mac-detection 50 180
      spine_freeform: |
        as-format asdot
      banner_freeform: |
        _
        ***************************************************************************
        *                       My Fabric                                        *
        ***************************************************************************
        _
      aaa_freeform: |
        feature tacacs+
        tacacs-server host 1.1.1.1 key 7 "fewhg" timeout 2
        tacacs-server host 1.1.1.2 key 7 "fewhg" timeout 2
        tacacs-server host 1.1.1.1 test idle-time 2
        tacacs-server host 1.1.1.2 test idle-time 2
        aaa group server tacacs+ TACACS-GRP
            server 1.1.1.1
            server 1.1.1.2
            deadtime 1
            use-vrf management
            source-interface mgmt0
        aaa authentication login default group TACACS-GRP local
        aaa authentication login console local
        aaa authorization config-commands default group TACACS-GRP local
        aaa authorization commands default group TACACS-GRP local
        aaa accounting default group TACACS-GRP
        login on-success log

Cisco NDFC Version

Checklist

  • Latest commit is rebased from develop with merge conflicts resolved
  • New or updates to documentation has been made accordingly
  • Assigned the proper reviewers

…vel:

* EXTRA_CONF_INTRA_LINKS
* EXTRA_CONF_LEAF
* EXTRA_CONF_SPINE
* EXTRA_CONF_TOR
* AAA_SERVER_CONF
* BANNER
* IBGP_PEER_TEMPLATE
* IBGP_PEER_TEMPLATE_LEAF
* BOOTSTRAP_CONF
@ccoueffe ccoueffe self-assigned this Jun 11, 2025
@ccoueffe ccoueffe added the 0.4.3 Release 0.4.3 label Jun 11, 2025
@ccoueffe ccoueffe marked this pull request as ready for review June 18, 2025 18:41
@ccoueffe ccoueffe requested a review from a team as a code owner June 18, 2025 18:41
@ccoueffe ccoueffe added the ready for review PR Ready for Review label Jun 18, 2025
@ccoueffe ccoueffe requested a review from mikewiebe June 18, 2025 20:52
@juburnet
Copy link
Collaborator

After discussion with the team, the preference is to use "Policy" instead of this for Fabric items.

Still need to address:
intra_fabric_link: |
no bfd echo
bfd interval 250 min_rx 250 multiplier 3
bfd authentication Keyed-SHA1 key-id 1 hex-key 636973636F

@mikewiebe @peter8498 @ccoueffe please add any additional comments.

@juburnet juburnet removed the 0.4.3 Release 0.4.3 label Jun 27, 2025
@mtarking mtarking removed the ready for review PR Ready for Review label Jul 11, 2025
@mtarking mtarking marked this pull request as draft July 11, 2025 14:09
@ccoueffe ccoueffe marked this pull request as ready for review July 12, 2025 07:29
@ccoueffe ccoueffe marked this pull request as draft July 12, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants