summaryrefslogtreecommitdiff
path: root/nova/loadables.py
Commit message (Collapse)AuthorAgeFilesLines
* Switch to using oslo_* instead of oslo.*Davanum Srinivas2015-02-061-1/+1
| | | | | | | | | | | | | | | | | | | The oslo team is recommending everyone to switch to the non-namespaced versions of libraries. Updating the hacking rule to include a check to prevent oslo.* import from creeping back in. This commit includes: - using oslo_utils instead of oslo.utils - using oslo_serialization instead of oslo.serialization - using oslo_db instead of oslo.db - using oslo_i18n instead of oslo.i18n - using oslo_middleware instead of oslo.middleware - using oslo_config instead of oslo.config - using oslo_messaging instead of "from oslo import messaging" - using oslo_vmware instead of oslo.vmware Change-Id: I3e2eb147b321ce3e928817b62abcb7d023c5f13f
* Use oslo.utilsDavanum Srinivas2014-10-061-1/+2
| | | | | | | | | | oslo.utils library now provides the functionality previously in oslo-incubator's excutils, importutils, network_utils, strutils timeutils, units etc. Some modules already moved to oslo.utils will still be around since other code in nova/openstack/common/ are using it and will be removed in a subsequent commit. Change-Id: Idc716342535fdfa680963e0e073ddb46f5f1eb34
* Update OpenStack LLC to FoundationKurt Taylor2013-02-261-1/+1
| | | | | | Update all references of "LLC" to "Foundation". Change-Id: I009e86784ef4dcf38882d64b0eff484576e04efe
* Make sure the loadables path is the absolute pathVishvananda Ishaya2012-12-281-1/+1
| | | | | | | | the __path__ of a module can be a relative path in some install scenarios (i.e. setup.py develop on osx), so normalize it to an absolute path since we expect an absolute path in the tests. Change-Id: Id40889229f5735a292899dfee2c8595fdbf0dfff
* Add module for loading specific classesChris Behrens2012-11-141-0/+116
This adds nova/loadables.py which contains code that is to be shared by host and cell scheduling filtering and weighing. Most of this code originated from nova/scheduler/filters/__init__.py (which was copied from nova/api extension loading). This makes it more generic so that it can be shared. Note that this functionality is quite different than the generic plugin manager that exists in openstack-common. That code could not be used here without some significant changes. It also seems pretty overkill for the functionality required by scheduling filtering and weighing. Change-Id: I1b217dc2bc2d1dc2235c8251318d06b46597e8f4