Reverting the changes on CsAddress done in commit 374946e07748dd3ad659381c7d88e5e4140e4eeb

This commit is contained in:
wilderrodrigues 2015-01-26 13:42:28 +01:00
parent bd7799401b
commit 62d586e2af
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import time
from CsRoute import CsRoute
from CsRule import CsRule
VRRP_TYPES = ['public']
VRRP_TYPES = ['guest']
class CsAddress(CsDataBag):
@ -299,7 +299,7 @@ class CsIP:
cmd2 = "ip link set %s up" % self.getDevice()
# Do not change the state of ips on a redundant router that are managed by vrrp or CsRedundant
# the guest networks interfaces should be up and running.
if not self.is_public():
if not self.config.cmdline().is_redundant() and not self.is_public():
CsHelper.execute(cmd2)
def set_mark(self):