Commit Graph

21 Commits

Author SHA1 Message Date
Wander Way 34147bcb51 Uncap PrettyTable
This is now maintained as a Jazzband project [1].

[1] https://github.com/jazzband/prettytable

Change-Id: I799a41f4d807ad964d55a79c3f00c3c7c07fddfd
2021-02-20 10:22:50 +08:00
Iury Gregory Melo Ferreira c765bbe8a8 Stop using six library
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.

Change-Id: I19384db89fc2a68376efc3f9f2e05fbd05046fd6
2019-12-03 15:15:20 +01:00
Iury Gregory Melo Ferreira 33871b187b Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

metalsmith is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: Icf19488a3f230084faaf2ab5ece626b03495592e
2019-11-25 13:33:37 +01:00
Dmitry Tantsur 24d006b996 Bring formatting in line with other OpenStack CLI
Change-Id: Ifb299d5d95245e8848785eb2e2a7018fbb4129d6
2019-07-22 15:01:15 +02:00
Dmitry Tantsur e9c25b02e5 Use allocation name for hostname instead of a custom field
This concludes the switch to the allocation API.

Change-Id: I25cdae7d17604140f728fdbcfea4110cbd222679
2019-06-07 11:08:48 +02:00
Dmitry Tantsur 0161effc3a Build configdrives on ironic side
Change-Id: Ia058a410d1b1277497fbb645fc102c8b0a7aba4f
2019-05-17 10:30:41 +02:00
Dmitry Tantsur 1afa4ac4ed Expose Allocation objects on Instance
Change-Id: If62a6829478c532428aff2f5f51edc35df8ee2e1
2019-05-16 12:15:52 +02:00
Dmitry Tantsur 02932096df Clean up the edge cases around states
Currently show_instance returns an Instance even if the requested node
is not actually an instance (e.g. just an available node). This change
corrects it. Make list_instances consistent with it.

Also make the states a proper enum to avoid consumers from using invalid
values (I did it several times when working on this patch).

Change-Id: If9aad0d7f4d10a7119d1f0bccc1cc32a918a72e3
2019-01-18 17:49:01 +01:00
Dmitry Tantsur eee74d31b8 Completely switch to openstacksdk
Change-Id: I1729797fa03095d200c7334281915abc284b5732
2019-01-15 10:24:52 +01:00
Dmitry Tantsur 6de505be69 Always use the latest cirros image
Also limit lower-constraints to only direct dependencies, otherwise
things conflict with each other (and of little use anyway).

Change-Id: Ice8b6a72f5833d625352ffd09f64608afc4eac67
2019-01-15 10:22:55 +01:00
Dmitry Tantsur 6bdd479773 Support for HTTP image location
Story: #2002048
Task: #19695
Change-Id: I75f33ebca3ea65274dcfcd8f4ddbd193f34706a9
2018-09-07 10:04:38 +02:00
Dmitry Tantsur 86ef953d49 Stop depending on oslo.utils
We use it only in one place, which can be easily replaced.

Change-Id: Ic878e890de68c087eef1a791938ecfc8275c30bc
2018-05-17 16:34:19 +02:00
Dmitry Tantsur 21b64a1590 Use openstacksdk instead of neutronclient
Change-Id: I1b89af68c1c55ee68bd0ec3fea07df4b8dbb694c
2018-05-16 14:18:07 +02:00
Dmitry Tantsur 5214aee521 Use openstacksdk instead of glanceclient
Change-Id: If7d5ff7381ed2d1c94b1820e91b2b7e352a7e160
2018-05-16 14:16:17 +02:00
Dmitry Tantsur 87a053a5aa Use openstack.config for arguments parsing
This change switches the CLI to use openstacksdk for populating
authentication arguments and creating a session. As a side effect,
using clouds.yaml is now supported and used in the CI.

Change-Id: If20ddc46f10d9deb34e595310313bd87e2e7243b
2018-05-16 13:37:29 +02:00
Dmitry Tantsur 9f1b7755fc Grand refactor to split out reusable bits 2018-05-08 21:32:14 +02:00
Dmitry Tantsur 28a72f82bc Switch to keystoneauth1, identity v3 and glance v2 2017-09-20 13:19:08 +02:00
Dmitry Tantsur 8d3f6973f0 Update from Pike requirements 2017-09-20 12:26:47 +02:00
Dmitry Tantsur fac53fbef3 Reservation and stubs for deployment 2015-08-27 15:52:10 +02:00
Dmitry Tantsur 7e7b2af9ba Initial OpenStack API support 2015-08-27 13:31:56 +02:00
Dmitry Tantsur 4ea236c786 Initial structure 2015-08-27 12:15:49 +02:00