| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This saves the users from writing scripts with "-f value -c uuid" or
similar. It is also faster since OSC initialisation takes significant
time (up to several seconds).
Change-Id: I8ec6da97dc30d97764655b52b712c95f6c22c76a
|
| |/
|
|
| |
Change-Id: I32171ce0d61af00b7d242d455221a903692976f0
|
| |
|
|
|
|
|
|
|
| |
Replace 'has_calls' with 'assert_has_calls'.
Change-Id: I075919e633aa93486270f872465940ae569b48ab
Stroy: 2010306
Task: 46339
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Downstream test environments appear to have a file called 'foo' either
created out-of-band, or created by tests executed in a
non-deterministic order.
This changes the test data to very invalid json which is unlikely to
be a filename, ensuring the expected codepath is tested.
Change-Id: I88ed81337c6e2d724b3cf4ddf90e0d60fa052d1c
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently when --config-drive should point to a file or directory the
command silently uses the path as a configdrive if this file/directory
does not exist.
This is not easily understandable for the user as no error message appears.
Change-Id: I92d8ce2a61f459ce14335bfb05424dc883dbc4d1
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds support for rest API version 1.78, which
covers the node history feature.
Story: 2002980
Task: 43319
Change-Id: I6edbc38353a4b2f7b0a758108bc91cc9fb72a29d
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit add support for fields selector to the driver CLI.
* ``openstack baremetal driver list --fields <field> [<field> ...]``
* ``openstack baremetal driver show <driver_name> --fields <field> [<field> ...]``
Depends-On: https://review.opendev.org/c/openstack/ironic/+/804416
Story: 1674775
Task: 43043
Change-Id: I2d691feec876f6978d5075e779ea465ed660f09e
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the configuration drive generation code made
use of ``genisoimage``, however ``genisoimage`` is not shipped
universally on all linux distributions, and largely has been
replaced in distributions with other forks, as the tooling has
evolved, forked, and changed over the past quarter century.
We now attempt to utilize multiple different commands, including
the original ``mkisofs`` command and the newer ``xorrisofs``
command when attempting to generate the ISO image, falling back
until one works.
Credit goes to I720f25921f8e52f20a631f238a528dedf65a91c6 for
the base pattern in OpenstackSDK.
Story: 2009230
Task: 43328
Change-Id: Ic732c2e6c77474e0d5b701c47758959c3511743b
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Story: 2008567
Task: 41709
depends-on: https://review.opendev.org/c/openstack/ironic/+/800084
Change-Id: I2937ea924ccc4ca6e9ab5599aa02e3c078c166b3
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new params to the 'baremetal node bios setting list' command to
include support for the BIOS registry. The '--long' option will
retrieve and display the additonal BIOS registry fields, the '--fields'
option will retrieve and display selected fields. The header names
when the '--long' or '--fields' options are not used match the existing
functionality.
Note that the 'baremetal node bios setting show' includes these fields
by default with no changes.
Change-Id: I9d6d2e42879e12cce8e1f2111be1a27f1a251de2
|
| |
|
|
|
|
| |
Story: 2008567
Task: 41709
Change-Id: Idde66fc37d5395e02ad95e6bf5342b555b479b8e
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
There are several missing unit tests for provision state
commands. This patch adds them.
Change-Id: Ie5b08f682f3cb8fbc5016cb02e689bb1934798f3
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: Id1c6f1a69161e3ddbb83c9229aa9be84a0c8c02d
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We somehow manage to merge a patch that breaks them. Import the required
code from change Ibb8c4676f653c36978bd0c9815ddf7eb80fa8670.
Make sure we run functional tests on ironicclient/tests changes.
Change-Id: I94e2b3d9ae669f2522f42879dd3ee3bd78b73c77
Co-Authored-By: Kyrylo Romanenko <kromanenko@mirantis.com>
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add tests for options:
--extra
--pxe-enabled
--local-link-connection
Change-Id: Idf70f8b24df6439a6a4ece9c840d904a4bcb8a8a
Partial-Bug: #1566329
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | | |
Change-Id: I98ca7ee19399dfa0499c5db71257dddb64a3cf61
|
| |/ /
| |
| |
| |
| |
| | |
Using a non-existing file currently results in a cryptic message.
Change-Id: I0489380d3a3ac1c9286e754c488df68f2b85c22f
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Story: 2008043
Task: 41409
Depends-On: https://review.opendev.org/c/openstack/ironic/+/768353
Change-Id: I6adffcf304ca090ff551280f3ec4c9d09a5537d8
|
| |/ /
| |
| |
| | |
Change-Id: I683d3e2342142d6c87c4b270ccaf82445d22e9ef
|
| |/
|
|
|
|
|
|
|
| |
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.
Also fix functional tests.
Change-Id: Iafad733ac813da65ceb1864cb24af65e924732b7
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This change also allows passing ironic API microversion in places
where it was not possible previously, for consistency.
Story: 2007611
Task: 39602
Change-Id: I08a1d2227138e1c57ce865f159d0fc68ae95d8f0
|
| | |
| |
| |
| |
| |
| | |
It seems to have changed recently.
Change-Id: Ie84f5d9c3d657a49d4c443efdd695d69f5150142
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
vif_attach has the capability to attach to a specific baremetal port.
This change provides an explicit (and optional) parameter for the
baremetal port UUID.
Change-Id: Ie2bedda11ccf479db0cbc3dc51f100ae49f81bc2
|
| |\ \ \
| | |/
| |/| |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change also allows passing ironic API microversion in places
where it was not possible previously, for consistency.
Story: 2007611
Task: 39602
Change-Id: Ib364456c0fa9f09002750131615d97f4f9d0a4de
|
| |\ \ \
| |/ / |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change also allows passing os_ironic_api_version into create and
delete methods, which was not possible previously.
Story: 2007611
Task: 39602
Change-Id: I28e094df8ca0b1921fb8b6d503e8d09dfff064d7
|
| |\ \ \
| |/ /
| | /
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change allows to pass additional_headers and global_request_id
to keystoneauth's Adapter constructor. Also SessionClient now makes
use of them while doing HTTP requests (apart from version negotitaion
requests).
Story: 2007611
Task: 39602
Change-Id: I75cb9311bf44cbf7f6f8737d1d37b2be503be3f9
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds support for adding static network configuration to ironic node
object by adding ``network-data`` attribute to "node" osc
command.
Depends-On: https://review.opendev.org/#/c/687910/
Change-Id: I771911cbc2cfaef2cbac841fc76971e042c010c1
Story: 2006691
Task: 37072
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It was used to smoothen out the difference in handling bytes in
Python 2 and 3. Now that we only support Python 3, it can be
replaced.
A side effect of this change is that we no longer accept bytes
in JSON. JSON does not support bytes, but this problem has been
hidden due to oslo.serialization until now. The configdrive
handling has been updated to account for that.
Change-Id: I230b55db55bce08d46f5023ad7a3f6501c96d100
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I805f5a4a901e410492c543c1857943ffd744ea35
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
| |/
|
|
|
|
|
|
|
|
| |
Restore pep 8check for import order.
Set flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.
Change-Id: I989a84e362a18225c6f79580b22bb028d3e265ff
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support to display and update the lessee field of a node.
Change-Id: I4d163a6c4514810526cc24a83cb8414640be956e
Story: 2006506
Task: 37930
Depends-On: https://review.opendev.org/706864
|
| |/
|
|
|
|
|
|
|
| |
It is only used to populate the list of supported Session options.
Use openstacksdk to create a session with all arguments instead.
Since it's already a dependency of osc-lib, this changes adds no
new dependencies, while substantially simplifying the code.
Change-Id: I6100f94c18cbf3e90d4a6d3ec2a3fc74ebea53a5
|
| |
|
|
|
|
|
|
| |
The new version enables a lot of standard flake8 checks, so a few
fixes are required. W503 is disabled as it conflicts with W504
and the latter seems to be preferred nowadays.
Change-Id: I7c66f18be46af73a47919deef1f38c1f1d3cc741
|
| |
|
|
|
|
|
| |
This patch adds the --no-retired option to list nodes that are not
marked for retirement.
Change-Id: If20529e12854e0e6a0a09515f3cbc2fbf3390e03
|