FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • uis/netsys/udn/net-contextdiff
  • uis/netsys/udn/asimtote
2 results
Show changes
Commits on Source (1)
  • Robert Franklin's avatar
    v0.15.12 - fixed HSRP primary/secondary swap · d13b4915
    Robert Franklin authored
    if a secondary address configured via HSRP is promoted to the primary,
    the secondary must be removed first (unlike doing a similar change with
    'ip address') - this does that
    
    this is the first commit and version after the project renamed to
    'asimtote' and the code was forked
    
    this fix is already present in the asimtote release
    d13b4915
# net_contextdiff.__init__ # net_contextdiff.__init__
__version__ = "0.15.11" __version__ = "0.15.12"
...@@ -590,6 +590,15 @@ class Cvt_Int_OSPFv3Net(DiffConvert_Int): ...@@ -590,6 +590,15 @@ class Cvt_Int_OSPFv3Net(DiffConvert_Int):
# standby ... # standby ...
class Cvt_Int_NoStandbyIPSec(DiffConvert_Int):
cmd = "standby", "group", None, "ip-secondary", None
block = "int-vrf-pre"
def remove(self, old, int_name, grp, addr):
return self.enter(int_name) + [
" no standby %d ip %s secondary" % (grp, addr)]
class Cvt_Int_StandbyIP(DiffConvert_Int): class Cvt_Int_StandbyIP(DiffConvert_Int):
cmd = "standby", "group", None, "ip" cmd = "standby", "group", None, "ip"
block = "int-vrf-post" block = "int-vrf-post"
...@@ -605,10 +614,6 @@ class Cvt_Int_StandbyIPSec(DiffConvert_Int): ...@@ -605,10 +614,6 @@ class Cvt_Int_StandbyIPSec(DiffConvert_Int):
cmd = "standby", "group", None, "ip-secondary", None cmd = "standby", "group", None, "ip-secondary", None
block = "int-vrf-post" block = "int-vrf-post"
def remove(self, old, int_name, grp, addr):
return self.enter(int_name) + [
" no standby %d ip %s secondary" % (grp, addr)]
def update(self, old, upd, new, int_name, grp, addr): def update(self, old, upd, new, int_name, grp, addr):
return self.enter(int_name) + [ return self.enter(int_name) + [
" standby %d ip %s secondary" % (grp, addr)] " standby %d ip %s secondary" % (grp, addr)]
......