Container Infrastructure Management Service for OpenStack
Go to file
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
contrib/templates/example Update Dev Quick-Start links to officail docs 2015-10-05 00:35:46 -07:00
devstack Merge "Create a trustee user for each bay" 2016-02-25 04:01:24 +00:00
doc/source Remove unused attribute "ssh_authorized_key" 2016-02-28 15:33:56 -05:00
etc/magnum Remove node object from Magnum 2016-02-04 14:02:49 +08:00
magnum Use obj_attr_is_set to check whether an attr is set in oslo_versionedobject 2016-03-01 23:20:19 +08:00
specs Merge "Correct internal links syntax error" 2016-02-06 22:58:35 +00:00
tools Improve tox.ini to easy developer's life 2015-11-03 17:44:38 +08:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:28:49 +00:00
.gitignore Ignore the generated config file 2016-02-29 14:50:35 -05:00
.gitreview Update .gitreview for project rename 2015-03-28 00:20:40 +00:00
.mailmap Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
.testr.conf Make room for functional tests 2015-04-02 12:25:43 -04:00
babel.cfg Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
bandit.yaml Add Bandit security lint checking via tox 2015-04-08 10:41:42 -07:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:45 +00:00
Dockerfile Fix the docker build image issue 2015-05-18 11:11:25 +08:00
functional_creds.conf.sample Reduce memory consumption of gate tests 2016-02-09 14:05:19 -05:00
HACKING.rst Remove unused hacking rule from HACKING.rst 2016-01-29 14:35:51 +08:00
LICENSE Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
MANIFEST.in Copy Ironic's database model codebase 2014-12-02 15:04:31 -07:00
README.rst Fix the representation of REST 2015-09-01 08:40:39 +05:30
requirements.txt Updated from global requirements 2016-02-26 01:48:40 +00:00
setup.cfg Migration to utilize tempest plugin 2015-12-22 22:53:35 -06:00
setup.py Updated from global requirements 2015-09-17 12:12:49 +00:00
test-requirements.txt Add missing test-requirements 2016-02-18 22:00:18 +08:00
tox.ini Make bandit job voting 2016-02-09 17:50:17 +01:00

Magnum

Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack.

For more information, please refer to the following resources: