After an epic battle with time, the python-ironicclient has been
driven from the land of shade, and there will be joy!
Change-Id: I234e2fc9d1800607c22eb447dd3e77428221695e
Additionally removed traces of ironic exceptions
being parsed in operatorcloud.py and removed legacy
tasks related to port lookups.
Also remove patch machine task wrapper as that appears
to have been migrated previously.
Change-Id: Iee9e15f44b8375fdcf00ddba2b44afe217faf478
Apparently, this method either never worked or was silently
broken at some point in the past, since we didn't have tests.
Added two tests and got the method back into working shape.
Change-Id: I26591549c082a2cd206f20fbcb7f1e3a1dde91c7
Update calls for numerous baremetal methods to utilize
the _baremetal_client calls instead of python-ironicclient.
Also corrected a minor baremetal port test and fixed the
base noauth test endpoint override as python-ironicclient
was previously injecting that for us.
Change-Id: I358a63a52067f7d48d71f0b23652491b2497fe43
Based upon discusison and feedback in change
I783fd47db368035d283b4984e4daacf9dc4ac4bd,
I am removing the ability for the caller to
specify the version, as it is not presently
needed.
Change-Id: I14866a407f17849a6699c128ec999a9c71143e4c
Task: 5853
Story: 2001302
Changeset works for me. Unit tests have mended.
I should still try to write up some functional test.
Change-Id: I7dfb45e5c6c4f7a7318ae6705269dd9d3e6100b2
Moved baremetal port tests to a separate file and
updated them to utilize the new testing method.
Additionally, normalized the output of the port lists as
noise is introduced that is not needed.
Change-Id: I60492cca893e823cb2f9937405c75e23cc42807d
Migrating tests to wrap up machine actions.
Ports will be migrated separately as there
will also need to be portgroups, which could
be wrapped into the same file/class depending
on how that ends up being implemented.
Change-Id: I239bbc134f42a47e8df75531dbd50916a97a6068
Location has specific semantics for identity resources. Add a method to
get a projectless location. Add domain_id to project since all of the
identity resources have it already, but keep the parent-project
semantics already in place for project.
Change-Id: Ife37833baabf58d9e329071acb4187842815c7d2
Roles can be domain specific but there is no current way for shade to
allow us to set that value.
Additionally the role name can be updated so this add update_role()
Change-Id: I3279f17cb8871e91fcc3aa3bd18ae8457a0016bb
Neutron recently introduced API call to get details
about current usage of quota by given project.
This patch adds support for this command in Shade.
Related-Bug: #1716043
Change-Id: I74682c6b2a287f54acef91686e7281f45cbe9684
Migrated a number of simpler machine tests to using rest calls,
while removing the mocked client versions of the tests.
Added additional patch_machine tests, which raised the fact that
patch method was not normalizing the data being returned.
Added normalization since those fields are not normally returned
by get_machine.
Change-Id: I1c5f4ebd06fff40da45dbcc0d6ea0f7b108ce8fa
This commit adds a `use_direct_get` flag to the OpenStackCloud
object. The goal is to enable direct calls to the
get_<resource>_by_id methods when a UUID is passed and default
to the `list` and `search` calls otherwise.
Change-Id: I6aebfe7cb40adace0568d8f131e64d6555736712
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>