8 Commits

Author SHA1 Message Date
yanyanhu
e711680767 Add webhook support
Change-Id: Ia34a449eeb22b41e9725500b4eb80a437ffd8c3c
2015-04-17 04:08:56 -04:00
tengqm
fec355ebc6 Revised cluster-create and cluster-show commands 2015-02-04 10:35:08 +08:00
tengqm
e1df85331e Make at least profile-create API work 2015-02-03 22:52:13 +08:00
tengqm
d3c4b191db Fixed flake8 errors 2015-01-25 19:50:02 +08:00
tengqm
a8beb00ca3 Added function to create connection via SDK
Connection creation may invole SDK layer exception throwing, we
wrap this exception handling into a utility function.
2015-01-25 18:58:11 +08:00
tengqm
b4110e3e80 Added customization of create() method
The create method will return a response.  This patch avoids hiding that
response from the create() return values.
2015-01-23 16:02:42 +08:00
tengqm
3d5fffd7a3 Revised sdk interface
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.
2015-01-16 15:15:20 +08:00
tengqm
432ef53b3d Placeholder for openstacksdk interface
Will transit to this interface in future.  The current http.py based
implementation will deprecate soon.
2015-01-12 15:40:04 +08:00