Skip to content

Ansible ND 4.X | WIP | Resource Manager Module with Pydantic Models + Smart Endpoints #215

Open
jeetugangwar11 wants to merge 62 commits intoCiscoDevNet:developfrom
jeetugangwar11:resource_manager_0104026
Open

Ansible ND 4.X | WIP | Resource Manager Module with Pydantic Models + Smart Endpoints #215
jeetugangwar11 wants to merge 62 commits intoCiscoDevNet:developfrom
jeetugangwar11:resource_manager_0104026

Conversation

@jeetugangwar11
Copy link
Copy Markdown
Collaborator

Added resource manager module changes.

allenrobel and others added 30 commits March 9, 2026 09:45
…nherited from future class models. Modify class models for local_user.
…e.py based on comments. Add a get method and get_identifier_value function to NDBaseModel.
…tion of core design adding new methods which will be used in NDConfigCollection and NDNetworkResourceModule classes as well as basic error handling and simple docstrings.
…ign changing existing methods and adding new ones which will be used in NDNetworkResourceModule class as well as basic error handling and simple docstrings.
…of core design changing existing methods and adding new ones which will be used in future as a based for ND network resource modules as well as basic error handling and simple docstrings.
…s for orchestrating crud api operations with model instances and endpoints.
… built-in functionalities. Slightly modify models/base.py to enforce identifiers definitions in NDBaseModel subclasses. Added multiple notes to assert next steps.
…rt endpoints and Pydantic models modification (works for merge and replace states). Add comments for next steps.
…nts and changes to models/local_user.py and api_endpoints/base.py
…ons methods that work for single_identifier strategy (meant to be overridden if needed).
…or NDNestedModel. Add types.file. Various Renaming and small Modifications across the repo. WIP.
…i_endpoints. Adapt api_endpoints, models, orchestrators accordingly. Integration Tests passing for nd_local_user module. Still WIP.
…teration of (Mock Pydantic objects/methods) to pass sanity checks for Pydantic importation.
…NDStateMachineand add custom Exception for it in common/exceptions dir. Set json mode for to_diff_dict method in NDBaseModel.
@mikewiebe
Copy link
Copy Markdown
Collaborator

mikewiebe commented Apr 6, 2026

I see sanity test and formatting failures. Make sure to run the following commands locally and fix any issues

ansible-test sanity --docker -v --color --truncate 0

black --color -l 159 .

@jeetugangwar11
Copy link
Copy Markdown
Collaborator Author

I see sanity test and formatting failures. Make sure to run the following commands locally and fix any issues

ansible-test sanity --docker -v --color --truncate 0

black --color -l 159 .

Hi Mike, I have fix the issue.

@mtarking mtarking deleted the branch CiscoDevNet:develop April 9, 2026 15:41
@mtarking mtarking closed this Apr 9, 2026
@mtarking mtarking reopened this Apr 9, 2026
@mtarking mtarking changed the base branch from nd42_integration to develop April 9, 2026 15:43
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.

6 participants