Skip to content

Commit

Permalink
nhop_group: Fix expected mac address dictionary for Cisco 8122
Browse files Browse the repository at this point in the history
  • Loading branch information
ranepbhagyashree committed Nov 7, 2024
1 parent e8cb3eb commit b9e86ee
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions tests/ipfwd/test_nhop_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,34 +759,34 @@ def built_and_send_tcp_ip_packet():
48: 'c0:ff:ee:00:00:0b', 49: 'c0:ff:ee:00:00:12'}

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

# Make sure a given flow always hash to same nexthop/neighbor. This is done to try to find issue
# where SAI vendor changes Hash Function across SAI releases. Please note this will not catch the issue every time
Expand Down

0 comments on commit b9e86ee

Please sign in to comment.