]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Service Type Framework refactoring
authorEugene Nikanorov <enikanorov@mirantis.com>
Sun, 7 Jul 2013 06:50:56 +0000 (10:50 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Thu, 25 Jul 2013 17:47:30 +0000 (21:47 +0400)
commit1b36e2077141749495bb32b423f3df8cbbd0eb40
tree5b28719f345adea368e3e6ebe82990ae0399b660
parent450174b103c89d0cbac3b44840edcb8b1192674c
Service Type Framework refactoring

implements blueprint service-type-framework-cleanup

* Defines logic and API for ServiceProvider - read-only entity
that admins provide in configuration and which is stored in memory
* ServiceType entity which maps to ServiceOfferings in new terms
is removed for now.
* Routed service insertion fixed to not to refer to service providers.
* In case configuration changes and some service providers are removed
then the resources must be cleanup in a special way (undeploy logical
resources). This is a matter of future work
* Add migration.

Change-Id: I400ad8f544ec8bdc7d2efb597c995f284ff05829
13 files changed:
etc/neutron.conf
etc/policy.json
neutron/db/migration/alembic_migrations/versions/557edfc53098_new_service_types.py [new file with mode: 0644]
neutron/db/routerservicetype_db.py
neutron/db/servicetype_db.py
neutron/extensions/servicetype.py
neutron/services/provider_configuration.py [new file with mode: 0644]
neutron/tests/etc/neutron.conf.test
neutron/tests/unit/dummy_plugin.py
neutron/tests/unit/nicira/etc/neutron.conf.test
neutron/tests/unit/test_provider_configuration.py [new file with mode: 0644]
neutron/tests/unit/test_routerserviceinsertion.py
neutron/tests/unit/test_servicetype.py