Skip to content
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

Add the ability to deploy POLICY-GROUP to switches #313

Open
maJarv-nwg opened this issue Aug 6, 2024 · 2 comments
Open

Add the ability to deploy POLICY-GROUP to switches #313

maJarv-nwg opened this issue Aug 6, 2024 · 2 comments

Comments

@maJarv-nwg
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Need the ability to deploy a single POLICY-GROUP to multiple devices and edit POLICY-GROUP membership

New or Affected modules(s):

  • dcnm_XXXXX

DCNM version

  • V x.x.x

Potential ansible task config

# Copy-paste your ansible playbook

References

Additional context
Add any other context or screenshots about the feature request here.

@mikewiebe
Copy link
Collaborator

@maJarv-nwg Thanks for opening this request. We are in discussions and evaluating approaches to this and will post back here soon.

@mikewiebe
Copy link
Collaborator

@maJarv-nwg we believe you can achieve the desired result using a new flag that we added to the dcnm_policy module.

https://github.com/CiscoDevNet/ansible-dcnm/blob/develop/plugins/modules/dcnm_policy.py#L47

The flag is called use_desc_as_key and when set to true will create a policy that can be tracked using the description to identify the unique policy. The policy tracked by the description name can be applied to multiple devices. Can you take a look?

We have not released it yet but it's currently committed in our develop branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants