python-blazarclient 4.4.0__tar.gz → 4.6.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.
Files changed (97) hide show
  1. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/ChangeLog +14 -0
  2. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/PKG-INFO +11 -2
  3. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/shell.py +1 -0
  4. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/shell_commands/hosts.py +26 -0
  5. python_blazarclient-4.6.0/doc/requirements.txt +3 -0
  6. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/python_blazarclient.egg-info/PKG-INFO +11 -2
  7. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/python_blazarclient.egg-info/SOURCES.txt +3 -1
  8. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/python_blazarclient.egg-info/entry_points.txt +1 -0
  9. python_blazarclient-4.6.0/python_blazarclient.egg-info/pbr.json +1 -0
  10. python_blazarclient-4.6.0/releasenotes/notes/add-host-unset-command-7879e9f0d70e1b08.yaml +5 -0
  11. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/2024.1.rst +1 -1
  12. python_blazarclient-4.6.0/releasenotes/source/2025.2.rst +6 -0
  13. python_blazarclient-4.6.0/releasenotes/source/2026.1.rst +6 -0
  14. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/index.rst +2 -0
  15. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/requirements.txt +0 -4
  16. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/setup.cfg +1 -0
  17. python_blazarclient-4.6.0/test-requirements.txt +7 -0
  18. python_blazarclient-4.4.0/MANIFEST.in +0 -9
  19. python_blazarclient-4.4.0/doc/requirements.txt +0 -7
  20. python_blazarclient-4.4.0/python_blazarclient.egg-info/pbr.json +0 -1
  21. python_blazarclient-4.4.0/test-requirements.txt +0 -10
  22. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/.stestr.conf +0 -0
  23. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/.zuul.yaml +0 -0
  24. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/AUTHORS +0 -0
  25. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/HACKING.rst +0 -0
  26. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/LICENSE +0 -0
  27. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/README.rst +0 -0
  28. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/__init__.py +0 -0
  29. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/base.py +0 -0
  30. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/client.py +0 -0
  31. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/command.py +0 -0
  32. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/exception.py +0 -0
  33. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/i18n.py +0 -0
  34. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/osc/__init__.py +0 -0
  35. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/osc/plugin.py +0 -0
  36. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/__init__.py +0 -0
  37. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/test_base.py +0 -0
  38. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/test_client.py +0 -0
  39. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/test_command.py +0 -0
  40. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/test_plugin.py +0 -0
  41. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/test_shell.py +0 -0
  42. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/v1/__init__.py +0 -0
  43. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/v1/shell_commands/__init__.py +0 -0
  44. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/v1/shell_commands/test_floatingips.py +0 -0
  45. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/v1/shell_commands/test_hosts.py +0 -0
  46. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/tests/v1/shell_commands/test_leases.py +0 -0
  47. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/utils.py +0 -0
  48. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/__init__.py +0 -0
  49. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/allocations.py +0 -0
  50. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/client.py +0 -0
  51. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/floatingips.py +0 -0
  52. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/hosts.py +0 -0
  53. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/leases.py +0 -0
  54. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/shell_commands/__init__.py +0 -0
  55. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/shell_commands/allocations.py +0 -0
  56. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/shell_commands/floatingips.py +0 -0
  57. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/v1/shell_commands/leases.py +0 -0
  58. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/blazarclient/version.py +0 -0
  59. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/python_blazarclient.egg-info/dependency_links.txt +0 -0
  60. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/python_blazarclient.egg-info/not-zip-safe +0 -0
  61. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/python_blazarclient.egg-info/requires.txt +0 -0
  62. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/python_blazarclient.egg-info/top_level.txt +0 -0
  63. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/.placeholder +0 -0
  64. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/bug-1777548-6b5c770abc6ac360.yaml +0 -0
  65. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/bug-1783296-set-start-date-to-now-e329a6923c11432f.yaml +0 -0
  66. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/default-affinity-value-150947560fd7da3c.yaml +0 -0
  67. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/drop-python-3-8-and-3-9-51d2e25d71240731.yaml +0 -0
  68. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/drop-python2-c3c1601e92a9b87a.yaml +0 -0
  69. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/flavor-based-instance-reservation-ec9730ddfeabdf15.yaml +0 -0
  70. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/floatingip-reservation-update-5823a21516135f17.yaml +0 -0
  71. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/floatingip-support-d184a565f324d31b.yaml +0 -0
  72. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/host-allocation-fad8e511cb13c0e8.yaml +0 -0
  73. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/host-resource-property-9ac5c21bd3ca6699.yaml +0 -0
  74. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/ksa-loading-9731c570772c826a.yaml +0 -0
  75. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/openstackclient-support-f591eef2dc3c1a8b.yaml +0 -0
  76. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/parse-required-floatingips-f79f79d652e371ae.yaml +0 -0
  77. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/respect-selected-region-a409773f851ccb47.yaml +0 -0
  78. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/notes/separate-id-parser-argument-from-showcommand-ce92d0c52dd1963e.yaml +0 -0
  79. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/2023.1.rst +0 -0
  80. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/2023.2.rst +0 -0
  81. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/2024.2.rst +0 -0
  82. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/2025.1.rst +0 -0
  83. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/_static/.placeholder +0 -0
  84. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/_templates/.placeholder +0 -0
  85. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/conf.py +0 -0
  86. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/rocky.rst +0 -0
  87. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/stein.rst +0 -0
  88. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/train.rst +0 -0
  89. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/unreleased.rst +0 -0
  90. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/ussuri.rst +0 -0
  91. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/victoria.rst +0 -0
  92. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/wallaby.rst +0 -0
  93. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/xena.rst +0 -0
  94. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/yoga.rst +0 -0
  95. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/releasenotes/source/zed.rst +0 -0
  96. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/setup.py +0 -0
  97. {python_blazarclient-4.4.0 → python_blazarclient-4.6.0}/tox.ini +0 -0
