Adds support for rest API version 1.78, which
covers the node history feature.
Story: 2002980
Task: 43319
Change-Id: I6edbc38353a4b2f7b0a758108bc91cc9fb72a29d
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I259f4d64f97a47676a756bba6ae8660e55dd45d1
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: I3bd3cb43cd9764bdfe069dfcfd10bd4ed35620d5
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This changes adds a new command ``baremetal`` that works mostly like
the OSC ``openstack baremetal`` command but does not require OSC and
defaults to no-auth. No changes in existing commands are required,
the existing OSC plugins are pulled in.
Change-Id: Id4895ec37bfb58eb635e5c8519f96f1bdc30c925
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: Ibc9c3d9448dc204e7877a00a9970e1673fd2951e
The ironic command is dead, long live the OSC baremetal command.
Also removed the json_respose tests, which seemed ot be geared
to checking json returned data on the command line. For ironic
these tests seemed to be very explicit for our CLI where as OSC
should be covering the return data handling, the only real end
effect is field level expectation enforcement in the functional
test... which seems excessive and un-needed.
Story: 1726605
Task: 11974
Depends-on: https://review.opendev.org/677183
Change-Id: I3e3ae416a65d8e01956434ba51bd3187ab001f80
Adds the Python API to create/list/view/delete allocations, as well
as the OpenStackClient commands.
Change-Id: Ib97ee888c4a7b6dfa38934f02372284aa4c781a0
Story: #2004341
Task: #28028
Adds conductor resource to the CLI, the support to list and show
conductor resource, and filter nodes by conductor field.
Story: 1724474
Task: 28066
Change-Id: I9644b9b1bbe2f4f5aa6e80a6bb7ab9b0a4663a6f
This adds support for the BIOS Setting APIs in the
openstackclient plugin. Also bump the last known
API version to 1.40 to get access to new API.
Change-Id: I1b4185e53818686c895d1fe526ba3fe5540873b3
Adding support for rescue and unrescue to OSC.
Co-Authored-By: Michael Turek <mjturek@linux.vnet.ibm.com>
Co-Authored-By: Dao Cong Tien <tiendc@vn.fujitsu.com>
Change-Id: Id865d7c9a40e8d85242befb2a0335abe0c52dac7
Depends-On: I3953ff0b1ca000f8ae83fb7b3c663f848a149345
Partial-bug: 1526449
This adds support for the traits APIs in both the node portion of the
SDK, and the openstackclient plugin. We also bump the last known API
version to 1.37 to get access to the new API.
Change-Id: I72017d51dea194ec062a66cb19d718ba827e7427
Partial-Bug: #1722194
Depends-On: I313fa01fbf20bf0ff19f102ea63b02e72ac2b856
This replaces 'openstack baremetal node power <on|off>' with
the two commands: 'openstack baremetal node power on' and
'openstack baremetal node power off'.
The two commands are more in line with openstackclient guidelines.
There is no change to the user issuing the power command (the actual
command line is the same). However, help and lists (e.g. via
'openstack -h baremetal') will show the individual power commands.
Change-Id: I39ab81e148ca28ce24d402106228fb5dd2f6d60e
Closes-Bug: #1619363
OpenStack client is not a runtime dependency of ironicclient,
and having it in requirements just brings in many dependencies
which might not be needed at all when using the Python API of the client
only (for example in server-side applications).
Although dependency on osc-lib is enough for unit tests, add
python-openstackclient to test-requirements so that functional tests
pass.
Also, add a setuptools 'extra' so that users can install
python-openstackclient together with ironicclient if wishing to do so
as follows:
pip install python-ironicclient[cli]
Change-Id: Ic7d06e61cd234b327613287802361c58bf6bf11e
Closes-Bug: #1562023
Following commands were deprecated one year ago, now we remove them
from the tree:
* openstack baremetal create
* openstack baremetal delete
* openstack baremetal list
* openstack baremetal show
* openstack baremetal set
* openstack baremetal unset
Note that `openstack baremetal create` is used to create a single node
as well as create resources from file(s). Only the deprecated part
(create a single node) is removed in this patch.
Closes-Bug: #1715643
Change-Id: I0aed7cb970adf23db033c2a951026d649134caa9
In the doc-migration, warning-is-error was never enabled
for python-ironicclient. As such, I've enabled it and
corrected the various document errors.
Change-Id: I2d1b95fba25dba5d59da3f4b09b9974ff5196940
1. Update URLs according to document migration
2. Update the dead and outdated links
3. Optimize (e.g. http -> https)
Change-Id: I63c0f87a6a0b1e0c36dfbd52cef65ede376ae222
This patch adds the following commands for volume connector.
- openstack baremetal volume connector create
- openstack baremetal volume connector show
- openstack baremetal volume connector list
- openstack baremetal volume connector delete
- openstack baremetal volume connector set
- openstack baremetal volume connector unset
It also bumps known API version to 1.32 and hides a link to volume
resources from node information.
Change-Id: I5bb189631bf79f32cd031e5a5b68a5c8d42a987f
Partial-Bug: 1526231
Extends the OSC plugin with the new command:
openstack baremetal driver raid property list <driver>
This returns a list of the names of the driver's RAID
logical disk properties along with their descriptions.
Change-Id: Ie4baeb2920a9ab114204ac4aee4a561492ba2741
Closes-Bug: 1619052
Co-Authored-By: Ruby Loo <ruby.loo@intel.com>
Extends OSC plugin with the new command:
openstack baremetal driver property list <driver>
This returns a list of the names of a driver's properties
along with their descriptions.
Change-Id: I4419daa68928a479971dab80806f0dfac37224a4
Closes-Bug: 1619053
Co-Authored-By: Ruby Loo <ruby.loo@intel.com>
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: Ieb56cf5facaecc9f0af2904fef99104446ca8299
This patch add a new OSC command for Inject NMI,
'openstack baremetal node inject nmi'.
Partial-Bug: #1526226
Change-Id: I669c0913450a412adf84c1b9581b43e4dd078bbd
Extends the OSC plugin with new commands related
to the drivers:
* openstack baremetal driver list
* openstack baremetal driver passthru call
* openstack baremetal driver passthru list
* openstack baremetal driver show
Change-Id: I68ae82d1ff7e2944c1d04f86c4362b6c0f499df1
Partial-Bug: 1526479
Co-Authored-By: Ruby Loo <ruby.loo@intel.com>
This extends the OpenStackClient plugin with new commands related
to the chassis:
* openstack baremetal chassis create
* openstack baremetal chassis delete
* openstack baremetal chassis list
* openstack baremetal chassis set
* openstack baremetal chassis show
* openstack baremetal chassis unset
Change-Id: I6a655b9f136d0214b6e9bb868f411ba948557ac3
Partial-Bug: 1526479