git-harry 239bfd30c6 Add devices-list to support /v1/devices
This commit adds a new command, 'craton device-list', to support the
endpoint /v1/devices. Currently the endpoint only supports GET requests.

The command supports filtering by cloud, cell, region, parent and active
status. In addition, where a parent is specified, it is also possible to
request descendants.

The API response body is of the form:

    {
        "devices: {
            "hosts": [
            ],
            "network-devices": [
            ],
        },
        "links": [
        ],
    }

This object differs, from the other response bodies that return
collections, in that devices is not an array but is instead an object
whose values are arrays. This difference has necessitated modifying the
list and pagination functionality to support nested data.

Change-Id: I7cdec9935a360dae3910802f210ab9341ef7a696
Closes-bug: 1668705
2017-03-03 08:41:13 +00:00
2016-12-21 14:08:42 +11:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-23 15:00:45 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2016-06-14 09:52:51 -05:00
2017-02-27 14:31:59 -06:00
2016-11-16 00:33:13 +00:00
2016-12-21 14:08:42 +11:00

python-cratonclient

Craton API Client and Command-line Utility

Please fill here a long description which must be at least 3 lines wrapped on 80 cols, so that distribution package maintainers can use it in their packages. Note that this is a hard requirement.

Features

  • TODO
Description
RETIRED, Fleet management for OpenStack
Readme 1.8 MiB