This patch optimizes the client constructor so that caller doesn't have
to provide user_preferences or user_agent arguments. It would be a
convenience for projects such as senlin-dashboard.
Change-Id: I0e98fb055441a941ad7c9da6e36b4a388ae0a75a
The SDK provides an additional parameter 'paginated' for specifying
whether the result will be paginated at server side. This feature saves
us from hacking the list function.
Also, the latest SDK revision has consolidated all kwargs in to a single
parameter named 'params'. This patch also fixes this problem.
Change-Id: Ib4ce1d03d18fe38cb655c541547faf41f3312a26
user_reference module has been replaced by profile module in latest
release of python-openstacksdk. This patch makes some modifications
in client to follow this change.
Change-Id: Ia10f77fafe0401afe6c36a767db81d5445e81f4e
Flake8 is now complaining about the grouping of imports. This patch try
please it by moving imports around.
Change-Id: I65a0ee03d8fcc78de597d06424f647e0a2d2beae
This module is used to interface with openstacksdk. The main problem we
encountered is that the default list() operation carries DB session.
There are cases where our list generation is from in-memory data. To
overcome that we provide a list_short() method to Resource class.
The SenlinConnection class is not useful at the moment.
The UserPreferences is a standard way to specify desired API version,
region name, an API visibility (public, private, admin). We provide a
subclass here to deal with the respective requirements.