cloudcix 5.0.6__tar.gz → 5.0.8__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.
Files changed (51) hide show
  1. {cloudcix-5.0.6/cloudcix.egg-info → cloudcix-5.0.8}/PKG-INFO +1 -1
  2. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/__init__.py +1 -1
  3. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/compute.py +2 -0
  4. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/client.py +3 -1
  5. {cloudcix-5.0.6 → cloudcix-5.0.8/cloudcix.egg-info}/PKG-INFO +1 -1
  6. {cloudcix-5.0.6 → cloudcix-5.0.8}/pyproject.toml +1 -1
  7. {cloudcix-5.0.6 → cloudcix-5.0.8}/setup.cfg +1 -1
  8. {cloudcix-5.0.6 → cloudcix-5.0.8}/LICENSE +0 -0
  9. {cloudcix-5.0.6 → cloudcix-5.0.8}/MANIFEST.in +0 -0
  10. {cloudcix-5.0.6 → cloudcix-5.0.8}/README.rst +0 -0
  11. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/__init__.py +0 -0
  12. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/app_manager.py +0 -0
  13. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/asset.py +0 -0
  14. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/circuit.py +0 -0
  15. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/contact.py +0 -0
  16. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/contacts.py +0 -0
  17. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/dcim.py +0 -0
  18. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/documentation.py +0 -0
  19. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/financial.py +0 -0
  20. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/helpdesk.py +0 -0
  21. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/iaas.py +0 -0
  22. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/membership.py +0 -0
  23. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/otp.py +0 -0
  24. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/pat.py +0 -0
  25. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/plot.py +0 -0
  26. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/reporting.py +0 -0
  27. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/repository.py +0 -0
  28. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/scheduler.py +0 -0
  29. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/scm.py +0 -0
  30. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/security.py +0 -0
  31. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/support.py +0 -0
  32. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/training.py +0 -0
  33. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/api/vault.py +0 -0
  34. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/auth.py +0 -0
  35. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/conf.py +0 -0
  36. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/exceptions.py +0 -0
  37. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/lock.py +0 -0
  38. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/lock_backend.py +0 -0
  39. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/rcc/__init__.py +0 -0
  40. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/rcc/channel_codes.py +0 -0
  41. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/rcc/http.py +0 -0
  42. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/rcc/lsh.py +0 -0
  43. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/rcc/pylxd_api.py +0 -0
  44. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/rcc/response.py +0 -0
  45. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/rcc/ssh.py +0 -0
  46. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix/utils.py +0 -0
  47. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix.egg-info/SOURCES.txt +0 -0
  48. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix.egg-info/dependency_links.txt +0 -0
  49. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix.egg-info/requires.txt +0 -0
  50. {cloudcix-5.0.6 → cloudcix-5.0.8}/cloudcix.egg-info/top_level.txt +0 -0
  51. {cloudcix-5.0.6 → cloudcix-5.0.8}/requirements.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudcix
3
- Version: 5.0.6
3
+ Version: 5.0.8
4
4
  Summary: Python3 bindings and utils for CloudCIX API.
5
5
  Author-email: CloudCIX <developers@cloudcix.com>
6
6
  License: Copyright 2015 CloudCIX
@@ -1,2 +1,2 @@
1
1
  """CloudCIX API Module autodoc test"""
2
- __version__ = '5.0.6'
2
+ __version__ = '5.0.8'
@@ -23,6 +23,7 @@ class Compute:
23
23
  hpc_job = Client(_application_name, 'hpc_job/')
24
24
  ip_address = Client(_application_name, 'ip_address/')
25
25
  ip_address_group = Client(_application_name, 'ip_address_group/') # Deprecate in 5.1
26
+ metrics = Client(_application_name, 'metrics/')
26
27
  network_firewalls = Client(_application_name, 'network/firewalls/')
27
28
  network_ip_groups = Client(_application_name, 'network/ip_groups/')
28
29
  network_rebuild = Client(_application_name, 'network/rebuild/')
@@ -36,4 +37,5 @@ class Compute:
36
37
  run_robot = Client(_application_name, 'run_robot/')
37
38
  storage_volumes = Client(_application_name, 'storage/volumes/')
38
39
  subnet = Client(_application_name, 'subnet/')
40
+ subnet_space = Client(_application_name, 'subnet_space/{allocation_id}/')
39
41
  vm_phantom = Client(_application_name, 'vm_phantom/')
@@ -72,6 +72,8 @@ class Client:
72
72
  self.version = version
73
73
  self.headers = {'content-type': 'application/json'}
74
74
  self.base_url = self._determine_url_for_version()
75
+ self._session = requests.Session()
76
+ self._session.verify = True
75
77
 
76
78
  def __repr__(self):
77
79
  """
@@ -173,7 +175,7 @@ class Client:
173
175
  kwargs['data'] = json.dumps(data, cls=cloudcix.utils.JSONEncoder)
174
176
  # Send Request
175
177
  url = self.prepare_url(pk, client_kwargs)
176
- response = getattr(requests, method)(url, **kwargs)
178
+ response = getattr(self._session, method)(url, **kwargs)
177
179
 
178
180
  def _dump():
179
181
  # Wrapper to provide custom response.json() decoding function
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudcix
3
- Version: 5.0.6
3
+ Version: 5.0.8
4
4
  Summary: Python3 bindings and utils for CloudCIX API.
5
5
  Author-email: CloudCIX <developers@cloudcix.com>
6
6
  License: Copyright 2015 CloudCIX
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cloudcix"
7
- version = '5.0.6'
7
+ version = '5.0.8'
8
8
  authors = [
9
9
  { name="CloudCIX", email="developers@cloudcix.com" },
10
10
  ]
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 5.0.6
2
+ current_version = 5.0.8
3
3
  commit = True
4
4
  tag = True
5
5
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes