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 code coverage #544

Open
JimOverholt opened this issue Apr 25, 2024 · 1 comment
Open

Add code coverage #544

JimOverholt opened this issue Apr 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JimOverholt
Copy link
Contributor

Description

No response

@JimOverholt JimOverholt added the enhancement New feature or request label Apr 25, 2024
@JimOverholt
Copy link
Contributor Author

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

sbasan added a commit that referenced this issue Apr 29, 2024
update deprecated github actions (#544)

* update deprecated github actions

* fix type error

add missing file

fix import order
sbasan added a commit that referenced this issue May 15, 2024
update deprecated github actions (#544)

* update deprecated github actions

* fix type error

add missing file

fix import order
sbasan added a commit that referenced this issue May 16, 2024
update deprecated github actions (#544)

* update deprecated github actions

* fix type error

add missing file

fix import order
sbasan added a commit that referenced this issue May 16, 2024
update deprecated github actions (#544)

* update deprecated github actions

* fix type error

add missing file

fix import order
sbasan added a commit that referenced this issue May 16, 2024
update deprecated github actions (#544)

* update deprecated github actions

* fix type error

add missing file

fix import order
sbasan added a commit that referenced this issue May 17, 2024
update deprecated github actions (#544)

* update deprecated github actions

* fix type error

add missing file

fix import order
sbasan added a commit that referenced this issue May 17, 2024
* topology parcels draft

update deprecated github actions (#544)

* update deprecated github actions

* fix type error

add missing file

fix import order

* update test

* Update catalystwan/models/configuration/feature_profile/sdwan/topology/__init__.py

Co-authored-by: Jakub Krajewski <[email protected]>

* fix typo

* add custom-control parcel and converter module

* fix typo

* finalize custom-control model and integration tests

* add failed transfor result for policy list

* refactor test

* rename models to test_data

* remove duplicate Carrier literal, fix topology profile test

---------

Co-authored-by: Jakub Krajewski <[email protected]>
jpkrajewski pushed a commit that referenced this issue May 20, 2024
* update deprecated github actions

* fix type error
sbasan added a commit that referenced this issue Jun 11, 2024
* Start work on Service models

* Service VPN passes for the internal vManage

* Refactor Service VPN converter. Instantiate the converter in the create_parcel_from_template function. Convert the create_parcel methods to instance methods, allowing them to access class attributes and methods. Split large create_parcel functions

* Add Interface GRE model. Add unittests. Add integration tests. Change feature profile integration test structure. Add more Castable literals to the normalizer. Change name factory method to parcel_factory. Change VPN model type to lan/vpn.

* Add SVI Interface model. Add unit tests and integration test for the moedl creation. Remove static UUID in tests, instead create dynamicly. Add IPv6Interface and IPv4Interface cast in normalizer. Change models to use casted Global[Interface] values. Fix Svi model

* Add Ethernet Interface. Add Unit tests. Add integratio tests. Fix VPN for sdwan demo data.

* Rename Feature Profile builder file. Use from typing_extensions import Annotated

* Add IPSEC interface model. Add unittests. Add integration tests.

* Add Ethernet interface. Add Builders for other and system profile. Improve logging during pushing ux2 config. Minor fixes for service models. Refactor config pusher. Add pushing service FP and parcels. Working for internal vmanage

* Fixes

* Add default=None for Optional fields.

* Add missing imports

* Prepare the rest service parcels for converter

* Fix add default=None for optional field

* Add OSPF converter

* Add OSPF intergration test

* Add OSPFv3IP4 converter.

* Add ospfv3ipv6 converter. add unittest add integration tests

* Add ospf model to transform. Add service feature profile in transform for creation. Add default values for ospf model (helps whe default template is empty and endpoint needs values). Comment logic for interface assigement since there can be many vpns and interfaces in one feature profile correct implementation is needed

* update deprecated github actions (#544)

* update deprecated github actions

* fix type error

* Remove annotation

* Log feature templates that cant be assigned to feature profile

---------

Co-authored-by: Jakub Krajewski <[email protected]>
sbasan added a commit that referenced this issue Jun 11, 2024
* Revert "Dev/rebase migration" (#513)

* Fix find_template_values when vipValue not present (#520)

* clear cookies on login, bump minor (#532)

* [Fix] validation software timeout (#534)

* clear cookies on login, bump minor

* fix validation value

---------

Co-authored-by: sbasan <[email protected]>

* fix log message level for request exceptions

* bump patch version

* disable relogin flag during logout (#537)

* fix typo (#542)

* update deprecated github actions (#544)

* update deprecated github actions

* fix type error

* Simplify conditional logic. Add comments. Create new field in cisco vpn feature template model. (new in 20.14)

* Transfer to cisco-open repository (#1)

* use new uri, add missing copyright, bump version, regenerate ENDPOINTS.md

* regenerate endpoints after rebase

* define codeowners

* .github codeowners

* usernames in codeowners

* remove pydantic v1 models (#10)

* remove pydantic v1 models

* fix problems

* bump minor version

* Fix DeviceData types (#13)

* Fix DeviceData types

* Bump sdk version

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Add default None values to the Tier model (#16)

* Fix: admintech wait (#17)

* version check and model update for user

* admin tech - wait for file ready

* get token

* correct logic

* Add default None values to the Tier model (#16)

---------

Co-authored-by: Nikhil <[email protected]>
Co-authored-by: PrzeG <[email protected]>

* fix admintech, generate endpoints md for new release (#18)

* generate endpoints md

* fix admintech api and unittests

* Update README.md

* Update versions_utils.py

```
--------------------------------------------------
nExpress_mtt.test_nExpress_mtt_verify_provider_software_upgrade_data
--------------------------------------------------
verify_provider_software_upgrade_vmanage(PROVIDER)
[PASS] "All VManages updated correctly."

verify_provider_software_upgrade_vbond(PROVIDER)
[PASS] "All VBonds updated correctly."

verify_set_default_partition_for_vbond(PROVIDER)
[PASS] "Successfully set the default version for partition."
```

* Update versions_utils.py

* Update versions_utils.py

* Update versions_utils.py

* Release 0.33.3

* server_info

* monitoring

* monitoring

* tests

* fix tags field for DeviceDetailsResponse

* unit-test

* enhance modesl for configuration_settings

* don't use Union

* allow centralized cli policy creation

* fix for groupId for get_list_of_installed_devices

* Release/0.33.4

* url_monitoring initial commit

* GET Monitoring Security Policy Device List (#45)

* GET Monitoring Security Policy Device List

* Update security_policy.py

* Update security_policy.py

* Update test_monitoring_security_policy.py

* Add files via upload

* Delete endpoints/endpoints_container.py

* Delete endpoints/monitoring/security_policy.py

* Delete models/security_policy.py

* Delete tests/test_monitoring_security_policy.py

* Add files via upload

* Add files via upload

* Update security_policy.py

* Delete catalystwan/models/security_policy.py

* Update endpoints_container.py

* Update endpoints_container.py

* Update security_policy.py

* Update security_policy.py

* Update test_monitoring_security_policy.py

* Update security_policy.py

* Update security_policy.py

* Adding api support for Lxc virutal image Upgrade,Activate and Delete action

* Ran black and flake8 on change files

* Fixing poetry check error from pre-commit

* Fixing errors from pre-commit

* Release/0.33.5

* fix pre-commit for python 3.12 (#614)

* Update README.md

* Update README.md

* allow disabling of response validation against pydantic model

* rename property, remove print from tests

* unit tests added for url_monitoring

* updated the imports

* updated import sort

* Fix sequence creation when payload is None. Use Field instead of conint

* Revert breaking change

* Fix value for field examples

* include original cause and info from server in ManagerHTTPError

* fix: request and response must be provided as kwargs

* Bump version to 0.33.6

* introduce find method for DataSequence (#627)

* api and endpoints containers as cached properties (#629)

* hotfix ManagerErrorInfo model

* Fix find_template_values to return device variables in correct structure

* Delete if condition with pass

* Fix Issue646 Not content in response

* restore tenant model validate during login

* bump release version

* alarms-20.15

* 0.33.8

* Validate XSRF token returned by server

In same case this token can be login page and raise incorrect error in future login flow.

* Add copy and deepcopy

* Remove 2023 license

* merge and fix confilcts

---------

Co-authored-by: PrzeG <[email protected]>
Co-authored-by: cicharka <[email protected]>
Co-authored-by: JimOverholt <[email protected]>
Co-authored-by: Jakub Krajewski <[email protected]>
Co-authored-by: Nikhil <[email protected]>
Co-authored-by: Piotr Smialkowski <[email protected]>
Co-authored-by: Jim Overholt <[email protected]>
Co-authored-by: acichon <[email protected]>
Co-authored-by: nikhilkp93 <[email protected]>
Co-authored-by: Renuka Mohan Channapatna (rchannap) <[email protected]>
Co-authored-by: Robert Mooy <[email protected]>
Co-authored-by: Surendran Palanimuthu <[email protected]>
Co-authored-by: renukavinay <[email protected]>
Co-authored-by: Jakub Krajewski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant