Return of objects like capacity and allocatable were returning
an empty object. Fix deserialize method and pass the corresponding
value.
Change-Id: Ia55d01a7cfd6e11448272e5859dd84e40147b618
Closes-Bug: #1595373
Remove old and unused constraints environments.
Note: Constraints were unused in CI before and stay unused since
the repo is not part of global requirements process.
Change-Id: I62d6ad8eef7f9bca03edaab7ca2dec4c6c1172a1
This patch fixes the following error during
patch_* calls:
UnboundLocalError: local variable 'r' referenced before assignment
Change-Id: I0d96e0099b343d4473e1d3bd1dbbaed03c4c1720
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I48a7fd379a8743c5725b4510af003dd15cf684fd
We should end up with a specific type as the default
if '*/*' is specified. Note that the default is
'application/json'
Change-Id: I2107da25de8abd19c0d5a87d756e14916aa7fada
swagger_client uses PoolManager from urllib3. PoolManager keeps the
connection_pool_kw passed during the init time and uses the same later
while initiating HTTPSConnection. Existing implementation instantiates
RESTClientObject() at import time, without giving an option to pass
the security parameters, viz. key_file, ca_certs etc. So we needed to
change the way instantiation/initialization was happening.
(copied from I3b490bbb47eb5f961951708dabe6c1abfbcece4e)
Change-Id: I6df227bcd030cb8c374bc83bb44dfea980c893b3
eval will execute a function before it has been determined to be
a python data type. Instead, use ast.literal_eval which validates
the object is a data type before executing it.
See:
http://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html
(copied from Ia3d74747e66d72e97a3fb9029bd51331c902f874)
Change-Id: Iae0d42f8d14f66d6ea6cf2201646d8a796cc0cc9
Update to Kubernetes 1.2.2 version
Fixes to v1.json:
* Change 'any' types to 'object'
Fixes to rest.py:
* Fix __init__ to accept ca_certs
Change-Id: I190f26fac76480bc59ea5ceab7f1c94f16059086
The correct package name in "python-k8sclient". Otherwise pbr's try to get
the version from pkg_resources will not work.
Change-Id: I90424e59c051564d4639147cc418c218485e09b3
Replaced iter.next() with next(iter)
Replaced __builtin__ with six.moves.builtin
Replaced unicode with six.text_type
Repleaced Configparser with six.moves.configparser
Blueprint magnum-python3
Change-Id: I9f084ef4fae1ec1111e26142e2e89bad18acbf45
__builtin__ does not exist in Python 3, use
six.moves.builtins instead.
Change-Id: I39cee402b58f98690851c45990f9bbfbebbd95d7
Patially-Implements: blueprint magnum-python3
closes-bug: #1290234