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

creating new radius and tacacs data classes #815

Merged
merged 13 commits into from
Sep 6, 2024
Merged

creating new radius and tacacs data classes #815

merged 13 commits into from
Sep 6, 2024

Conversation

nikhilkp93
Copy link
Collaborator

@nikhilkp93 nikhilkp93 commented Sep 5, 2024

Pull Request summary:

creating new radius and tacacs data classes.
We would need couple of new options based on whether user wants to select vpn directly or if they want to select source VPN along with VXLAN tunnel.

Description of changes:

  • When we use direct VPN0/VPN512, and use vpn,vpn subnet ip, it will fail. it only needs source vpn, which is not there.

  • On the other hand, when we use VPN 512 via VXLAN, then sourcevpn, vpn, vpn subnet ip are requited. Which is also not there.

  • Hence we need new data classes

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

Copy link
Collaborator

@renukavinay renukavinay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a subclass for this new fields instead of changing properties

catalystwan/dataclasses.py Outdated Show resolved Hide resolved
catalystwan/dataclasses.py Outdated Show resolved Hide resolved
catalystwan/dataclasses.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@renukavinay renukavinay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nikhilkp93 nikhilkp93 requested a review from sbasan September 5, 2024 18:52
@sbasan sbasan merged commit 13e8aa2 into main Sep 6, 2024
11 checks passed
@sbasan sbasan deleted the radiustacacs branch September 6, 2024 12:32
sbasan pushed a commit that referenced this pull request Sep 11, 2024
* updating radius and tacacs data classes for new changes

* fix static

* fix static

* make vpn vpn id optional

* sub class

* match with parent class

* match with parent class

* match with parent class

* snake case

* description

* src checks

* src checks

* src checks
sbasan added a commit that referenced this pull request Sep 11, 2024
* Merge pull request #795 from cisco-open/apigw

Add API GW login. Refactor session related files.

* Added validation activities when TaskValidationError is raised

* Bump actions/setup-python from 5.1.1 to 5.2.0 (#809)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@39cd149...f677139)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* creating new radius and tacacs data classes  (#815)

* updating radius and tacacs data classes for new changes

* fix static

* fix static

* make vpn vpn id optional

* sub class

* match with parent class

* match with parent class

* match with parent class

* snake case

* description

* src checks

* src checks

* src checks

* Add staging

* bump up version

* fix: provider as tenant login (#820)

* draft

* bump version

* update env variables usage

* bump dev version 0.35.3dev0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Jakub Krajewski <[email protected]>
Co-authored-by: Bartlomiej Radwan <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nikhilkp93 <[email protected]>
Co-authored-by: Jakub Krajewski <[email protected]>
Co-authored-by: Nikhil <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants