]> 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)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:11 +0000 (15:20 +0800)
commit635c79e19386f9b4f66f9a67e7c2095890539d93
treee116ca66aa556916c6abc657ca253b4165cb1c39
parent3ec7a8f83feb060807aa802fa3c3e133463f7e84
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