neutron/neutron/extensions
Kevin Benton 4e8cc68349 Increment revision numbers on object changes
This adds the logic to increment the revision numbers
for objects whenever there are changes and it exposes
the revision number via a field in the API.

This is handled with a new default service plugin that
subscribes to DB events and bumps revision numbers for
any objects that were modified.

It also handles the logic for bumping the revision number
of a parent in a relationship where the children aren't
top-level neutron objects that would be tracked individually.
This is accomplished with a 'revises_on_change' attribute
on the child models that the service plugin will use to
find the parent and bump its revision.

API tests are included to test the revision numbers
added to each standard attribute enabled object.

Partially-Implements: bp/push-notifications
Change-Id: I476d3e03c8ee763cc4be6d679fe9f501eb3a19b5
2016-07-27 12:01:55 -07:00
..
__init__.py Removing vim header lines 2014-04-01 10:38:31 -04:00
address_scope.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
agent.py Agent extension: fix comment 2016-06-25 10:59:31 -07:00
allowedaddresspairs.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
auto_allocated_topology.py Remove the plugin import from auto_alloc extension 2016-06-13 20:16:45 +00:00
availability_zone.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
default_subnetpools.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
dhcpagentscheduler.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
dns.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
dvr.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
external_net.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
extra_dhcp_opt.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
extraroute.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
flavors.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
ip_allocation.py Extension to tell when deferred binding is in effect 2016-07-08 15:59:23 -06:00
l3.py Pecan: Backwards compatible/cleaner init 2016-05-20 03:58:02 -05:00
l3_ext_gw_mode.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
l3_ext_ha_mode.py Allow min_l3_agents_per_router to equal one 2016-05-25 10:11:34 +02:00
l3_flavors.py Add flavor/service provider support to routers 2016-07-26 16:13:35 -07:00
l3agentscheduler.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
metering.py Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
multiprovidernet.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
netmtu.py Fixes typos Openstack -> OpenStack 2016-01-18 16:04:56 +00:00
network_availability_zone.py Use a joined relationship for AZ info on networks 2015-12-14 14:45:30 -08:00
network_ip_availability.py IP Availability: remove unused imports 2016-03-01 07:06:10 -08:00
portbindings.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
portsecurity.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
providernet.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
qos.py Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
quotasv2.py Pecan: Backwards compatible/cleaner init 2016-05-20 03:58:02 -05:00
rbac.py Refactoring config options for quota 2016-05-11 09:15:38 -05:00
revisions.py Increment revision numbers on object changes 2016-07-27 12:01:55 -07:00
router_availability_zone.py Use a joined relationship for AZ info on routers 2015-12-15 23:29:47 -08:00
routerservicetype.py Merge "Remove get_namespace from API extensions" 2015-06-24 14:54:12 +00:00
securitygroup.py Use is_valid_port from oslo.utils 2016-07-21 16:42:17 +08:00
segment.py Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
servicetype.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
standardattrdescription.py Add a description field to all standard resources 2016-03-05 02:29:35 +00:00
subnetallocation.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
tag.py Remove unused LOG 2016-07-05 15:22:13 +08:00
timestamp_core.py Add timestamp for neutron core resources 2016-03-05 02:17:35 +00:00
trunk.py Add new attributes to trunk model 2016-07-19 11:28:45 -07:00
trunk_details.py Enable CRUD for trunk ports 2016-07-02 16:09:45 -07:00
vlantransparent.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00