python-blazarclient 4.5.0__tar.gz → 4.6.1__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 (94) hide show
  1. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/ChangeLog +13 -0
  2. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/PKG-INFO +1 -1
  3. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/shell.py +1 -0
  4. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/shell_commands/hosts.py +26 -0
  5. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/python_blazarclient.egg-info/PKG-INFO +1 -1
  6. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/python_blazarclient.egg-info/SOURCES.txt +2 -0
  7. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/python_blazarclient.egg-info/entry_points.txt +1 -0
  8. python_blazarclient-4.6.1/python_blazarclient.egg-info/pbr.json +1 -0
  9. python_blazarclient-4.6.1/releasenotes/notes/add-host-unset-command-7879e9f0d70e1b08.yaml +5 -0
  10. python_blazarclient-4.6.1/releasenotes/source/2026.1.rst +6 -0
  11. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/index.rst +1 -0
  12. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/setup.cfg +1 -0
  13. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/tox.ini +3 -3
  14. python_blazarclient-4.5.0/python_blazarclient.egg-info/pbr.json +0 -1
  15. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/.stestr.conf +0 -0
  16. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/.zuul.yaml +0 -0
  17. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/AUTHORS +0 -0
  18. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/HACKING.rst +0 -0
  19. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/LICENSE +0 -0
  20. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/README.rst +0 -0
  21. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/__init__.py +0 -0
  22. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/base.py +0 -0
  23. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/client.py +0 -0
  24. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/command.py +0 -0
  25. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/exception.py +0 -0
  26. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/i18n.py +0 -0
  27. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/osc/__init__.py +0 -0
  28. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/osc/plugin.py +0 -0
  29. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/__init__.py +0 -0
  30. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/test_base.py +0 -0
  31. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/test_client.py +0 -0
  32. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/test_command.py +0 -0
  33. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/test_plugin.py +0 -0
  34. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/test_shell.py +0 -0
  35. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/v1/__init__.py +0 -0
  36. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/v1/shell_commands/__init__.py +0 -0
  37. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/v1/shell_commands/test_floatingips.py +0 -0
  38. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/v1/shell_commands/test_hosts.py +0 -0
  39. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/tests/v1/shell_commands/test_leases.py +0 -0
  40. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/utils.py +0 -0
  41. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/__init__.py +0 -0
  42. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/allocations.py +0 -0
  43. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/client.py +0 -0
  44. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/floatingips.py +0 -0
  45. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/hosts.py +0 -0
  46. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/leases.py +0 -0
  47. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/shell_commands/__init__.py +0 -0
  48. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/shell_commands/allocations.py +0 -0
  49. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/shell_commands/floatingips.py +0 -0
  50. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/v1/shell_commands/leases.py +0 -0
  51. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/blazarclient/version.py +0 -0
  52. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/doc/requirements.txt +0 -0
  53. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/python_blazarclient.egg-info/dependency_links.txt +0 -0
  54. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/python_blazarclient.egg-info/not-zip-safe +0 -0
  55. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/python_blazarclient.egg-info/requires.txt +0 -0
  56. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/python_blazarclient.egg-info/top_level.txt +0 -0
  57. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/.placeholder +0 -0
  58. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/bug-1777548-6b5c770abc6ac360.yaml +0 -0
  59. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/bug-1783296-set-start-date-to-now-e329a6923c11432f.yaml +0 -0
  60. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/default-affinity-value-150947560fd7da3c.yaml +0 -0
  61. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/drop-python-3-8-and-3-9-51d2e25d71240731.yaml +0 -0
  62. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/drop-python2-c3c1601e92a9b87a.yaml +0 -0
  63. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/flavor-based-instance-reservation-ec9730ddfeabdf15.yaml +0 -0
  64. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/floatingip-reservation-update-5823a21516135f17.yaml +0 -0
  65. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/floatingip-support-d184a565f324d31b.yaml +0 -0
  66. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/host-allocation-fad8e511cb13c0e8.yaml +0 -0
  67. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/host-resource-property-9ac5c21bd3ca6699.yaml +0 -0
  68. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/ksa-loading-9731c570772c826a.yaml +0 -0
  69. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/openstackclient-support-f591eef2dc3c1a8b.yaml +0 -0
  70. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/parse-required-floatingips-f79f79d652e371ae.yaml +0 -0
  71. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/respect-selected-region-a409773f851ccb47.yaml +0 -0
  72. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/notes/separate-id-parser-argument-from-showcommand-ce92d0c52dd1963e.yaml +0 -0
  73. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/2023.1.rst +0 -0
  74. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/2023.2.rst +0 -0
  75. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/2024.1.rst +0 -0
  76. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/2024.2.rst +0 -0
  77. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/2025.1.rst +0 -0
  78. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/2025.2.rst +0 -0
  79. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/_static/.placeholder +0 -0
  80. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/_templates/.placeholder +0 -0
  81. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/conf.py +0 -0
  82. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/rocky.rst +0 -0
  83. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/stein.rst +0 -0
  84. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/train.rst +0 -0
  85. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/unreleased.rst +0 -0
  86. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/ussuri.rst +0 -0
  87. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/victoria.rst +0 -0
  88. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/wallaby.rst +0 -0
  89. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/xena.rst +0 -0
  90. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/yoga.rst +0 -0
  91. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/releasenotes/source/zed.rst +0 -0
  92. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/requirements.txt +0 -0
  93. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/setup.py +0 -0
  94. {python_blazarclient-4.5.0 → python_blazarclient-4.6.1}/test-requirements.txt +0 -0
