cvproxy 1.6.2__tar.gz → 1.6.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cvproxy
3
- Version: 1.6.2
3
+ Version: 1.6.4
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.2.0
15
+ Requires-Dist: pyavd~=6.4.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.2'
29
+ __version__ = '1.6.4'
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.2'
29
+ __version__ = '1.6.4'
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.2
3
+ Version: 1.6.4
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.2.0
15
+ Requires-Dist: pyavd~=6.4.0
16
16
  Requires-Dist: jsonschema
17
17
  Dynamic: license-file
18
18
 
@@ -0,0 +1,2 @@
1
+ pyavd~=6.4.0
2
+ jsonschema
@@ -2,7 +2,7 @@
2
2
  name = "cvproxy"
3
3
  dynamic = ["version"]
4
4
  requires-python = ">= 3.10"
5
- dependencies = ["pyavd~=6.2.0", "jsonschema"]
5
+ dependencies = ["pyavd~=6.4.0", "jsonschema"]
6
6
  authors = [{ name = "Chris Mason", email = "chris@netnix.org" }]
7
7
  description = "CVProxy - CloudVision Proxy"
8
8
  readme = "README.md"
@@ -1,2 +0,0 @@
1
- pyavd~=6.2.0
2
- jsonschema
File without changes
File without changes
File without changes
File without changes