File tree 5 files changed +0
-14
lines changed
src/sonic-config-engine/tests/sample_output
5 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 2
2
{# set default hash seed to 0 #}
3
3
{% set hash_seed = 0 %}
4
4
{% set hash_seed_offset = 0 %}
5
- {% set ecmp_hash_offset_value = 0 %}
6
- {% set lag_hash_offset_value = 0 %}
7
5
{% if DEVICE_METADATA .localhost .type %}
8
6
{% if "ToRRouter" in DEVICE_METADATA .localhost .type or DEVICE_METADATA .localhost .type in ["EPMS" , "MgmtTsToR" ] %}
9
7
{% set hash_seed = 0 %}
10
8
{% elif "LeafRouter" in DEVICE_METADATA .localhost .type %}
11
9
{% set hash_seed = 10 %}
12
- {% set ecmp_hash_offset_value = 10 %}
13
- {% set lag_hash_offset_value = 10 %}
14
10
{% elif "SpineRouter" in DEVICE_METADATA .localhost .type %}
15
11
{% set hash_seed = 25 %}
16
12
{% endif %}
25
21
"ecmp_hash_seed": "{{ hash_seed_value }}",
26
22
"lag_hash_seed": "{{ hash_seed_value }}",
27
23
"fdb_aging_time": "600",
28
- "ecmp_hash_offset": "{{ ecmp_hash_offset_value }}",
29
- "lag_hash_offset": "{{ lag_hash_offset_value }}",
30
24
{% if DEVICE_METADATA .localhost .type and "LeafRouter" in DEVICE_METADATA .localhost .type %}
31
25
"ordered_ecmp": "true"
32
26
{% else %}
Original file line number Diff line number Diff line change 4
4
"ecmp_hash_seed" : " 11" ,
5
5
"lag_hash_seed" : " 11" ,
6
6
"fdb_aging_time" : " 600" ,
7
- "ecmp_hash_offset" : " 10" ,
8
- "lag_hash_offset" : " 10" ,
9
7
"ordered_ecmp" : " true"
10
8
},
11
9
"OP" : " SET"
Original file line number Diff line number Diff line change 4
4
"ecmp_hash_seed" : " 13" ,
5
5
"lag_hash_seed" : " 13" ,
6
6
"fdb_aging_time" : " 600" ,
7
- "ecmp_hash_offset" : " 10" ,
8
- "lag_hash_offset" : " 10" ,
9
7
"ordered_ecmp" : " true"
10
8
},
11
9
"OP" : " SET"
Original file line number Diff line number Diff line change 4
4
"ecmp_hash_seed" : " 0" ,
5
5
"lag_hash_seed" : " 0" ,
6
6
"fdb_aging_time" : " 600" ,
7
- "ecmp_hash_offset" : " 0" ,
8
- "lag_hash_offset" : " 0" ,
9
7
"ordered_ecmp" : " false"
10
8
},
11
9
"OP" : " SET"
Original file line number Diff line number Diff line change 4
4
"ecmp_hash_seed" : " 10" ,
5
5
"lag_hash_seed" : " 10" ,
6
6
"fdb_aging_time" : " 600" ,
7
- "ecmp_hash_offset" : " 10" ,
8
- "lag_hash_offset" : " 10" ,
9
7
"ordered_ecmp" : " true"
10
8
},
11
9
"OP" : " SET"
You can’t perform that action at this time.
0 commit comments