|
629 | 629 | "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 42 dst_port 6081 geneve_opts 0102:80:00880022 index 1",
|
630 | 630 | "expExitCode": "0",
|
631 | 631 | "verifyCmd": "$TC actions get action tunnel_key index 1",
|
632 |
| - "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt 0102:80:00880022.*index 1", |
| 632 | + "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt[s]? 0102:80:00880022.*index 1", |
633 | 633 | "matchCount": "1",
|
634 | 634 | "teardown": [
|
635 | 635 | "$TC actions flush action tunnel_key"
|
|
653 | 653 | "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 42 dst_port 6081 geneve_opts 0102:80:00880022,0408:42:0040007611223344,0111:02:1020304011223344 index 1",
|
654 | 654 | "expExitCode": "0",
|
655 | 655 | "verifyCmd": "$TC actions get action tunnel_key index 1",
|
656 |
| - "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt 0102:80:00880022,0408:42:0040007611223344,0111:02:1020304011223344.*index 1", |
| 656 | + "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt[s]? 0102:80:00880022,0408:42:0040007611223344,0111:02:1020304011223344.*index 1", |
657 | 657 | "matchCount": "1",
|
658 | 658 | "teardown": [
|
659 | 659 | "$TC actions flush action tunnel_key"
|
|
677 | 677 | "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 42 dst_port 6081 geneve_opts 824212:80:00880022 index 1",
|
678 | 678 | "expExitCode": "255",
|
679 | 679 | "verifyCmd": "$TC actions get action tunnel_key index 1",
|
680 |
| - "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt 824212:80:00880022.*index 1", |
| 680 | + "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt[s]? 824212:80:00880022.*index 1", |
681 | 681 | "matchCount": "0",
|
682 | 682 | "teardown": [
|
683 | 683 | "$TC actions flush action tunnel_key"
|
|
701 | 701 | "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 42 dst_port 6081 geneve_opts 0102:4224:00880022 index 1",
|
702 | 702 | "expExitCode": "255",
|
703 | 703 | "verifyCmd": "$TC actions get action tunnel_key index 1",
|
704 |
| - "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt 0102:4224:00880022.*index 1", |
| 704 | + "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt[s]? 0102:4224:00880022.*index 1", |
705 | 705 | "matchCount": "0",
|
706 | 706 | "teardown": [
|
707 | 707 | "$TC actions flush action tunnel_key"
|
|
725 | 725 | "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 42 dst_port 6081 geneve_opts 0102:80:4288 index 1",
|
726 | 726 | "expExitCode": "255",
|
727 | 727 | "verifyCmd": "$TC actions get action tunnel_key index 1",
|
728 |
| - "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt 0102:80:4288.*index 1", |
| 728 | + "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt[s]? 0102:80:4288.*index 1", |
729 | 729 | "matchCount": "0",
|
730 | 730 | "teardown": [
|
731 | 731 | "$TC actions flush action tunnel_key"
|
|
749 | 749 | "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 42 dst_port 6081 geneve_opts 0102:80:4288428822 index 1",
|
750 | 750 | "expExitCode": "255",
|
751 | 751 | "verifyCmd": "$TC actions get action tunnel_key index 1",
|
752 |
| - "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt 0102:80:4288428822.*index 1", |
| 752 | + "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt[s]? 0102:80:4288428822.*index 1", |
753 | 753 | "matchCount": "0",
|
754 | 754 | "teardown": [
|
755 | 755 | "$TC actions flush action tunnel_key"
|
|
773 | 773 | "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 1.1.1.1 dst_ip 2.2.2.2 id 42 dst_port 6081 geneve_opts 0102:80:00880022,0408:42: index 1",
|
774 | 774 | "expExitCode": "255",
|
775 | 775 | "verifyCmd": "$TC actions get action tunnel_key index 1",
|
776 |
| - "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt 0102:80:00880022,0408:42:.*index 1", |
| 776 | + "matchPattern": "action order [0-9]+: tunnel_key.*set.*src_ip 1.1.1.1.*dst_ip 2.2.2.2.*key_id 42.*dst_port 6081.*geneve_opt[s]? 0102:80:00880022,0408:42:.*index 1", |
777 | 777 | "matchCount": "0",
|
778 | 778 | "teardown": [
|
779 | 779 | "$TC actions flush action tunnel_key"
|
|
0 commit comments