@@ -1,6 +1,19 @@
1
1
  CHANGES
2
2
  =======
3
3
 
4
+ 4.6.1
5
+ -----
6
+
7
+ * Fix "reservation host unset" typo in setup.cfg
8
+ * Update TOX\_CONSTRAINTS\_FILE for stable/2026.2
9
+ * Update .gitreview for stable/2026.2
10
+
11
+ 4.6.0
12
+ -----
13
+
14
+ * Add host unset command
15
+ * Update master for stable/2026.1
16
+
4
17
  4.5.0
5
18
  -----
6
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-blazarclient
3
- Version: 4.5.0
3
+ Version: 4.6.1
4
4
  Summary: Client for OpenStack Reservation Service
5
5
  Home-page: https://launchpad.net/blazar
6
6
  Author: OpenStack
@@ -44,6 +44,7 @@ COMMANDS_V1 = {
44
44
  'host-show': hosts.ShowHost,
45
45
  'host-create': hosts.CreateHost,
46
46
  'host-update': hosts.UpdateHost,
47
+ 'host-unset': hosts.UnsetAttributesHost,
47
48
  'host-delete': hosts.DeleteHost,
48
49
  'host-property-list': hosts.ListHostProperties,
49
50
  'host-property-show': hosts.ShowHostProperty,
@@ -125,6 +125,32 @@ class UpdateHost(command.UpdateCommand):
125
125
  return params
126
126
 
127
127
 
128
+ class UnsetAttributesHost(UpdateHost):
129
+ """Unset attributes of a host."""
130
+ log = logging.getLogger(__name__ + '.UnsetAttributesHost')
131
+
132
+ def get_parser(self, prog_name):
133
+ parser = super(UpdateHost, self).get_parser(prog_name)
134
+ parser.add_argument(
135
+ '--extra', metavar='<key>',
136
+ action='append',
137
+ dest='extra_capabilities',
138
+ default=[],
139
+ help='Extra capability keys which should be unset from the host.',
140
+ )
141
+ return parser
142
+
143
+ def args2body(self, parsed_args):
144
+ if parsed_args.extra_capabilities:
145
+ return {
146
+ 'values': {
147
+ cap: None for cap in parsed_args.extra_capabilities
148
+ }
149
+ }
150
+ else:
151
+ return {}
152
+
153
+
128
154
  class DeleteHost(command.DeleteCommand):
129
155
  """Delete a host."""
130
156
  resource = 'host'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-blazarclient
3
- Version: 4.5.0
3
+ Version: 4.6.1
4
4
  Summary: Client for OpenStack Reservation Service
5
5
  Home-page: https://launchpad.net/blazar
6
6
  Author: OpenStack
@@ -53,6 +53,7 @@ python_blazarclient.egg-info/pbr.json
53
53
  python_blazarclient.egg-info/requires.txt
54
54
  python_blazarclient.egg-info/top_level.txt
55
55
  releasenotes/notes/.placeholder
56
+ releasenotes/notes/add-host-unset-command-7879e9f0d70e1b08.yaml
56
57
  releasenotes/notes/bug-1777548-6b5c770abc6ac360.yaml
57
58
  releasenotes/notes/bug-1783296-set-start-date-to-now-e329a6923c11432f.yaml
58
59
  releasenotes/notes/default-affinity-value-150947560fd7da3c.yaml
@@ -74,6 +75,7 @@ releasenotes/source/2024.1.rst
74
75
  releasenotes/source/2024.2.rst
75
76
  releasenotes/source/2025.1.rst
76
77
  releasenotes/source/2025.2.rst
78
+ releasenotes/source/2026.1.rst
77
79
  releasenotes/source/conf.py
78
80
  releasenotes/source/index.rst
79
81
  releasenotes/source/rocky.rst
@@ -19,6 +19,7 @@ reservation_host_property_set = blazarclient.v1.shell_commands.hosts:UpdateHostP
19
19
  reservation_host_property_show = blazarclient.v1.shell_commands.hosts:ShowHostProperty
20
20
  reservation_host_set = blazarclient.v1.shell_commands.hosts:UpdateHost
21
21
  reservation_host_show = blazarclient.v1.shell_commands.hosts:ShowHost
22
+ reservation_host_unset = blazarclient.v1.shell_commands.hosts:UnsetAttributesHost
22
23
  reservation_lease_create = blazarclient.v1.shell_commands.leases:CreateLeaseBase
23
24
  reservation_lease_delete = blazarclient.v1.shell_commands.leases:DeleteLease
24
25
  reservation_lease_list = blazarclient.v1.shell_commands.leases:ListLeases
@@ -0,0 +1 @@
1
+ {"git_version": "e4a1674", "is_release": true}
@@ -0,0 +1,5 @@
1
+ ---
2
+ features:
3
+ - |
4
+ Added a new command ``openstack reservation host unset``, or ``blazar
5
+ host-unset``, which allows removing extra capabilities from a host.
@@ -0,0 +1,6 @@
1
+ ===========================
2
+ 2026.1 Series Release Notes
3
+ ===========================
4
+
5
+ .. release-notes::
6
+ :branch: stable/2026.1
@@ -6,6 +6,7 @@
6
6
  :maxdepth: 1
7
7
 
8
8
  unreleased
9
+ 2026.1
9
10
  2025.2
10
11
  2025.1
11
12
  2024.2
@@ -46,6 +46,7 @@ openstack.reservation.v1 =
46
46
  reservation_host_property_set = blazarclient.v1.shell_commands.hosts:UpdateHostProperty
47
47
  reservation_host_property_show = blazarclient.v1.shell_commands.hosts:ShowHostProperty
48
48
  reservation_host_set = blazarclient.v1.shell_commands.hosts:UpdateHost
49
+ reservation_host_unset = blazarclient.v1.shell_commands.hosts:UnsetAttributesHost
49
50
  reservation_host_show = blazarclient.v1.shell_commands.hosts:ShowHost
50
51
  reservation_lease_create = blazarclient.v1.shell_commands.leases:CreateLeaseBase
51
52
  reservation_lease_delete = blazarclient.v1.shell_commands.leases:DeleteLease
@@ -7,7 +7,7 @@ ignore_basepython_conflict = True
7
7
  basepython = python3
8
8
  install_command = pip install {opts} {packages}
9
9
  deps =
10
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
10
+ -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2026.2}
11
11
  -r{toxinidir}/test-requirements.txt
12
12
  -r{toxinidir}/requirements.txt
13
13
  setenv = VIRTUAL_ENV={envdir}
@@ -30,7 +30,7 @@ import_exceptions = blazarclient.i18n
30
30
 
31
31
  [testenv:venv]
32
32
  deps =
33
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
33
+ -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2026.2}
34
34
  -r{toxinidir}/requirements.txt
35
35
  -r{toxinidir}/doc/requirements.txt
36
36
  commands = {posargs}
@@ -51,6 +51,6 @@ commands =
51
51
 
52
52
  [testenv:releasenotes]
53
53
  deps =
54
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
54
+ -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2026.2}
55
55
  -r{toxinidir}/doc/requirements.txt
56
56
  commands = sphinx-build -a -W -E -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
@@ -1 +0,0 @@
1
- {"git_version": "51e672b", "is_release": true}