lp://staging/~usc-isi/nova/instance_type_extra_specs
Created by
Lorin Hochstein
and last modified
Adds instance type extra specs table. This allows instance types to be annotated with additional capabilities that are required for deploying that instance type on a compute node. Ultimately, a capabilities-aware scheduler will need to query this information when making scheduling decisions.
- Get this branch:
- bzr branch lp://staging/~usc-isi/nova/instance_type_extra_specs
Branch merges
Propose for merging
1 branch
dependent on this one.
- Brian Waldon (community): Approve
- Vish Ishaya (community): Approve
- Nova Core security contacts: Pending requested
-
Diff: 986 lines (+775/-9)12 files modifiednova/api/openstack/contrib/flavorextraspecs.py (+126/-0)
nova/db/api.py (+21/-0)
nova/db/sqlalchemy/api.py (+114/-4)
nova/db/sqlalchemy/migrate_repo/versions/028_add_instance_type_extra_specs.py (+67/-0)
nova/db/sqlalchemy/models.py (+16/-1)
nova/exception.py (+5/-0)
nova/scheduler/host_filter.py (+25/-1)
nova/tests/api/openstack/extensions/test_flavors_extra_specs.py (+198/-0)
nova/tests/scheduler/test_host_filter.py (+35/-1)
nova/tests/test_host_filter.py (+2/-1)
nova/tests/test_instance_types_extra_specs.py (+165/-0)
tools/pip-requires (+1/-1)
Branch information
Recent revisions
- 1153. By Lorin Hochstein
-
Upstream merge
Moved instance type extra specs tests to extensions directory.
Added os- prefix to extra specs API alias.
Pegged pep8 venv version to 0.6.1
- 1150. By Lorin Hochstein
-
Renamed _inst_type_
query_to_ dict -> _dict_with_ extra_specs. pep8 version is no longer explicitly specified in pip-requires
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/~hudson-openstack/nova/trunk