[Dual-ToR] add default value for ACL rule for mellanox platform (#13547)
- Why I did it Need to add the possibility to choose between dropping packets (using ACL) on ingress or egress in Dual ToR scenario - How I did it Add new attribute "mux_tunnel_ingress_acl" to SYSTEM_DEFAULTS table - How to verify it check that new attribute exists in redis: admin@sonic:~$ redis-cli -n 4 127.0.0.1:6379[4]> HGETALL SYSTEM_DEFAULTS|mux_tunnel_ingress_acl 1."state" 2."false" Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
This commit is contained in:
parent
5a2a95998c
commit
5ad78abea0
@ -133,5 +133,16 @@
|
||||
"digits_class": "true",
|
||||
"special_class": "true"
|
||||
}
|
||||
},
|
||||
"SYSTEM_DEFAULTS" : {
|
||||
{%- if include_mux == "y" %}
|
||||
"mux_tunnel_egress_acl": {
|
||||
{%- if sonic_asic_platform == "mellanox" %}
|
||||
"status": "enabled"
|
||||
{% else %}
|
||||
"status": "disabled"
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
}
|
||||
}
|
||||
|
@ -2227,6 +2227,10 @@
|
||||
"SYSTEM_DEFAULTS": {
|
||||
"tunnel_qos_remap": {
|
||||
"status": "enabled"
|
||||
},
|
||||
"mux_tunnel_egress_acl":
|
||||
{
|
||||
"status": "enabled"
|
||||
}
|
||||
},
|
||||
"LOSSLESS_TRAFFIC_PATTERN": {
|
||||
|
@ -6,6 +6,10 @@
|
||||
{
|
||||
"name": "tunnel_qos_remap",
|
||||
"status": "enabled"
|
||||
},
|
||||
{
|
||||
"name": "mux_tunnel_egress_acl",
|
||||
"status": "enabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -18,6 +22,10 @@
|
||||
{
|
||||
"name": "tunnel_qos_remap",
|
||||
"status": "invalid_status"
|
||||
},
|
||||
{
|
||||
"name": "mux_tunnel_egress_acl",
|
||||
"status": "invalid_status"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user