@@ -1,6 +1,20 @@
1
1
  CHANGES
2
2
  =======
3
3
 
4
+ 4.6.0
5
+ -----
6
+
7
+ * Add host unset command
8
+ * Update master for stable/2026.1
9
+
10
+ 4.5.0
11
+ -----
12
+
13
+ * Remove MANIFEST.in
14
+ * Remove note about old pip's behavior
15
+ * reno: Update master for unmaintained/2024.1
16
+ * Update master for stable/2025.2
17
+
4
18
  4.4.0
5
19
  -----
6
20
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: python-blazarclient
3
- Version: 4.4.0
3
+ Version: 4.6.0
4
4
  Summary: Client for OpenStack Reservation Service
5
5
  Home-page: https://launchpad.net/blazar
6
6
  Author: OpenStack
@@ -30,6 +30,15 @@ Requires-Dist: oslo.log>=3.36.0
30
30
  Requires-Dist: oslo.utils>=7.0.0
31
31
  Requires-Dist: keystoneauth1>=3.4.0
32
32
  Requires-Dist: osc-lib>=1.3.0
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: description
36
+ Dynamic: home-page
37
+ Dynamic: license
38
+ Dynamic: license-file
39
+ Dynamic: requires-dist
40
+ Dynamic: requires-python
41
+ Dynamic: summary
33
42
 
34
43
  ========================
35
44
  Team and repository tags
@@ -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'
@@ -0,0 +1,3 @@
1
+ openstackdocstheme>=2.2.1 # Apache-2.0
2
+ reno>=3.1.0 # Apache-2.0
3
+ sphinx>=2.0.0,!=2.1.0 # BSD
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: python-blazarclient
3
- Version: 4.4.0
3
+ Version: 4.6.0
4
4
  Summary: Client for OpenStack Reservation Service
5
5
  Home-page: https://launchpad.net/blazar
6
6
  Author: OpenStack
@@ -30,6 +30,15 @@ Requires-Dist: oslo.log>=3.36.0
30
30
  Requires-Dist: oslo.utils>=7.0.0
31
31
  Requires-Dist: keystoneauth1>=3.4.0
32
32
  Requires-Dist: osc-lib>=1.3.0
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: description
36
+ Dynamic: home-page
37
+ Dynamic: license
38
+ Dynamic: license-file
39
+ Dynamic: requires-dist
40
+ Dynamic: requires-python
41
+ Dynamic: summary
33
42
 
34
43
  ========================
35
44
  Team and repository tags
@@ -4,7 +4,6 @@ AUTHORS
4
4
  ChangeLog
5
5
  HACKING.rst
6
6
  LICENSE
7
- MANIFEST.in
8
7
  README.rst
9
8
  requirements.txt
10
9
  setup.cfg
@@ -54,6 +53,7 @@ python_blazarclient.egg-info/pbr.json
54
53
  python_blazarclient.egg-info/requires.txt
55
54
  python_blazarclient.egg-info/top_level.txt
56
55
  releasenotes/notes/.placeholder
56
+ releasenotes/notes/add-host-unset-command-7879e9f0d70e1b08.yaml
57
57
  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
@@ -74,6 +74,8 @@ releasenotes/source/2023.2.rst
74
74
  releasenotes/source/2024.1.rst
75
75
  releasenotes/source/2024.2.rst
76
76
  releasenotes/source/2025.1.rst
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:UnsetAttributeHost
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": "00a0689", "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.
@@ -3,4 +3,4 @@
3
3
  ===========================
4
4
 
5
5
  .. release-notes::
6
- :branch: stable/2024.1
6
+ :branch: unmaintained/2024.1
@@ -0,0 +1,6 @@
1
+ ===========================
2
+ 2025.2 Series Release Notes
3
+ ===========================
4
+
5
+ .. release-notes::
6
+ :branch: stable/2025.2
@@ -0,0 +1,6 @@
1
+ ===========================
2
+ 2026.1 Series Release Notes
3
+ ===========================
4
+
5
+ .. release-notes::
6
+ :branch: stable/2026.1
@@ -6,6 +6,8 @@
6
6
  :maxdepth: 1
7
7
 
8
8
  unreleased
9
+ 2026.1
10
+ 2025.2
9
11
  2025.1
10
12
  2024.2
11
13
  2024.1
@@ -1,10 +1,6 @@
1
1
  # Requirements lower bounds listed here are our best effort to keep them up to
2
2
  # date but we do not test them so no guarantee of having them all correct. If
3
3
  # you find any incorrect lower bounds, let us know or propose a fix.
4
-
5
- # The order of packages is significant, because pip processes them in the order
6
- # of appearance. Changing the order has an impact on the overall integration
7
- # process, which may cause wedges in the gate later.
8
4
  pbr!=2.1.0,>=2.0.0 # Apache-2.0
9
5
  cliff!=2.9.0,>=2.8.0 # Apache-2.0
10
6
  PrettyTable>=0.7.1 # BSD
@@ -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:UnsetAttributeHost
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
@@ -0,0 +1,7 @@
1
+ hacking>=7.0.0,<7.1.0 # Apache-2.0
2
+
3
+ oslotest>=3.2.0 # Apache-2.0
4
+ fixtures>=3.0.0 # Apache-2.0/BSD
5
+ stestr>=2.0.0 # Apache-2.0
6
+ testtools>=2.2.0 # MIT
7
+ coverage!=4.4,>=4.0 # Apache-2.0
@@ -1,9 +0,0 @@
1
- include AUTHORS
2
- include README.rst
3
- include ChangeLog
4
- include LICENSE
5
-
6
- exclude .gitignore
7
- exclude .gitreview
8
-
9
- global-exclude *.pyc
@@ -1,7 +0,0 @@
1
- # The order of packages is significant, because pip processes them in the order
2
- # of appearance. Changing the order has an impact on the overall integration
3
- # process, which may cause wedges in the gate later.
4
-
5
- openstackdocstheme>=2.2.1 # Apache-2.0
6
- reno>=3.1.0 # Apache-2.0
7
- sphinx>=2.0.0,!=2.1.0 # BSD
@@ -1 +0,0 @@
1
- {"git_version": "0326b12", "is_release": true}
@@ -1,10 +0,0 @@
1
- # The order of packages is significant, because pip processes them in the order
2
- # of appearance. Changing the order has an impact on the overall integration
3
- # process, which may cause wedges in the gate later.
4
- hacking>=7.0.0,<7.1.0 # Apache-2.0
5
-
6
- oslotest>=3.2.0 # Apache-2.0
7
- fixtures>=3.0.0 # Apache-2.0/BSD
8
- stestr>=2.0.0 # Apache-2.0
9
- testtools>=2.2.0 # MIT
10
- coverage!=4.4,>=4.0 # Apache-2.0