Skip to content

Commit

Permalink
Update nexthop rewrite for flows based on default hash offset for cis…
Browse files Browse the repository at this point in the history
…co platform (sonic-net#14601)

* added test file

* bhagrane-cisco.fix_nhop_test_failure

* bhagrane-cisco.fix_nhop_test_failure
  • Loading branch information
ranepbhagyashree authored Oct 17, 2024
1 parent 67c345d commit caa0ce1
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions tests/ipfwd/test_nhop_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,27 +594,27 @@ def built_and_send_tcp_ip_packet():
45: 'c0:ff:ee:00:00:0c', 46: 'c0:ff:ee:00:00:0d',
47: 'c0:ff:ee:00:00:0b', 48: 'c0:ff:ee:00:00:11', 49: 'c0:ff:ee:00:00:0f'}

gb_asic_flow_map = {0: 'c0:ff:ee:00:00:0b', 1: 'c0:ff:ee:00:00:11',
2: 'c0:ff:ee:00:00:0c', 3: 'c0:ff:ee:00:00:0d', 4: 'c0:ff:ee:00:00:10',
5: 'c0:ff:ee:00:00:0b', 6: 'c0:ff:ee:00:00:0c',
7: 'c0:ff:ee:00:00:0d', 8: 'c0:ff:ee:00:00:0f', 9: 'c0:ff:ee:00:00:12',
10: 'c0:ff:ee:00:00:0b', 11: 'c0:ff:ee:00:00:10',
12: 'c0:ff:ee:00:00:0d', 13: 'c0:ff:ee:00:00:0c',
gb_asic_flow_map = {0: 'c0:ff:ee:00:00:0c', 1: 'c0:ff:ee:00:00:0e',
2: 'c0:ff:ee:00:00:11', 3: 'c0:ff:ee:00:00:0c', 4: 'c0:ff:ee:00:00:0e',
5: 'c0:ff:ee:00:00:0d', 6: 'c0:ff:ee:00:00:0c',
7: 'c0:ff:ee:00:00:11', 8: 'c0:ff:ee:00:00:10', 9: 'c0:ff:ee:00:00:0d',
10: 'c0:ff:ee:00:00:12', 11: 'c0:ff:ee:00:00:11',
12: 'c0:ff:ee:00:00:0f', 13: 'c0:ff:ee:00:00:0e',
14: 'c0:ff:ee:00:00:12',
15: 'c0:ff:ee:00:00:0c', 16: 'c0:ff:ee:00:00:11',
17: 'c0:ff:ee:00:00:12', 18: 'c0:ff:ee:00:00:0f', 19: 'c0:ff:ee:00:00:12',
20: 'c0:ff:ee:00:00:0f', 21: 'c0:ff:ee:00:00:0d',
22: 'c0:ff:ee:00:00:0f', 23: 'c0:ff:ee:00:00:12', 24: 'c0:ff:ee:00:00:0e',
25: 'c0:ff:ee:00:00:0b', 26: 'c0:ff:ee:00:00:0d',
27: 'c0:ff:ee:00:00:0f', 28: 'c0:ff:ee:00:00:12', 29: 'c0:ff:ee:00:00:10',
30: 'c0:ff:ee:00:00:11', 31: 'c0:ff:ee:00:00:12',
32: 'c0:ff:ee:00:00:0b', 33: 'c0:ff:ee:00:00:0c', 34: 'c0:ff:ee:00:00:0b',
35: 'c0:ff:ee:00:00:0e', 36: 'c0:ff:ee:00:00:0d',
37: 'c0:ff:ee:00:00:0e', 38: 'c0:ff:ee:00:00:0b', 39: 'c0:ff:ee:00:00:0d',
40: 'c0:ff:ee:00:00:10', 41: 'c0:ff:ee:00:00:12',
42: 'c0:ff:ee:00:00:12', 43: 'c0:ff:ee:00:00:11', 44: 'c0:ff:ee:00:00:0e',
45: 'c0:ff:ee:00:00:0b', 46: 'c0:ff:ee:00:00:12',
47: 'c0:ff:ee:00:00:0d', 48: 'c0:ff:ee:00:00:0c', 49: 'c0:ff:ee:00:00:0f'}
15: 'c0:ff:ee:00:00:10', 16: 'c0:ff:ee:00:00:0b',
17: 'c0:ff:ee:00:00:10', 18: 'c0:ff:ee:00:00:0f', 19: 'c0:ff:ee:00:00:0e',
20: 'c0:ff:ee:00:00:10', 21: 'c0:ff:ee:00:00:12',
22: 'c0:ff:ee:00:00:0e', 23: 'c0:ff:ee:00:00:0f', 24: 'c0:ff:ee:00:00:11',
25: 'c0:ff:ee:00:00:0c', 26: 'c0:ff:ee:00:00:0c',
27: 'c0:ff:ee:00:00:0e', 28: 'c0:ff:ee:00:00:0d', 29: 'c0:ff:ee:00:00:0f',
30: 'c0:ff:ee:00:00:10', 31: 'c0:ff:ee:00:00:0b',
32: 'c0:ff:ee:00:00:10', 33: 'c0:ff:ee:00:00:0b', 34: 'c0:ff:ee:00:00:0e',
35: 'c0:ff:ee:00:00:0f', 36: 'c0:ff:ee:00:00:0b',
37: 'c0:ff:ee:00:00:10', 38: 'c0:ff:ee:00:00:0f', 39: 'c0:ff:ee:00:00:0d',
40: 'c0:ff:ee:00:00:0b', 41: 'c0:ff:ee:00:00:11',
42: 'c0:ff:ee:00:00:0f', 43: 'c0:ff:ee:00:00:0c', 44: 'c0:ff:ee:00:00:0c',
45: 'c0:ff:ee:00:00:11', 46: 'c0:ff:ee:00:00:0e',
47: 'c0:ff:ee:00:00:0d', 48: 'c0:ff:ee:00:00:0e', 49: 'c0:ff:ee:00:00:0d'}

td2_asic_flow_map = {0: 'c0:ff:ee:00:00:12', 1: 'c0:ff:ee:00:00:10',
2: 'c0:ff:ee:00:00:11',
Expand Down

0 comments on commit caa0ce1

Please sign in to comment.