-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Multi-ASIC]:Update the template to add ipinip entry for Loopback4096 (…
…#5235) Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]> The following changes are done. - Multi asic platform have 2 Loopback interfaces, Loopback0 and Loopback4096. IPinIP decap entries need to be added for both of them. Update the ipinip.json.j2 template to add decap entries for Loopback4096. - Add corressponding unit test
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : { | ||
"tunnel_type":"IPINIP", | ||
"dst_ip":"10.1.0.32,8.0.0.0,10.0.0.0,10.1.0.1,10.1.0.3", | ||
"dscp_mode":"pipe", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
} | ||
, | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : { | ||
"tunnel_type":"IPINIP", | ||
"dst_ip":"fc00:1::32,fd00:1::32,fc00::1", | ||
"dscp_mode":"pipe", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters