Commit Graph

77 Commits

Author SHA1 Message Date
Lingxian Kong e41d08d243 Support project name in quota CLI
Change-Id: I9886792f346bbe8d4887539ca69588b4957547e1
2021-04-29 14:17:48 +12:00
likui e15a3a2733 Remove Babel requirement
Remove babel.cfg and the translation bits from setup.cfg, those are not
needed anymore.

Change-Id: Ia70ca75cde26c41aab142ca7a8fff977aedc0f42
2020-10-15 18:26:35 +08:00
wangzihao 17d2d5175e Remove six
Remove all usages of six.

Change-Id: I6ea8d1cdc3060d5c2a4311c7454b66ba75109b0c
2020-10-13 11:02:06 +08:00
Doug Hellmann 1dd0c2e26f add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

About PrettyTable requirement:
The minimum version of PrettyTable is not correct in requirements.txt,
which should be 0.7.2 according to the unittests(before 0.7.2, if the
table is empty, i.e. no rows in the table, PrettyTable won't print the
headers and borders, this is changed during 0.7.2)

Co-Authored-By: Zhao Chao <zhaochao1984@gmail.com>
Change-Id: Ia9cadcbc2bc9aa2864fe47040dfe7be8ae286b98
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-16 20:02:01 +08:00
OpenStack Proposal Bot 8aaf3c8f1c Updated from global requirements
Change-Id: Ia83b80d03bd227522d29f743eb48a270048cc84c
2018-02-17 10:20:05 +00:00
OpenStack Proposal Bot 9d4a91235f Updated from global requirements
Change-Id: I6795c7aa07a0faf3f4d18439e5e21325e02ff1f9
2017-12-21 00:47:24 +00:00
OpenStack Proposal Bot 51037c8037 Updated from global requirements
Change-Id: If8791552165fd5ed4985b383d7bf904e6cb4fb60
2017-11-16 11:27:04 +00:00
OpenStack Proposal Bot bd07aad3b3 Updated from global requirements
Change-Id: I0e5a12a0841a5767c46a81479df2b2d0fe0f068c
2017-11-15 12:03:45 +00:00
OpenStack Proposal Bot ec8b8991cc Updated from global requirements
Change-Id: I2759a64e0274fd7652872c8556537471c2971cf7
2017-11-03 18:08:17 +00:00
OpenStack Proposal Bot c959defd02 Updated from global requirements
Change-Id: I38ee16f82c75f3878afad2b96d710559883a9f03
2017-07-27 20:33:45 +00:00
OpenStack Proposal Bot 2ce6814b5f Updated from global requirements
Change-Id: Id35444edc3284d4cf296067c73db2ef232763cfb
2017-06-10 21:49:22 +00:00
OpenStack Proposal Bot 70da3725f4 Updated from global requirements
Depends-On: I2f2a12207581a94fb8561a6d65a3a79b4a29b063

Change-Id: I9eb71eab2b58b84ee60507d6d473cda883129fa3
2017-05-26 20:25:25 +00:00
OpenStack Proposal Bot b738d74738 Updated from global requirements
Change-Id: I6e79ad39b6f5e3a34ca290b82afbcb211829fdd2
2017-05-06 16:10:17 +00:00
OpenStack Proposal Bot d3bb6c3229 Updated from global requirements
Change-Id: I4c67622963d3650a1fa6e39212b8bfce7198c3b1
2017-04-12 04:22:20 +00:00
OpenStack Proposal Bot 2779af756a Updated from global requirements
Change-Id: I1e47988eb6cd2bf156ba2391539ab4ad871cd180
2017-04-07 06:16:56 +00:00
OpenStack Proposal Bot 9cb3f4fc70 Updated from global requirements
Change-Id: I4923f20fea8c72c147269506edb274d8a52404e7
2017-01-21 15:57:20 +00:00
OpenStack Proposal Bot 1ac7647c6f Updated from global requirements
Change-Id: Idfdb063db10e270835bc12f0ec751e2a9e6ffa4b
2017-01-17 20:37:53 +00:00
Trevor McCasland 4eebd56786 Add OpenStackClient plugin and flavor list
This change adds database support to the python-openstackclient
through a plugin and tests.

The support can be demonstrated through the implementation of
the trove command flavor-list which is now:
    openstack database flavor list

Use the -v or --debug flag to see the calls being made to the correct
flavor list function.

ubuntu@ubuntu:~$ openstack database flavor list -v
START with options: [u'database', u'flavor', u'list', u'-v']
command: database flavor list -> troveclient.osc.v1.flavors.ListFlavors
Using auth plugin: password
+-----+-----------+-------+-------+------+-----------+
|  id | name      |   RAM | vCPUs | Disk | ephemeral |
+-----+-----------+-------+-------+------+-----------+
|   1 | m1.tiny   |   512 |     1 |    1 |         0 |
|   2 | m1.small  |  2048 |     1 |   20 |         0 |
|   3 | m1.medium |  4096 |     2 |   40 |         0 |
|   4 | m1.large  |  8192 |     4 |   80 |         0 |
|  42 | m1.nano   |    64 |     1 |    0 |         0 |
| 451 | m1.heat   |   512 |     1 |    0 |         0 |
|   5 | m1.xlarge | 16384 |     8 |  160 |         0 |
|  84 | m1.micro  |   128 |     1 |    0 |         0 |
|  c1 | cirros256 |   256 |     1 |    0 |         0 |
|  d1 | ds512M    |   512 |     1 |    5 |         0 |
|  d2 | ds1G      |  1024 |     1 |   10 |         0 |
|  d3 | ds2G      |  2048 |     2 |   10 |         0 |
|  d4 | ds4G      |  4096 |     4 |   20 |         0 |
+-----+-----------+-------+-------+------+-----------+
END return value: 0

Change-Id: I308a6c6f3f5ce7dbb814ec0fd8ecb1734a2f137f
Partially-Implements: trove-support-in-python-openstackclient
2017-01-11 16:07:45 -06:00
OpenStack Proposal Bot b07ecb4019 Updated from global requirements
Change-Id: Ibb6eabc88fc83f65ce95efd32218df53d7ff112e
2016-12-23 22:18:30 +00:00
OpenStack Proposal Bot 156b36e852 Updated from global requirements
Change-Id: Ib8dbac98372eea8f12a4bb002853c74420f6da2f
2016-12-05 09:46:53 +00:00
OpenStack Proposal Bot f2435453f3 Updated from global requirements
Change-Id: I3a33bbeda3086a4e5dd6e79dfc80e50052743c97
2016-11-15 00:56:03 +00:00
OpenStack Proposal Bot c4d9ebb66d Updated from global requirements
Change-Id: I1e354412fa15c6f0b8a97b6ec092b9d03002cf47
2016-11-02 03:11:08 +00:00
OpenStack Proposal Bot ab7a0833fe Updated from global requirements
Change-Id: I8a265234e918b612bc55f11384135599590dc011
2016-10-15 00:12:48 +00:00
OpenStack Proposal Bot 1a5dc625a3 Updated from global requirements
Change-Id: I9528beab8f113b198bb1c2377625299033dbb253
2016-10-14 05:44:25 +00:00
OpenStack Proposal Bot ad8be62ebc Updated from global requirements
Change-Id: I1fd7e0ae5333438e619f8201b0573bb4cfb0c9de
2016-09-30 20:06:28 +00:00
Morgan Jones 599171ade4 Implement scheduled backups
Implements Trove client APIs to implement scheduled backups
via Mistral workflow.

Change-Id: I012eb88359e063adbb86979a8fbd2e2a1e83f816
Implements: blueprint scheduled-backups
2016-08-25 16:57:54 -04:00
OpenStack Proposal Bot c96c278701 Updated from global requirements
Change-Id: I98f43b58f73b0f372f204017ae7e7194cc53d3b0
2016-08-03 19:03:14 +00:00
OpenStack Proposal Bot 49c6fa13de Updated from global requirements
Change-Id: Ib7aba3285ef2334dabce62cc890367b8499b8c0d
2016-07-09 19:27:29 +00:00
OpenStack Proposal Bot 107b601475 Updated from global requirements
Change-Id: I9a5a828f9bd84bcbc1a06013b1f7e748a4bd74e2
2016-06-30 18:50:08 +00:00
OpenStack Proposal Bot f0a6d7ff7a Updated from global requirements
Change-Id: I22be8ec609b752ac0bf8c6c59c09342b84b9fa68
2016-06-17 14:21:19 +00:00
OpenStack Proposal Bot abe713cc5c Updated from global requirements
Change-Id: I6a398b588bd902206d1a21c218141f4a0eb4ac6b
2016-06-01 13:54:44 +00:00
OpenStack Proposal Bot 6ebed68143 Updated from global requirements
Change-Id: If5b8ab83da3e197a5eefeb331cf6117efba07615
2016-05-31 03:06:45 +00:00
Steve Martinelli fff88e0a9c switch to keystoneauth
move troveclient to keystoneauth as keystoneclient's auth session,
plugins and adapter code has been deprecated.

Change-Id: I3d57dde9c013038accbab8cc30d9622a142d0f71
2016-05-22 22:06:51 -04:00
OpenStack Proposal Bot 286df261cb Updated from global requirements
Change-Id: Ib5311cb45689dd48f39933358bd0f1e7a2952ccf
2016-05-19 22:15:27 +00:00
OpenStack Proposal Bot 69de54b624 Updated from global requirements
Change-Id: Ife5455093395c3d9264768c6744d4befbb0031d0
2016-05-06 22:22:58 +00:00
OpenStack Proposal Bot adac48712a Updated from global requirements
Change-Id: Ic76198fb85f67d58b6bde212a76d2ee25f74597d
2016-04-13 12:48:50 +00:00
OpenStack Proposal Bot 2950b5e490 Updated from global requirements
Change-Id: I72992abc550bb69124929de905e8983192221a3d
2016-03-28 19:32:05 +00:00
Ronald Bradford 1696a789ee Graduate to oslo.i18n, cleanup incubator usage
Implements: blueprint graduate-oslo-i18n [1]
https://blueprints.launchpad.net/oslo-incubator/+spec/graduate-oslo-i18n

Change-Id: Ie929824e2f88ad44f64efb7d97e1d04991c89802
2016-03-21 16:13:49 +00:00
OpenStack Proposal Bot b56fef2747 Updated from global requirements
Change-Id: Ibdde14aa5ac237b460a8fc3734af69c529bb0de7
2016-02-20 22:00:55 +00:00
OpenStack Proposal Bot da22ce6d76 Updated from global requirements
Change-Id: I7f521aae5575a16856de40b4c1c16ef2002a5ade
2016-01-28 01:31:55 +00:00
Alex Tomic fb33d87fef Client Changes for Guest Log File Retrieval
Implements log file retrieval from the guest agent.  The contents
of the log file are pushed up to a swift container as a series of
objects that represent a subset of the lines in the log.

The following trove CLI commands are implemented:

trove log-list <instance>         : lists log files available on guest
trove log-enable <instance> <log> : enables writing to log file
trove log-disable <instance> <log>: disables writing to log file
trove log-publish <instance> <log>: publishes updates to swift container
trove log-discard <instance> <log>: discards published logs
trove log-tail <instance> <log>   : displays last lines of log
trove log-save <instance> <log>   : saves the entire log to a file

Change-Id: Ic15c455747b9f1966d83d7034c9b748ca5e2cce9
Co-Authored-By: Morgan Jones <morgan@tesora.com>
Co-Authored-By: Alex Tomic <atomic@tesora.com>
Co-Authored-By: Peter Stachowski <peter@tesora.com>
2016-01-27 14:41:15 -05:00
OpenStack Proposal Bot 2be08006b3 Updated from global requirements
Change-Id: I0fa56501666064fe865b51b0d79c7a0449da6fff
2016-01-26 23:29:18 +00:00
Andreas Jaeger 862d9b65e0 Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:23:23 +01:00
OpenStack Proposal Bot 5fd49d4708 Updated from global requirements
Change-Id: Icc1be9e4741aef06018d848d0cd38deec91ad7c4
2016-01-05 10:30:57 +00:00
OpenStack Proposal Bot c488961e9d Updated from global requirements
Change-Id: I4ab4b7f31227701b664db348c50fa01a305c1cfe
2015-12-01 06:10:23 +00:00
OpenStack Proposal Bot e1f3b1cb48 Updated from global requirements
Change-Id: I5f9801dcaf47ab3a39cddb13c1fc174bb88c4d46
2015-11-03 04:34:47 +00:00
OpenStack Proposal Bot 810176c7ad Updated from global requirements
Change-Id: I16af576892acc3a0f1a38c24939b7db4394b1c54
2015-10-16 01:01:09 +00:00
OpenStack Proposal Bot c586285532 Updated from global requirements
Change-Id: I9a1818d3e257b28e02f2a01160f6ae19d151b7fb
2015-09-17 12:17:06 +00:00
OpenStack Proposal Bot ec666caad5 Updated from global requirements
Change-Id: I4b13dbd70796a6f1a81a9ec7e7bc30a49e7fb075
2015-09-04 04:19:26 +00:00
OpenStack Proposal Bot 57bb542d9f Updated from global requirements
Change-Id: I328ff16d966db886a38f1a5b7fab7c3692897847
2015-08-13 20:22:07 +00:00