]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
VPNaaS: Separate validation for Cisco impl
authorPaul Michali <pcm@cisco.com>
Wed, 25 Jun 2014 15:39:54 +0000 (11:39 -0400)
committerPaul Michali <pcm@cisco.com>
Wed, 16 Jul 2014 19:05:01 +0000 (15:05 -0400)
commite71eda912613e94b28e0a2e66ee463c41886a8d4
tree580d824c78efa648a71a89e107af95992fa57be2
parent4c0ee4dc06a641abc941bcbb9b5467410c888a76
VPNaaS: Separate validation for Cisco impl

Moving validation logic from Cisco service driver, into a
validation subclass, so that it'll be applied during the
persistence phase (so validation failures can block the
persistence, instead of setting to error state).

This is part of the effort to separate out L3 validation
and builds upon the reference implementation changes being
reviewed in 102351.

Note: One unit test is commented out, due to a bug in
oslo.messaging 1.3.0. It will be uncommented later, once
1.4.0.0.a3 or newer is available for use.

Change-Id: I6040e6d8ab32b707bcf67a0882507b7ee2d4bebe
Partial-Implementation: blueprint l3-svcs-vendor-validation
neutron/services/vpn/service_drivers/cisco_ipsec.py
neutron/services/vpn/service_drivers/cisco_validator.py [new file with mode: 0644]
neutron/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py