Skip to content

Conversation

@vivekraj2000
Copy link
Collaborator

@vivekraj2000 vivekraj2000 commented Oct 22, 2025

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Description

Ansible playbooks and Jinja templates for EVPN L2VN configurations

Enhancement: Added Ansible playbooks and Jinja templates for EVPN L2VN configurations
Impact Area: Playbooks

Testing Done:

  • Manual testing
  • [] Unit tests
  • [] Integration tests

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • All the sanity checks have been completed and the sanity test cases have been executed

Ansible Best Practices

  • Tasks are idempotent (can be run multiple times without changing state)
  • Variables and secrets are handled securely (e.g., using ansible-vault or environment variables)
  • Playbooks are modular and reusable
  • Handlers are used for actions that need to run on change

Documentation

  • All options and parameters are documented clearly.
  • Examples are provided and tested.
  • Notes and limitations are clearly stated.

Screenshots (if applicable)

Notes to Reviewers

VidhyaGit and others added 17 commits September 23, 2025 15:17
Initial file to create fabric workflow
Initian device topology var file
Changed correct var file name
Create fabric_border_cli.j2
Create fabric_leaf_cli.j2
Create fabric_spine_cli.j2
Create l3vn_unicast_leaf_cli.j2
Create l3vn_unicast_border_cli.j2
Create l3vn_multicast_anycast_rp_leaf_cli.j2
Create l3vn_multicast_anycast_rp_border_cli.j2
Create l3vn_multicast_internal_rp_border_cli.j2
Create l3vn_multicast_internal_rp_leaf_cli.j2
Create l3vn_multicast_external_rp_border_cli.j2
Create l3vn_multicast_external_rp_leaf_cli.j2
Copy link
Collaborator

@VidhyaGit VidhyaGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong branch details. Will raise new PR.

@madhansansel
Copy link

madhansansel commented Oct 29, 2025

Can you check the sample template playbook to deploy the template by passing the params

- name: Deploy the given template to the devices based
    on site specific details and other filtering mode
  cisco.dnac.template_workflow_manager:
    dnac_host: "{{ dnac_host }}"
    dnac_port: "{{ dnac_port }}"
    dnac_username: "{{ dnac_username }}"
    dnac_password: "{{ dnac_password }}"
    dnac_verify: "{{ dnac_verify }}"
    dnac_version: "{{ dnac_version }}"
    dnac_debug: "{{ dnac_debug }}"
    dnac_log_level: "{{ dnac_log_level }}"
    dnac_log: true
    config_verify: true
    state: merged
    config:
      deploy_template:
        project_name: "Sample_Project"
        template_name: "Sample Template"
        force_push: true
        template_parameters:
          - param_name: "vlan_id"
            param_value: "1431"
          - param_name: "vlan_name"
            param_value: "testvlan31"
        site_provisioning_details:
          - site_name: "Global/Bangalore/Building14/Floor1"
            device_family: "Switches and Hubs"

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