Commit Graph

49 Commits

Author SHA1 Message Date
Monty Taylor 1aff44b7b8 Retire stackforge/python-libraclient 2015-10-17 16:04:33 -04:00
Jamie McCarthy 48f93c8a74 Permit newer versions of nova client
python_novaclient prior to 2.14.2 has pbr requirements that conflict
with other modules' requirements, making installation impossible.
Newer versions are fine.

shell.py whitespace changes are to pass pep8. Dummy test is to pass
python27.

Change-Id: I506e9c9d23e155be29481153522b24c1b8235fe8
2015-01-22 12:50:29 -05:00
David Shrewsbury ee5f2cfe4f Set PrettyTable min version
Having version 0.6.1 makes PrettyTable use not work.

Change-Id: I27c983e7312e834b350855ed2bbd9ae4729f83cb
2013-12-19 12:11:25 -05:00
Marc Pilon 645e6042c2 Make all monitoring params required. Otherwise it sets
everything back to defaults.

Change-Id: I788e6d14cd3136c305a476c5680ec6f781bd506d
2013-12-13 19:15:43 -05:00
Jenkins 4b15e6ece9 Merge "[DOCS] Fix errors and add some details" 2013-11-22 10:59:39 +00:00
Endre Karlson 7616094833 [DOCS] Fix errors and add some details
Change-Id: Ie2f4cd70557920fba83f2c8478309a7d757345ff
2013-11-18 17:49:58 +01:00
Andrew Hutchings c677e34185 Fix requirements
Change-Id: Ifd6dfbe8631a8d927df91f508088ec4544fe61a5
2013-11-13 13:50:23 +00:00
Endre Karlson a3ae039fc9 Major re-amp of client (See points)
* Uses auth plugins - is still WIP but using a working one for now.
  Will have to re-visit this once it lands in keystone / oslo update.
* Resource and Manager abstractions.
* Python 3 compatability.
* Split the API/Bindings and Shell code
* Use entrypoints for versions
* Mandatory options are now positional
  Example: libra <cmd> --id <id> is now libra <cmd> <id>

Change-Id: I42275cc88be5689f040864e195e48c5ebacb2cea
2013-11-13 13:51:45 +01:00
Endre Karlson fda54cbc5b [DOC] Improved installation instructions
* Update installation docs to include from source, pip, ppa (package),
  development mode.
* Disable manpage generation (Causes dedent errors and not needed)

Change-Id: I307d63c2a758b1715f4c8ce9b243ad9877479a02
2013-10-16 13:54:14 +02:00
Endre Karlson 00861be6ab Bring repository up to speed
* Adds the "build" folder to be ignored by git
    * Adds CONTRIBUTING.rst file contribution instructions.
    * Adds HACKING.rst for hacking guidelines
    * Renames README > README.rst to be more inline with other client repos.
    * Moves *requirements.txt into root to be inline with other repos.
    * Adds LICENSE with Apache license contents
    * Changes project to use PBR for versioning etc instead of hardcoded
      versioning - other change is being made in order to tag the client
      repository to utilize TAGS / git SHA1 for versioning instead when doing
      sdist etc..

Change-Id: I707fb628cd292be807e6e0fd7ad0062635051953
2013-10-14 15:05:18 +02:00
Endre Karlson e06d1f1505 Bump to 1.3.0
Change-Id: Ie2428876063497ecf55767021e4b0d85aef23aa0
2013-10-02 22:56:59 +02:00
David Shrewsbury 6690e8a5ef Add support for key=value node options
This changes allows additional node options to be defined after
the ip:port portion. Format will be:

IP:PORT:key=value:key=value:...

First two node options supported are 'weight' and 'backup'.

Also fixes a minor bug where 'raise' was being called without
defining what type of exception to raise. This works ok to re-raise
an existing exception, but raising a new exception requires a type.

Change-Id: I9b9883d100983a242002c95378bdbb672937ed90
2013-09-30 13:17:08 -04:00
marcrp 536b5234c2 Added node weight support
Note that weight can be specified using the node-modify only but will
be displayed in load balancer status, node-list, node-status, node-add,
and node-modify. To support the setting of weight with load balancer
create or node-add, it would require a bigger change because with those,
multiple nodes can be specified with --node.  Perhaps a syntax of
ip:port:weight would make sense if that was supported.

Also note that the API interface only returns weight when the value is
not the default (1).  Therefore, the weight column also only displays
a weight value when it is not 1.

Change-Id: I34ea3e4a144aeb47af661c161f5f3ee4946cbe7e
2013-09-29 08:56:02 -04:00
Andrew Hutchings 9915ff82e0 Fix debugging and Galera support
Fix debugging for newer python-novaclient versions

Also add support for the Galera protocol option

Change-Id: I84f65d659e9699f26566745b18d868280dc15918
2013-09-26 14:55:25 +01:00
Andrew Hutchings cf7e39953c Upgrade novaclient version required
Also removed test, getting almost impossible to keep it working.  Needs to be
re-thought.

Change-Id: I44344c4180f4f27c050abc667e85cd6345e56671
2013-09-09 12:18:03 +01:00
Endre Karlson c5c5198462 Bump novaclient
Change-Id: I2a7109c7d4ef9b7bd32576050e39f6933870f179
2013-09-05 18:52:06 +02:00
Endre Karlson ea475ffdfb Update novaclient requirement
Change-Id: I3f15a1edc76fb6bded61de7b85e22b24707b6d88
2013-09-05 16:52:25 +02:00
David Shrewsbury 0d68e36950 Fix display of monitor list if no monitor defined
It is possible that some older, predefined load balancers may
not have any monitor defined. This fixes the output (empty values
are better than an error message).

Change-Id: Ic7719811366f79c3dbe4ab7011ceac5b6c22501d
2013-08-27 16:55:48 -04:00
David Shrewsbury 30adc9d4f0 Add support for health monitors.
Adds new options and updates documentation.

Change-Id: I5d240d8633ddd0be448f92550e6f8031a46f8d56
2013-08-22 10:54:29 -04:00
David Shrewsbury c7a68a340d Put subcommands in alphabetical order.
Also, ignore swap files in .gitignore.

Change-Id: I402d8c2f01b96ce30a8e635b583465512a988932
2013-08-19 18:27:03 -04:00
David Shrewsbury ccbc605d8b Switch from pep8 to flake8
Change-Id: I13a77aac647ca5e47d9451472aa1f79eacefe8ab
2013-08-14 14:39:30 -07:00
Andrew Hutchings 5efc603fea Support nodeCount in API list and status
Change-Id: I6fee75bbbed595cd1fd76fb31a3ec8caf3365e38
2013-07-04 19:59:05 +01:00
Andrew Hutchings 662cb2bb6c Support error messages from the new API server
Change-Id: I43c6ad3bd89b21ea162263d11a8db22439d18ffa
2013-05-31 20:26:24 +01:00
Andrew Hutchings 732bfb4c28 Add support for new status field
Change-Id: I559498d9ce3be7f8e19231195f618e1b46c3110c
2013-04-12 21:37:42 +01:00
Andrew Hutchings 69331b6824 Fix Log Archive call to match API
Change-Id: Icf9ccd05a34fecc35e826538807e1012d0cd9642
2013-04-10 14:28:40 +01:00
Andrew Hutchings 8f95966fb9 Add support for log snapshotting API
Change-Id: I00a5bfdd3dd5c3632150cd9d4a1dcb94b881a7ee
2013-03-27 20:24:25 +00:00
Andrew Hutchings 7269763333 Version bump to 1.2.4
Change-Id: If4660c9982374d85c175dd71cf806a9873839f75
2013-03-14 14:19:57 +00:00
Andrew Hutchings 14f80056f6 Add virtualips command
Fixes bug #1121962

Change-Id: Ie47c8a92ff8e396f96ccdc17cff754b1075c7070
2013-03-14 14:05:56 +00:00
Andrew Hutchings 66ba46a5ef Add checking and error handling to IP:port processing
Fixes bug #1125430

Change-Id: I270cbfb57f74cd1ef7c4900e3dfa213f052b3931
2013-03-14 13:51:49 +00:00
Andrew Hutchings 3ad95903c8 Fix exception handling
Change-Id: I13c21319031897efbeacc508821452e4663c033e
2013-02-20 19:31:46 +00:00
Andrew Hutchings 4b4f38576d Update installation docs
Change-Id: I08bba71c8513e7238b2c604b898243b10837af61
2013-02-20 10:31:04 +00:00
Andrew Hutchings 3de03a19d8 Update to work with Novaclient 2.11.1
* Fixes problem with --debug option
* Updated tests to work with 2.11.x usage of requests library

