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

Policy: Freeform (to be worked first) #67

Open
mikewiebe opened this issue Apr 19, 2024 · 6 comments · May be fixed by #202
Open

Policy: Freeform (to be worked first) #67

mikewiebe opened this issue Apr 19, 2024 · 6 comments · May be fixed by #202
Assignees
Labels

Comments

@mikewiebe
Copy link
Collaborator

mikewiebe commented Apr 19, 2024

Recursive processing and discovery of freeform directory under host_vars/[fabric_name]

@mikewiebe mikewiebe added the v2 label Apr 19, 2024
@mikewiebe
Copy link
Collaborator Author

mikewiebe commented Apr 19, 2024

Need the following work to complete this role

This task needs to make use of the dcnm_policy module to create the policy on NDFC

  • Update role: validate to discover freeform files under host_vars/[fabric_name]/freeform directory
  • Update role: common to build jinja2 templates that build dcnm_policy module payload
  • Update role: create create the policy using the description as the unique key for the policy
    • Determine the correct priority for the policy
    • Need to prefix the description with tag so we know it's managed by this collection
  • Update and/or verify role: deploy pushes the config to the device
  • Update role: remove to remove the policy from NDFC/Device when it gets removed from the data model

@mikewiebe mikewiebe changed the title Role: Validate Action Plugin for file discovery Policy: Freeform Apr 19, 2024
@juburnet juburnet changed the title Policy: Freeform Policy: Freeform (to be worked first) Apr 19, 2024
@juburnet
Copy link
Collaborator

Requires updates from @dsx1123 for dcnm_policy module for description.

@rafmuller rafmuller self-assigned this Apr 23, 2024
@juburnet
Copy link
Collaborator

juburnet commented May 2, 2024

Still pending CiscoDevNet/ansible-dcnm#285

@juburnet
Copy link
Collaborator

This was merged June 18th - mikewiebe merged commit 35e926b into CiscoDevNet:develop on Jun 18

@mtarking
Copy link
Collaborator

The initial policy framework was completed in #178.
Remove capabilities need to be completed still.

@juburnet
Copy link
Collaborator

juburnet commented Oct 3, 2024

Update role: remove to remove the policy from NDFC/Device when it gets removed from the data model

Query what NDFC has as state vs what we have in data model. Delete those in diff.
Matt will continue to implement and we will test.

@mtarking mtarking linked a pull request Oct 12, 2024 that will close this issue
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants