Skip to content

Commit

Permalink
Merged PR 6313764: Updated VXLAN switch table config based on device …
Browse files Browse the repository at this point in the history
…role.

Updated VXLAN cswitch table config based on device role.
Enable only for TOR Router or Leaf Router for now.

Signed-off-by: Abhishek Dosi <[email protected]>
  • Loading branch information
abdosi committed Jul 19, 2022
1 parent 88da93d commit ec627ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dockers/docker-orchagent/switch.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
[
{
"SWITCH_TABLE:switch": {
{% if "broadcom" not in asic_type and "marvell" not in asic_type %}
{% if DEVICE_METADATA.localhost.type in ["ToRRouter", "LeafRouter"] %}
{% if "broadcom" not in asic_type %}
"vxlan_port": "{{ vxlan_port }}",
"vxlan_router_mac": "{{ vxlan_mac }}",
{% endif %}
{% endif %}
"ecmp_hash_seed": "{{ hash_seed_value }}",
"lag_hash_seed": "{{ hash_seed_value }}",
Expand Down

0 comments on commit ec627ea

Please sign in to comment.