]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Return exception when attempting to add duplicate VIP
authorSachi King <nakato@nakato.io>
Mon, 8 Dec 2014 06:42:48 +0000 (17:42 +1100)
committerSachi King <nakato@nakato.io>
Fri, 24 Apr 2015 06:34:52 +0000 (16:34 +1000)
commit72e388445eb6f6903ccfc5079aa206ac2cbcfd5e
tree3012232dd333539a8c19085a7d29d57d355346ae
parent4363bc38c44d60abefe59ed2edea036e326cbce5
Return exception when attempting to add duplicate VIP

Neutron should never attempt to add a VIP to keepalived's config
multiple times, and to do so is an error.  As such this adds an
exception if this is ever attempted.

Change-Id: If1c41c3164e8a998c73f9b7aa566e2ba6570f54b
Closes-Bug: #1400217
neutron/agent/linux/keepalived.py
neutron/tests/unit/agent/linux/test_keepalived.py