Enable/Disable Order ECMP feature. (#9651)
Updated Jinja2 Template in switch.json.j2 for enabling/disabling Order ECMP feature based on device role. Changes as per design: Azure/SONiC#896
This commit is contained in:
parent
bdfe89c4ad
commit
6c507329b7
@ -20,7 +20,12 @@
|
|||||||
"SWITCH_TABLE:switch": {
|
"SWITCH_TABLE:switch": {
|
||||||
"ecmp_hash_seed": "{{ hash_seed_value }}",
|
"ecmp_hash_seed": "{{ hash_seed_value }}",
|
||||||
"lag_hash_seed": "{{ hash_seed_value }}",
|
"lag_hash_seed": "{{ hash_seed_value }}",
|
||||||
"fdb_aging_time": "600"
|
"fdb_aging_time": "600",
|
||||||
|
{% if DEVICE_METADATA.localhost.type and "LeafRouter" in DEVICE_METADATA.localhost.type %}
|
||||||
|
"ordered_ecmp": "true"
|
||||||
|
{% else %}
|
||||||
|
"ordered_ecmp": "false"
|
||||||
|
{% endif %}
|
||||||
},
|
},
|
||||||
"OP": "SET"
|
"OP": "SET"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"SWITCH_TABLE:switch": {
|
"SWITCH_TABLE:switch": {
|
||||||
"ecmp_hash_seed": "11",
|
"ecmp_hash_seed": "11",
|
||||||
"lag_hash_seed": "11",
|
"lag_hash_seed": "11",
|
||||||
"fdb_aging_time": "600"
|
"fdb_aging_time": "600",
|
||||||
|
"ordered_ecmp": "true"
|
||||||
},
|
},
|
||||||
"OP": "SET"
|
"OP": "SET"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"SWITCH_TABLE:switch": {
|
"SWITCH_TABLE:switch": {
|
||||||
"ecmp_hash_seed": "13",
|
"ecmp_hash_seed": "13",
|
||||||
"lag_hash_seed": "13",
|
"lag_hash_seed": "13",
|
||||||
"fdb_aging_time": "600"
|
"fdb_aging_time": "600",
|
||||||
|
"ordered_ecmp": "true"
|
||||||
},
|
},
|
||||||
"OP": "SET"
|
"OP": "SET"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"SWITCH_TABLE:switch": {
|
"SWITCH_TABLE:switch": {
|
||||||
"ecmp_hash_seed": "0",
|
"ecmp_hash_seed": "0",
|
||||||
"lag_hash_seed": "0",
|
"lag_hash_seed": "0",
|
||||||
"fdb_aging_time": "600"
|
"fdb_aging_time": "600",
|
||||||
|
"ordered_ecmp": "false"
|
||||||
},
|
},
|
||||||
"OP": "SET"
|
"OP": "SET"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"SWITCH_TABLE:switch": {
|
"SWITCH_TABLE:switch": {
|
||||||
"ecmp_hash_seed": "10",
|
"ecmp_hash_seed": "10",
|
||||||
"lag_hash_seed": "10",
|
"lag_hash_seed": "10",
|
||||||
"fdb_aging_time": "600"
|
"fdb_aging_time": "600",
|
||||||
|
"ordered_ecmp": "true"
|
||||||
},
|
},
|
||||||
"OP": "SET"
|
"OP": "SET"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user