| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
* restapi module provides basic REST API support
* uses dicts rather than Resource classes
* JSON serialization/deserialization
* log requests in 'curl' format
* basic API boilerplate for create/delete/list/set/show verbs
* ignore H302 due to urllib import
Change-Id: I3cb91e44e631ee19e9f5dea19b6bac5d599d19ce
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Mostly options and help strings:
* image, server, project usage, volume
Change-Id: I788b0660f8c2daacde53c20a72dd1afc60cf5159
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add security group: create, delete, list, set, show
* Add server: add secgroup, remove secgroup
* Add security group rule: create, delete, list
* Add Oslo's strutils and gettextutils
* Adds parseractions.RangeAction() to handle option arguments of either a single number
or a range of numbers: '--port 25' or '--port 1024:65535'
Blueprint: nova-client
Change-Id: Iad2de1b273ba29197709fc4c6a1036b4ae99725f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* add server resize
* update --wait handling for server create, reboot, rebuild
* move _wait_for_status to utils
Blueprint: nova-client
Rebased after https://review.openstack.org/38162 was committed
Change-Id: I7a43b996feecadc7628fcfe20cd5b17333762739
|
| |
|
|
|
|
|
|
|
|
| |
* Reformat default dict output to key='value' using utils.format_dict()
* Changes utils.get_item_properties() to pass the specific field to
the formatter function rather than the entire resource object, this
allows the formatter to handle multiple attributes.
* Updates server, volume, volume type commands
Change-Id: I90eebf6b84ae200532f09cd925f371598ea54a64
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add remove role
* Add --role to group list
* Add --role to user list
* Fix groups in AddRole()
* Remove the tweaks to utils.find_resource for domains; will address
that across domains, projects, users and groups in another patch.
I want to nail down the structure of these commands and get that into place
Change-Id: I8673dd8221ef88978dada5a2833c187026bdb31a
|
| |
|
|
| |
Change-Id: Ifdc4322b699f2bd91a6900e55695acd3d736568e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Adds:
* fixed-ip commands: add, remove
* floating-ip commands: add, create, delete, list, remove
* floating-ip-poo command: list
Also uses NAME_ATTR in the Resource class if present to determine
the attribute to be used for searching in utils.find_resource()
Change-Id: Ifd8fa60f880fc4050dea182ac24553cc2c4bff15
|
| |
|
|
|
|
|
|
| |
rebase again, and change util to look for display_name too
minor changes and rebase
add create/delete/list/set/show support for snapshot
Change-Id: I80261653fa919555a44ddda07b0a827ccd16e5e0
|
| |
|
|
|
|
|
|
| |
Made all the necessary changes to pass new PEP8 standards.
Also cleaned up docstrings to conform to the HACKING stanards.
Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
|
| |
|
|
| |
Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
|
| |
|
|
|
|
| |
First round of adding more complete unit test coverage.
Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
|
| |
|
|
| |
Change-Id: Ib0325e62a7e50aa94e852a73f9a2cb95daa8d5f6
|
| |
|
|
|
|
| |
* add {create|delete|list|show} endpoint commands
Change-Id: Ife9fa789d5818d63288b09687b43d802b1b97858
|
| |
|
|
|
|
|
| |
* add {create|delete} service
* allow 'service' arg to also search type attribute in show command
Change-Id: I992359dc95fab1fbdab0666d5cbb75e44ba6e0f3
|
| |
|
|
|
|
| |
* add constants for API_NAME
Change-Id: I8ccf72f032227e0a452d96303181549b1b11a5d1
|
| |
|
|
|
|
|
|
|
| |
* add {create|delete|set} tenant commands
* move get_XXXX_properties() to common.utils.get_item_properties()
add mixed_case_fields as an optional arg
Change-Id: I7b3bd9cefb08e39730886b31213cbe422b5a8453
|
| |
|
|
|
|
|
|
|
| |
* Specific versions supported are managed in XXXXXX.client.py with a
mapping from version to client class. This is based on the scheme
that is included in novaclient; none of the other client libs have
that capability.
Change-Id: I930b197f1189e7f52c3b0096e73e0773cf925542
|
| |
|
|
|
|
|
|
| |
Remove unused common.utils functions
prettyprint 0.6 removed printt at the last minute, our references
to it turned out to be in unused code; remove it.
Change-Id: I38a4d9a169beaecfd53eafc5b10f06201bac0c31
|
| | |
|
| |
|