]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor OVS-agent tunnel config validate
authorCedric Brandily <zzelle@gmail.com>
Mon, 30 Nov 2015 18:05:18 +0000 (19:05 +0100)
committerCedric Brandily <zzelle@gmail.com>
Tue, 8 Dec 2015 23:48:19 +0000 (00:48 +0100)
commit58ea633fa44d8994596055a23cfde260e6d9d9c9
treeb919a280422097c8050a0a0e50e21ca9de464eb3
parenta88fdfc8e113f076603f336befc90500145353ed
Refactor OVS-agent tunnel config validate

This change transforms validate_local_ip into a sub-method of
validate_tunnel_config and raises directly SystemExit instead of
indirectly.

Related-bug: #1464394
Change-Id: I35addd41e1a8b061bd0e5e6656a1728fb7fe04ce
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py