-
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.
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
- Loading branch information
Showing
4 changed files
with
295 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
122 changes: 122 additions & 0 deletions
122
src/sonic-config-engine/tests/sample_output/py2/ipinip_subnet_decap_enable.json
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,122 @@ | ||
[ | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.56" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.58" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.60" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.62" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.1.0.32" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.21.0.64" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.21.64.2" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:192.168.0.1" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:192.168.200.1" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET_V6" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00:1::32" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::71" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::75" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::79" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::7d" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
} | ||
] |
122 changes: 122 additions & 0 deletions
122
src/sonic-config-engine/tests/sample_output/py3/ipinip_subnet_decap_enable.json
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,122 @@ | ||
[ | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_TUNNEL" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.56" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.58" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.60" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.0.0.62" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.1.0.32" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.21.0.64" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:10.21.64.2" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:192.168.0.1" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_TUNNEL:192.168.200.1" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_SUBNET_V6" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TABLE:IPINIP_V6_TUNNEL" : { | ||
"tunnel_type":"IPINIP", | ||
"dscp_mode":"uniform", | ||
"ecn_mode":"copy_from_outer", | ||
"ttl_mode":"pipe" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00:1::32" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::71" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::75" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::79" : { | ||
"term_type":"P2MP" | ||
}, | ||
"OP": "SET" | ||
}, | ||
{ | ||
"TUNNEL_DECAP_TERM_TABLE:IPINIP_V6_TUNNEL:fc00::7d" : { | ||
"term_type":"P2MP" | ||
}, | ||
"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