Fixes bug #1130524

Change-Id: I0aa71dc379dbd768922a3b199eac1332fb9204e1
2013-02-20 10:10:43 +00:00
Andrew Hutchings 70b2e2266d Bump package version
Change-Id: Iacccadee1b552ce3277bdc87eebee20292cbdfcd
2013-02-15 17:01:11 +00:00
Andrew Hutchings 47f8f616f1 Fix --debug
Python-novaclient 2.11.0 has a bug which breaks --debug, fix version at 2.10.0

Fixes bug #1126388

Change-Id: Ied4a9ef42ea5e3a9357fc8ffcd66e94e5dd65b3d
2013-02-15 16:30:21 +00:00
Andrew Hutchings 515e7a0bc7 Fix endpoint error handling
Fixes bug #1105410

Change-Id: I890d130328720912f936f5590ece82190c0039c0
2013-01-25 12:31:39 -08:00
Andrew Hutchings a205a625fc Update install docs
Change-Id: I006943f6077c2a8556da42a1ada77e6f3ab8acf7
2013-01-25 10:13:46 -08:00
Andrew Hutchings bff4af8e90 Various bug fixes
* Fix version dependencies (fixes bug #1104433)
* Show error messages with codes (fixes bug #1104496)
* Missing options now shows correct error (fixes bug #1105253)

Version bumped

Change-Id: Ic4889a2c6f024469c5ae7317d8918857aec2bd7e
2013-01-25 09:04:10 -08:00
Andrew Hutchings b27b11b631 Version bump
Change-Id: Ie7054e42aadd7468a7ed4999f5b727d451dc0d39
2013-01-24 10:38:27 -08:00
Andrew Hutchings 89204c6c26 Fix tests directory for Debian packaging
Change-Id: Iefdb4e9c233985de5f241a15d84d997767d9957a
2013-01-24 10:28:25 -08:00
Andrew Hutchings 41bed1fe44 Make env vars work
Change-Id: I66b3db4fe8a8338a27e550071450b3d96643e3fd
2013-01-23 11:52:11 -08:00
Andrew Hutchings 4afbb000db Fix install documentation
Change-Id: Iae8e327603ce030ec36378dd525017dec9e15ba8
2013-01-18 16:10:01 +00:00
Andrew Hutchings 448dd2ccb0 Allow environment variables
Allow use environment variables for auth settings in place of options.
These are compatible with python-novaclient's environment variables.

Fixes bug #1098259

Also add set the service_type and add an option to change it

Fixes bug #1089274

Change-Id: I20b5714e19a34d1a29eb33002e32e9dafefe5e9d
2013-01-11 11:08:44 +00:00
Andrew Hutchings bd67e636e9 Update documentation
Change-Id: I403914be44a586fc0a9a42cc35dfea1bb7ace9ec
2013-01-10 15:22:05 +00:00
Andrew Hutchings 7e188b2127 Various fixes and workarounds to talk to HP API server
Change-Id: Id16b34790aac14b8af2803f8556e66b560ce6c2f
2013-01-08 17:19:50 +00:00
Andrew Hutchings 396cc1a73b Simplify sphinx processing.
Change-Id: I74be3ca157324ad512ac6066b7269f56800a71c4
2013-01-04 16:31:29 +00:00
Andrew Hutchings f1f59bb694 Fix typo in PDF file name
Change-Id: Idf7b5ea3ff6cb5536101ecc022fe082100590b4a
2013-01-03 15:57:13 +00:00
Andrew Hutchings ccb882ffee Add debian packaging to client
Change-Id: Idde1a8b54c3c7d1456d32c17b3d143f2aef1f699
2013-01-03 15:44:05 +00:00
Andrew Hutchings a861024bed Migrate client code from libra codebase
Change-Id: Icd9d758e45c7167c5b8db7aa2c5e15b4bb93c766
2013-01-03 12:23:09 +00:00
Openstack Project Creator 775f861346 Added .gitreview 2013-01-02 20:21:31 +00:00