Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Push UX2 - Create config group and feature profiles #138

Closed
5 tasks done
JimOverholt opened this issue Apr 25, 2024 · 1 comment
Closed
5 tasks done

Push UX2 - Create config group and feature profiles #138

JimOverholt opened this issue Apr 25, 2024 · 1 comment

Comments

@JimOverholt
Copy link
Contributor

Pull Request summary:

Created part of a Push Migration script.
It creates Config group and feature profiles to which we can attach parcels.

Description of changes:

How to run (for now):

with create_manager_session(
    url="exmaple.com",
    username="admin",
    password="pass",
    port=11011,
    logger=logger,
) as session:
    result = push_ux2_config(session, UX2Config(), logger)
    print(result)

Effect:
image
image

Added more fields to ConfigGroup Pydantic model, because the endpoint is returning more fields
Changed ConfigGroup GET endpoint to get all or get by id

Checklist:

  • Make sure to run pre-commit before committing changes
  • Make sure all checks have passed
  • PR description is clear and comprehensive
  • Mentioned the issue that this PR solves (if applicable)
  • Make sure you test the changes
@JimOverholt
Copy link
Contributor Author

This issue was migrated from an old repository: CiscoDevNet/catalystwan#492

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

No branches or pull requests

1 participant