Skip to content

Add the ability to use port profiles #332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
peter8498 opened this issue Apr 2, 2025 · 0 comments
Open

Add the ability to use port profiles #332

peter8498 opened this issue Apr 2, 2025 · 0 comments

Comments

@peter8498
Copy link
Collaborator

Which role would this new feature be associated?

cisco.nac_dc_vxlan.dtc.create

New feature description:

Add the ability to create port profiles in the data model that can then be used to define a standard port on a switch with a consistent config that we don't need to define repetativly. For example:
vxlan:
  topology:
    port_profiles:
      unused_port:
        mode: trunk
        description: UNUSED_PORT
        enabled: false
      host_access:
        mode: access
        spanning_tree_portfast: true
        enable_bpdu_guard: true
        description: STANDARD ACCESS PORT
        enabled: true
...
    switches:
      - name: <MY_SWITCH>
        interfaces:
          - name: ethernet1/1
            port_profile: unused_port
          - name: ethernet1/2
            port_profile: unused_port
          - name: ethernet1/3
            port_profile: host_access

Would this be a new feature requiring a new role?

No, can be added to the create role

Which section of the data model is the new feature related?

vxlan.topology

Would this be a new feature requiring a new addition to the data model?

Yes, need to add port profiles to the data model

New or Affected Documentation for New Feature

New tests and data model updates

Potential Ansible Task Config

Probably can be done when building the extended data model in the python code, to copy the port profile settings into the interface section. No ansible changes would be needed then.

Ansible Version

2.17

Ansible Collection Versions

cisco.dcnm                               4.0

Cisco NDFC Version

12.2.2

Cisco NX-OS Version

na
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

No branches or pull requests

1 participant