magnum/magnum/objects
Yang Hongyang d56bc4f213 Use obj_attr_is_set to check whether an attr is set in oslo_versionedobject
hasattr() have different behaviour between python 2 and 3 [1], while we can
not fix oslo_versionedobject [2], we need to use obj_attr_is_set to
check whether an attr is set in oslo.versionedobject as their core
suggested [2].

[1]. https://docs.python.org/2/library/functions.html#hasattr
     https://docs.python.org/3/library/functions.html#hasattr
[2]. https://review.openstack.org/#/c/285647/

More detailed info, please refer to the launchpad bug page.

Change-Id: I9adbbb55e8560a499e8334e954cc904fb8ee3565
Closes-Bug: #1551394
Partially-Implements: blueprint magnum-python3
2016-03-01 23:20:19 +08:00
..
__init__.py Remove node object from Magnum 2016-02-04 14:02:49 +08:00
base.py Use obj_attr_is_set to check whether an attr is set in oslo_versionedobject 2016-03-01 23:20:19 +08:00
bay.py Create a trustee user for each bay 2016-02-18 18:16:35 +08:00
baymodel.py Remove unused attribute "ssh_authorized_key" 2016-02-28 15:33:56 -05:00
certificate.py Add Certificate controller for TLS support. 2015-09-05 13:45:43 +00:00
container.py Fix invalid import order 2016-02-07 22:54:41 -08:00
fields.py Add more types of status to Bay's status 2016-02-02 12:50:43 +08:00
magnum_service.py Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
pod.py Fix invalid import order 2016-02-07 22:54:41 -08:00
replicationcontroller.py Fix invalid import order 2016-02-07 22:54:41 -08:00
service.py Fix invalid import order 2016-02-07 22:54:41 -08:00
utils.py Replace oslo_utils.timeutils.isotime 2015-11-09 16:56:49 +08:00
x509keypair.py Fixes for magnum objects doc string 2015-11-30 13:33:10 +08:00