catalystwan 0.41.1.dev5__py3-none-any.whl → 0.41.2.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- catalystwan/api/device_action_api.py +7 -5
- catalystwan/api/feature_profile_api.py +184 -325
- catalystwan/apigw_auth.py +4 -4
- catalystwan/endpoints/api_gateway.py +1 -2
- catalystwan/models/configuration/feature_profile/sdwan/transport/t1e1controller.py +2 -2
- catalystwan/session.py +9 -5
- catalystwan/tests/templates/test_find_template_values.py +229 -0
- catalystwan/utils/feature_template/find_template_values.py +15 -3
- catalystwan/vmanage_auth.py +6 -4
- {catalystwan-0.41.1.dev5.dist-info → catalystwan-0.41.2.dev0.dist-info}/METADATA +1 -1
- {catalystwan-0.41.1.dev5.dist-info → catalystwan-0.41.2.dev0.dist-info}/RECORD +13 -13
- {catalystwan-0.41.1.dev5.dist-info → catalystwan-0.41.2.dev0.dist-info}/LICENSE +0 -0
- {catalystwan-0.41.1.dev5.dist-info → catalystwan-0.41.2.dev0.dist-info}/WHEEL +0 -0
|
@@ -133,11 +133,13 @@ class ValidateAction(DeviceActionAPI): # TODO check
|
|
|
133
133
|
"""
|
|
134
134
|
validate device
|
|
135
135
|
"""
|
|
136
|
-
body =
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
body = [
|
|
137
|
+
{
|
|
138
|
+
"chasisNumber": self.dev.uuid,
|
|
139
|
+
"serialNumber": self.dev.board_serial,
|
|
140
|
+
"validity": "valid" if valid else "invalid",
|
|
141
|
+
}
|
|
142
|
+
]
|
|
141
143
|
|
|
142
144
|
response = self.session.post(url="/dataservice/certificate/save/vedge/list", json=body).json()
|
|
143
145
|
if response.get("id"):
|