]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
validate if the router has external gateway interface set
authorYong Sheng Gong <gongysh@unitedstack.com>
Sat, 7 Dec 2013 08:59:18 +0000 (16:59 +0800)
committerYong Sheng Gong <gongysh@unitedstack.com>
Mon, 9 Dec 2013 21:23:56 +0000 (05:23 +0800)
commit3e263ba6c58c43f71c02417f8948300e8cb5c462
tree73d1759bdda842b9b691e8735261d871384b1a6b
parent92b83e280712331b883f75ef1c4004009c02cab1
validate if the router has external gateway interface set

If the router wants to work with vpn service, we must
make sure external gateway interface is set.

This patch cannot prevent user from clearing the gateway interface
of the router after the vpnservice is created.

Change-Id: If0f00def949b31c1e3da7a2cd055454567201e4c
Closes-Bug: #1258379
neutron/db/vpn/vpn_db.py
neutron/extensions/vpnaas.py
neutron/tests/unit/db/vpn/test_db_vpnaas.py