cvproxy 1.6.2__tar.gz → 1.6.3__tar.gz
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.
- {cvproxy-1.6.2 → cvproxy-1.6.3}/PKG-INFO +2 -2
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy/__init__.py +4 -3
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy/cvproxy.py +4 -3
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy.egg-info/PKG-INFO +2 -2
- cvproxy-1.6.3/cvproxy.egg-info/requires.txt +2 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/pyproject.toml +1 -1
- cvproxy-1.6.2/cvproxy.egg-info/requires.txt +0 -2
- {cvproxy-1.6.2 → cvproxy-1.6.3}/LICENSE +0 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/README.md +0 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy/__main__.py +0 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy.egg-info/SOURCES.txt +0 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy.egg-info/dependency_links.txt +0 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy.egg-info/entry_points.txt +0 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/cvproxy.egg-info/top_level.txt +0 -0
- {cvproxy-1.6.2 → cvproxy-1.6.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cvproxy
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3
|
|
4
4
|
Summary: CVProxy - CloudVision Proxy
|
|
5
5
|
Author-email: Chris Mason <chris@netnix.org>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.10
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: pyavd~=6.
|
|
15
|
+
Requires-Dist: pyavd~=6.3.0
|
|
16
16
|
Requires-Dist: jsonschema
|
|
17
17
|
Dynamic: license-file
|
|
18
18
|
|
|
@@ -21,12 +21,12 @@ from http.server import HTTPServer, BaseHTTPRequestHandler, HTTPStatus
|
|
|
21
21
|
|
|
22
22
|
from pyavd._cv.client import CVClient
|
|
23
23
|
from pyavd._cv.workflows.deploy_to_cv import deploy_to_cv
|
|
24
|
-
from pyavd._cv.workflows.models import CloudVision, CVDevice, CVEosConfig, CVDeviceTag, CVChangeControl, CVDeviceDeployment
|
|
24
|
+
from pyavd._cv.workflows.models import CloudVision, CVDevice, AvdDevice, CVEosConfig, CVDeviceTag, CVChangeControl, CVDeviceDeployment
|
|
25
25
|
|
|
26
26
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
|
27
27
|
logging.getLogger().setLevel(logging.ERROR)
|
|
28
28
|
|
|
29
|
-
__version__ = '1.6.
|
|
29
|
+
__version__ = '1.6.3'
|
|
30
30
|
|
|
31
31
|
schema = {
|
|
32
32
|
'unevaluatedProperties': False,
|
|
@@ -129,7 +129,8 @@ class CVProxyRequest(BaseHTTPRequestHandler):
|
|
|
129
129
|
)
|
|
130
130
|
|
|
131
131
|
for device in data['devices']:
|
|
132
|
-
device_object = CVDevice(hostname=device, serial_number=data['devices'][device].get('serial_number'))
|
|
132
|
+
#device_object = CVDevice(hostname=device, serial_number=data['devices'][device].get('serial_number'))
|
|
133
|
+
device_object = CVDevice(avd_device=AvdDevice(hostname=device, serial_number=data['devices'][device].get('serial_number')))
|
|
133
134
|
device_tags = []
|
|
134
135
|
|
|
135
136
|
if 'tags' in data['devices'][device]:
|
|
@@ -21,12 +21,12 @@ from http.server import HTTPServer, BaseHTTPRequestHandler, HTTPStatus
|
|
|
21
21
|
|
|
22
22
|
from pyavd._cv.client import CVClient
|
|
23
23
|
from pyavd._cv.workflows.deploy_to_cv import deploy_to_cv
|
|
24
|
-
from pyavd._cv.workflows.models import CloudVision, CVDevice, CVEosConfig, CVDeviceTag, CVChangeControl, CVDeviceDeployment
|
|
24
|
+
from pyavd._cv.workflows.models import CloudVision, CVDevice, AvdDevice, CVEosConfig, CVDeviceTag, CVChangeControl, CVDeviceDeployment
|
|
25
25
|
|
|
26
26
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
|
27
27
|
logging.getLogger().setLevel(logging.ERROR)
|
|
28
28
|
|
|
29
|
-
__version__ = '1.6.
|
|
29
|
+
__version__ = '1.6.3'
|
|
30
30
|
|
|
31
31
|
schema = {
|
|
32
32
|
'unevaluatedProperties': False,
|
|
@@ -129,7 +129,8 @@ class CVProxyRequest(BaseHTTPRequestHandler):
|
|
|
129
129
|
)
|
|
130
130
|
|
|
131
131
|
for device in data['devices']:
|
|
132
|
-
device_object = CVDevice(hostname=device, serial_number=data['devices'][device].get('serial_number'))
|
|
132
|
+
#device_object = CVDevice(hostname=device, serial_number=data['devices'][device].get('serial_number'))
|
|
133
|
+
device_object = CVDevice(avd_device=AvdDevice(hostname=device, serial_number=data['devices'][device].get('serial_number')))
|
|
133
134
|
device_tags = []
|
|
134
135
|
|
|
135
136
|
if 'tags' in data['devices'][device]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cvproxy
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3
|
|
4
4
|
Summary: CVProxy - CloudVision Proxy
|
|
5
5
|
Author-email: Chris Mason <chris@netnix.org>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.10
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: pyavd~=6.
|
|
15
|
+
Requires-Dist: pyavd~=6.3.0
|
|
16
16
|
Requires-Dist: jsonschema
|
|
17
17
|
Dynamic: license-file
|
|
18
18
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name = "cvproxy"
|
|
3
3
|
dynamic = ["version"]
|
|
4
4
|
requires-python = ">= 3.10"
|
|
5
|
-
dependencies = ["pyavd~=6.
|
|
5
|
+
dependencies = ["pyavd~=6.3.0", "jsonschema"]
|
|
6
6
|
authors = [{ name = "Chris Mason", email = "chris@netnix.org" }]
|
|
7
7
|
description = "CVProxy - CloudVision Proxy"
|
|
8
8
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|