From 2a57f786931793d59cc5ec2c3a925807b6ee3938 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 21 Sep 2021 22:04:13 +0200 Subject: vrrp: keepalived: T3847: add common transition-script building block This is used for both VRRP groups and sync-groups. --- .../include/vrrp-transition-script.xml.i | 41 +++++++++++ interface-definitions/vrrp.xml.in | 80 +--------------------- 2 files changed, 43 insertions(+), 78 deletions(-) create mode 100644 interface-definitions/include/vrrp-transition-script.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/vrrp-transition-script.xml.i b/interface-definitions/include/vrrp-transition-script.xml.i new file mode 100644 index 000000000..cf57c3c74 --- /dev/null +++ b/interface-definitions/include/vrrp-transition-script.xml.i @@ -0,0 +1,41 @@ + + + + VRRP transition scripts + + + + + Script to run on VRRP state transition to master + + + + + + + + Script to run on VRRP state transition to backup + + + + + + + + Script to run on VRRP state transition to fault + + + + + + + + Script to run on VRRP state transition to stop + + + + + + + + diff --git a/interface-definitions/vrrp.xml.in b/interface-definitions/vrrp.xml.in index d43ff83de..44bd7e454 100644 --- a/interface-definitions/vrrp.xml.in +++ b/interface-definitions/vrrp.xml.in @@ -184,45 +184,7 @@ - - - VRRP transition scripts - - - - - Script to run on VRRP state transition to master - - - - - - - - Script to run on VRRP state transition to backup - - - - - - - - Script to run on VRRP state transition to fault - - - - - - - - Script to run on VRRP state transition to stop - - - - - - - + #include Virtual address (IPv4 or IPv6, but they must not be mixed in one group) @@ -293,45 +255,7 @@ - - - VRRP transition scripts - - - - - Script to run on VRRP state transition to master - - - - - - - - Script to run on VRRP state transition to backup - - - - - - - - Script to run on VRRP state transition to fault - - - - - - - - Script to run on VRRP state transition to stop - - - - - - - + #include -- cgit v1.2.3