neutron/neutron
Paul Michali 4c0ee4dc06 VPNaaS: separate out validation logic for ref impl
Modify the persistence logic for VPNaaS to separate out the
validation for the reference implmentation. This allows
providers to override/extend the validation, as needed.
Additional commits will address the separation for other
providers and for other L3 services.

In addition, the logic that sets default values for optional
attributes is also moved into separate methods to allow
providers to override the defaults used.

Only attributes that have multiple validations are considered
at this time, but this can be extended, as needed.

Currently, one UT fails due to an oslo.messaging bug that
has been fixed, but not yet released for Neutron use.
As a workaround, the affected test case has been commented
out. This test verifies that the right (only, in this case)
device driver is used for validation. Once the issue with
releasing oslo.messaging 1.4.0.0a2 or newer is resolved,
this can be uncommented.

In the future, TaskFlow may be used for the L3 services workflow,
and these changes will provide validation modularization for that
effort.

Change-Id: Id420983ccbceece5f4a00546941618318b9562c7
Partially-implements: blueprint l3-svcs-vendor-validation
2014-07-16 15:05:01 -04:00
..
agent L3 agent prefers RPC messages over full sync 2014-07-15 15:35:51 +00:00
api Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
cmd Add sanity check for nova notification support 2014-06-27 09:14:27 -05:00
common Switch to using of oslo.db 2014-06-30 14:07:59 +03:00
db VPNaaS: separate out validation logic for ref impl 2014-07-16 15:05:01 -04:00
debug Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extensions Fixed audit notifications for l3-agent-router ops 2014-07-14 23:05:37 -07:00
hacking Add missing translation support 2014-05-19 12:16:56 +02:00
locale Imported Translations from Transifex 2014-07-09 06:09:26 +00:00
notifiers Merge "Use list copy for events in nova notifier" 2014-06-12 13:30:08 +00:00
openstack Switch to using of oslo.db 2014-06-30 14:07:59 +03:00
plugins Merge "Send network name and uuid to subnet create" 2014-07-16 07:35:06 +00:00
scheduler Switch to using of oslo.db 2014-06-30 14:07:59 +03:00
server Configure agents using neutron.common.config.init (formerly .parse) 2014-06-17 21:56:24 +02:00
services VPNaaS: separate out validation logic for ref impl 2014-07-16 15:05:01 -04:00
tests VPNaaS: separate out validation logic for ref impl 2014-07-16 15:05:01 -04:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
auth.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
context.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
manager.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
neutron_plugin_base_v2.py Renamed start_rpc_listener -> start_rpc_listeners 2014-06-19 12:58:01 +02:00
policy.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
quota.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
service.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00