diff --git a/models/enterprise_sonic/mclag/deleted_example_01.txt b/models/enterprise_sonic/mclag/deleted_example_01.txt index 5f05540a4..a57faf8bb 100644 --- a/models/enterprise_sonic/mclag/deleted_example_01.txt +++ b/models/enterprise_sonic/mclag/deleted_example_01.txt @@ -20,6 +20,14 @@ # Mclag System Mac : 00:00:00:11:11:11 # Gateway Mac : 00:00:00:12:12:12 # +# Backup Keepalive Session Information: +# ----------------------------------- +# Session Vrf : mgmt +# Session Status : down +# Source Address : 3.3.3.3 +# Peer Address : 4.4.4.4 +# Keepalive Interval : 5 secs +#----------------------------------- # # Number of MLAG Interfaces:1 #----------------------------------------------------------- @@ -51,6 +59,8 @@ source_address: 3.3.3.3 session_vrf: mgmt keepalive: 10 + backup_keepalive_source_address: 3.3.3.3 + backup_keepalive_session_vrf: mgmt members: portchannels: - lag: PortChannel10 @@ -76,6 +86,14 @@ # Mclag System Mac : 00:00:00:11:11:11 # Gateway Mac : 00:00:00:12:12:12 # +#Backup Keepalive Session Information: +#----------------------------------- +#Session Vrf : default +#Session Status : down +#Source Address : +#Peer Address : 4.4.4.4 +#Keepalive Interval : 5 secs +#----------------------------------- # # Number of MLAG Interfaces:0 # diff --git a/models/enterprise_sonic/mclag/deleted_example_02.txt b/models/enterprise_sonic/mclag/deleted_example_02.txt index c7c70698c..03a08dbea 100644 --- a/models/enterprise_sonic/mclag/deleted_example_02.txt +++ b/models/enterprise_sonic/mclag/deleted_example_02.txt @@ -20,6 +20,14 @@ # Mclag System Mac : 00:00:00:11:11:11 # Gateway Mac : 00:00:00:12:12:12 # +# Backup Keepalive Session Information: +# ----------------------------------- +# Session Vrf : mgmt +# Session Status : down +# Source Address : 3.3.3.3 +# Peer Address : 4.4.4.4 +# Keepalive Interval : 5 secs +#----------------------------------- # # Number of MLAG Interfaces:1 #----------------------------------------------------------- diff --git a/models/enterprise_sonic/mclag/deleted_example_03.txt b/models/enterprise_sonic/mclag/deleted_example_03.txt index f0edf97c6..9ac7cd57c 100644 --- a/models/enterprise_sonic/mclag/deleted_example_03.txt +++ b/models/enterprise_sonic/mclag/deleted_example_03.txt @@ -21,6 +21,15 @@ # Gateway Mac : 00:00:00:12:12:12 # # +#Backup Keepalive Session Information: +#----------------------------------- +#Session Vrf : mgmt +#Session Status : down +#Source Address : 3.3.3.3 +#Peer Address : 4.4.4.4 +#Keepalive Interval : 5 secs +#----------------------------------- +# # Number of MLAG Interfaces:2 #----------------------------------------------------------- # MLAG Interface Local/Remote Status @@ -51,6 +60,8 @@ domain_id: 1 source_address: 3.3.3.3 keepalive: 10 + backup_keepalive_peer_address: 4.4.4.4 + backup_keepalive_interval: 5 peer_gateway: vlans: members: @@ -77,6 +88,14 @@ # Mclag System Mac : 00:00:00:11:11:11 # Gateway Mac : 00:00:00:12:12:12 # +# Backup Keepalive Session Information: +# ----------------------------------- +# Session Vrf : mgmt +# Session Status : down +# Source Address : 3.3.3.3 +# Peer Address : +# Keepalive Interval : 30 secs +#----------------------------------- # # Number of MLAG Interfaces:0 # diff --git a/models/enterprise_sonic/mclag/merged_example_01.txt b/models/enterprise_sonic/mclag/merged_example_01.txt index 0f2b98679..9aa543dee 100644 --- a/models/enterprise_sonic/mclag/merged_example_01.txt +++ b/models/enterprise_sonic/mclag/merged_example_01.txt @@ -19,6 +19,10 @@ delay_restore: 240 system_mac: '00:00:00:11:11:11' gateway_mac: '00:00:00:12:12:12' + backup_keepalive_source_address: 3.3.3.3 + backup_keepalive_session_vrf: mgmt + backup_keepalive_peer_address: 4.4.4.4 + backup_keepalive_interval: 5 unique_ip: vlans: - vlan: Vlan4 @@ -50,6 +54,14 @@ # Mclag System Mac : 00:00:00:11:11:11 # Gateway Mac : 00:00:00:12:12:12 # +# Backup Keepalive Session Information: +# ----------------------------------- +# Session Vrf : mgmt +# Session Status : down +# Source Address : 3.3.3.3 +# Peer Address : 4.4.4.4 +# Keepalive Interval : 5 secs +#----------------------------------- # # Number of MLAG Interfaces:1 #----------------------------------------------------------- diff --git a/models/enterprise_sonic/mclag/merged_example_02.txt b/models/enterprise_sonic/mclag/merged_example_02.txt index f8689f6fd..7875993a8 100644 --- a/models/enterprise_sonic/mclag/merged_example_02.txt +++ b/models/enterprise_sonic/mclag/merged_example_02.txt @@ -20,6 +20,14 @@ # Mclag System Mac : 00:00:00:11:11:11 # Gateway Mac : 00:00:00:12:12:12 # +#Backup Keepalive Session Information: +#----------------------------------- +#Session Vrf : mgmt +#Session Status : down +#Source Address : 3.3.3.3 +#Peer Address : 4.4.4.4 +#Keepalive Interval : 5 secs +#----------------------------------- # # Number of MLAG Interfaces:1 #----------------------------------------------------------- @@ -62,6 +70,10 @@ members: portchannels: - lag: PortChannel12 + backup_keepalive_source_address: 33.33.33.33 + backup_keepalive_session_vrf: VrfRed + backup_keepalive_peer_address: 43.43.43.43 + backup_keepalive_interval: 59 state: merged # After state: @@ -84,6 +96,14 @@ # Mclag System Mac : 00:00:00:11:11:11 # Gateway Mac : 00:00:00:12:12:12 # +# Backup Keepalive Session Information: +# ----------------------------------- +# Session Vrf : VrfRed +# Session Status : down +# Source Address : 33.33.33.33 +# Peer Address : 43.43.43.43 +# Keepalive Interval : 59 secs +#----------------------------------- # # Number of MLAG Interfaces:2 #----------------------------------------------------------- diff --git a/models/enterprise_sonic/mclag/sonic_mclag.yaml b/models/enterprise_sonic/mclag/sonic_mclag.yaml index b5f357008..9180185dc 100644 --- a/models/enterprise_sonic/mclag/sonic_mclag.yaml +++ b/models/enterprise_sonic/mclag/sonic_mclag.yaml @@ -108,6 +108,22 @@ DOCUMENTATION: | description: Holds a PortChannel ID. type: str type: dict + backup_keepalive_source_address: + description: + - The IPV4 backup-keepalive-source-ip for establishing backup keepalive session. + type: str + backup_keepalive_peer_address: + description: + - The IPV4 backup-keepalive-peer-ip for establishing backup keepalive session. + type: str + backup_keepalive_interval: + description: + - MCLAG backup keepalive session interval in secs. + type: int + backup_keepalive_session_vrf: + description: + - MCLAG backup keepalive session vrf + type: str state: description: - The state that the configuration should be left in.