python-blazarclient 4.0.0__tar.gz → 4.1.0__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.
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/AUTHORS +1 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/ChangeLog +16 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/PKG-INFO +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/allocations.py +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/floatingips.py +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/hosts.py +2 -2
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/leases.py +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/leases.py +8 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/PKG-INFO +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/SOURCES.txt +2 -0
- python-blazarclient-4.1.0/python_blazarclient.egg-info/pbr.json +1 -0
- python-blazarclient-4.1.0/releasenotes/notes/flavor-based-instance-reservation-ec9730ddfeabdf15.yaml +4 -0
- python-blazarclient-4.1.0/releasenotes/source/2024.1.rst +6 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/index.rst +1 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/victoria.rst +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/wallaby.rst +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/xena.rst +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/yoga.rst +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/zed.rst +1 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/test-requirements.txt +1 -5
- python-blazarclient-4.0.0/python_blazarclient.egg-info/pbr.json +0 -1
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/.stestr.conf +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/.zuul.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/HACKING.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/LICENSE +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/MANIFEST.in +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/README.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/__init__.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/base.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/client.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/command.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/exception.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/i18n.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/osc/__init__.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/osc/plugin.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/shell.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/__init__.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/test_base.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/test_client.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/test_command.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/test_plugin.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/test_shell.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/v1/__init__.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/v1/shell_commands/__init__.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/v1/shell_commands/test_floatingips.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/v1/shell_commands/test_hosts.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/tests/v1/shell_commands/test_leases.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/utils.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/__init__.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/client.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/__init__.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/allocations.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/floatingips.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/hosts.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/version.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/doc/requirements.txt +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/dependency_links.txt +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/entry_points.txt +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/not-zip-safe +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/requires.txt +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/top_level.txt +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/.placeholder +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/bug-1777548-6b5c770abc6ac360.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/bug-1783296-set-start-date-to-now-e329a6923c11432f.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/default-affinity-value-150947560fd7da3c.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/drop-python2-c3c1601e92a9b87a.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/floatingip-reservation-update-5823a21516135f17.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/floatingip-support-d184a565f324d31b.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/host-allocation-fad8e511cb13c0e8.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/host-resource-property-9ac5c21bd3ca6699.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/ksa-loading-9731c570772c826a.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/openstackclient-support-f591eef2dc3c1a8b.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/parse-required-floatingips-f79f79d652e371ae.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/respect-selected-region-a409773f851ccb47.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/notes/separate-id-parser-argument-from-showcommand-ce92d0c52dd1963e.yaml +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/2023.1.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/2023.2.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/_static/.placeholder +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/_templates/.placeholder +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/conf.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/rocky.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/stein.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/train.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/unreleased.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/ussuri.rst +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/requirements.txt +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/setup.cfg +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/setup.py +0 -0
- {python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/tox.ini +0 -0
|
@@ -15,6 +15,7 @@ Hiroki Ito <ito.hiroki@lab.ntt.co.jp>
|
|
|
15
15
|
Jason Anderson <jasonanderson@uchicago.edu>
|
|
16
16
|
Jay Lau <liugya@cn.ibm.com>
|
|
17
17
|
Jeremy Stanley <fungi@yuggoth.org>
|
|
18
|
+
John Garbutt <john.garbutt@stackhpc.com>
|
|
18
19
|
Mark Powers <markpowers@uchicago.edu>
|
|
19
20
|
Martin Kopec <mkopec@redhat.com>
|
|
20
21
|
Masahito Muroi <muroi.masahito@lab.ntt.co.jp>
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
4.1.0
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Bump hacking to 7.0.0 and fix linting issues
|
|
8
|
+
* Support flavor-based instance reservation
|
|
9
|
+
* reno: Update master for unmaintained/zed
|
|
10
|
+
* Update master for stable/2024.1
|
|
11
|
+
* reno: Update master for unmaintained/xena
|
|
12
|
+
* reno: Update master for unmaintained/wallaby
|
|
13
|
+
* reno: Update master for unmaintained/victoria
|
|
14
|
+
|
|
15
|
+
4.0.1
|
|
16
|
+
-----
|
|
17
|
+
|
|
18
|
+
* reno: Update master for unmaintained/yoga
|
|
19
|
+
|
|
4
20
|
4.0.0
|
|
5
21
|
-----
|
|
6
22
|
|
|
@@ -30,5 +30,5 @@ class AllocationClientManager(base.BaseClientManager):
|
|
|
30
30
|
resp, body = self.request_manager.get('/%s/allocations' % resource)
|
|
31
31
|
allocations = body['allocations']
|
|
32
32
|
if sort_by:
|
|
33
|
-
allocations = sorted(allocations, key=lambda
|
|
33
|
+
allocations = sorted(allocations, key=lambda alloc: alloc[sort_by])
|
|
34
34
|
return allocations
|
|
@@ -43,5 +43,5 @@ class FloatingIPClientManager(base.BaseClientManager):
|
|
|
43
43
|
resp, body = self.request_manager.get('/floatingips')
|
|
44
44
|
floatingips = body['floatingips']
|
|
45
45
|
if sort_by:
|
|
46
|
-
floatingips = sorted(floatingips, key=lambda
|
|
46
|
+
floatingips = sorted(floatingips, key=lambda fip: fip[sort_by])
|
|
47
47
|
return floatingips
|
|
@@ -51,7 +51,7 @@ class ComputeHostClientManager(base.BaseClientManager):
|
|
|
51
51
|
resp, body = self.request_manager.get('/os-hosts')
|
|
52
52
|
hosts = body['hosts']
|
|
53
53
|
if sort_by:
|
|
54
|
-
hosts = sorted(hosts, key=lambda
|
|
54
|
+
hosts = sorted(hosts, key=lambda host: host[sort_by])
|
|
55
55
|
return hosts
|
|
56
56
|
|
|
57
57
|
def list_properties(self, detail=False, all=False, sort_by=None):
|
|
@@ -76,7 +76,7 @@ class ComputeHostClientManager(base.BaseClientManager):
|
|
|
76
76
|
|
|
77
77
|
if sort_by:
|
|
78
78
|
resource_properties = sorted(resource_properties,
|
|
79
|
-
key=lambda
|
|
79
|
+
key=lambda rp: rp[sort_by])
|
|
80
80
|
return resource_properties
|
|
81
81
|
|
|
82
82
|
def get_property(self, property_name):
|
|
@@ -91,7 +91,7 @@ class LeaseClientManager(base.BaseClientManager):
|
|
|
91
91
|
resp, body = self.request_manager.get('/leases')
|
|
92
92
|
leases = body['leases']
|
|
93
93
|
if sort_by:
|
|
94
|
-
leases = sorted(leases, key=lambda
|
|
94
|
+
leases = sorted(leases, key=lambda lease: lease[sort_by])
|
|
95
95
|
return leases
|
|
96
96
|
|
|
97
97
|
def _add_lease_date(self, values, lease, key, delta_date, positive_delta):
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/leases.py
RENAMED
|
@@ -52,6 +52,12 @@ CREATE_RESERVATION_KEYS = {
|
|
|
52
52
|
"resource_properties": "",
|
|
53
53
|
"resource_type": 'virtual:instance'
|
|
54
54
|
},
|
|
55
|
+
"flavor:instance": {
|
|
56
|
+
"flavor_id": "",
|
|
57
|
+
"amount": "",
|
|
58
|
+
"affinity": "None",
|
|
59
|
+
"resource_type": 'flavor:instance'
|
|
60
|
+
},
|
|
55
61
|
"others": {
|
|
56
62
|
".*": None
|
|
57
63
|
}
|
|
@@ -226,6 +232,8 @@ class CreateLeaseBase(command.CreateCommand):
|
|
|
226
232
|
defaults = CREATE_RESERVATION_KEYS['virtual:instance']
|
|
227
233
|
elif "virtual:floatingip" in res_str:
|
|
228
234
|
defaults = CREATE_RESERVATION_KEYS['virtual:floatingip']
|
|
235
|
+
elif "flavor:instance" in res_str:
|
|
236
|
+
defaults = CREATE_RESERVATION_KEYS['flavor:instance']
|
|
229
237
|
else:
|
|
230
238
|
defaults = CREATE_RESERVATION_KEYS['others']
|
|
231
239
|
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/SOURCES.txt
RENAMED
|
@@ -58,6 +58,7 @@ releasenotes/notes/bug-1777548-6b5c770abc6ac360.yaml
|
|
|
58
58
|
releasenotes/notes/bug-1783296-set-start-date-to-now-e329a6923c11432f.yaml
|
|
59
59
|
releasenotes/notes/default-affinity-value-150947560fd7da3c.yaml
|
|
60
60
|
releasenotes/notes/drop-python2-c3c1601e92a9b87a.yaml
|
|
61
|
+
releasenotes/notes/flavor-based-instance-reservation-ec9730ddfeabdf15.yaml
|
|
61
62
|
releasenotes/notes/floatingip-reservation-update-5823a21516135f17.yaml
|
|
62
63
|
releasenotes/notes/floatingip-support-d184a565f324d31b.yaml
|
|
63
64
|
releasenotes/notes/host-allocation-fad8e511cb13c0e8.yaml
|
|
@@ -69,6 +70,7 @@ releasenotes/notes/respect-selected-region-a409773f851ccb47.yaml
|
|
|
69
70
|
releasenotes/notes/separate-id-parser-argument-from-showcommand-ce92d0c52dd1963e.yaml
|
|
70
71
|
releasenotes/source/2023.1.rst
|
|
71
72
|
releasenotes/source/2023.2.rst
|
|
73
|
+
releasenotes/source/2024.1.rst
|
|
72
74
|
releasenotes/source/conf.py
|
|
73
75
|
releasenotes/source/index.rst
|
|
74
76
|
releasenotes/source/rocky.rst
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "e1f6650", "is_release": true}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
# The order of packages is significant, because pip processes them in the order
|
|
2
2
|
# of appearance. Changing the order has an impact on the overall integration
|
|
3
3
|
# process, which may cause wedges in the gate later.
|
|
4
|
-
hacking>=
|
|
5
|
-
# remove this pyflakes from here once you bump the
|
|
6
|
-
# hacking to 3.2.0 or above. hacking 3.2.0 takes
|
|
7
|
-
# care of pyflakes version compatibilty.
|
|
8
|
-
pyflakes>=2.1.1
|
|
4
|
+
hacking>=7.0.0,<7.1.0 # Apache-2.0
|
|
9
5
|
|
|
10
6
|
oslotest>=3.2.0 # Apache-2.0
|
|
11
7
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "6f20a2b", "is_release": true}
|
|
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
|
|
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
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/blazarclient/v1/shell_commands/hosts.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/requires.txt
RENAMED
|
File without changes
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/python_blazarclient.egg-info/top_level.txt
RENAMED
|
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
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/_static/.placeholder
RENAMED
|
File without changes
|
{python-blazarclient-4.0.0 → python-blazarclient-4.1.0}/releasenotes/source/_templates/.placeholder
RENAMED
|
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
|