[
{
"id": "6f5a",
"name": "Add vlan pop action with pipe opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop pipe index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions list action vlan",
"matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "df35",
"name": "Add vlan pop action with pass opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop pass index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action vlan index 8",
"matchPattern": "action order [0-9]+: vlan.*pop.*pass.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "b0d4",
"name": "Add vlan pop action with drop opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop drop index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action vlan index 8",
"matchPattern": "action order [0-9]+: vlan.*pop.*drop.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "95ee",
"name": "Add vlan pop action with reclassify opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop reclassify index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action vlan index 8",
"matchPattern": "action order [0-9]+: vlan.*pop.*reclassify.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "0283",
"name": "Add vlan pop action with continue opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop continue index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action vlan index 8",
"matchPattern": "action order [0-9]+: vlan.*pop.*continue.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "b6b9",
"name": "Add vlan pop action with jump opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop jump 10 index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions list action vlan",
"matchPattern": "action order [0-9]+: vlan.*jump 10.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "87c3",
"name": "Add vlan pop action with trap opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop trap index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions list action vlan",
"matchPattern": "action order [0-9]+: vlan.*pop trap.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "a178",
"name": "Add vlan pop action with invalid opcode",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop foo index 8",
"expExitCode": "255",
"verifyCmd": "$TC actions list action vlan",
"matchPattern": "action order [0-9]+: vlan.*pop.*foo.*index 8 ref",
"matchCount": "0",
"teardown": []
},
{
"id": "ee6f",
"name": "Add vlan pop action with index at 32-bit maximum",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop index 4294967295",
"expExitCode": "0",
"verifyCmd": "$TC actions list action vlan",
"matchPattern": "action order [0-9]+: vlan.*pop.*index 4294967295 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action vlan"
]
},
{
"id": "0dfa",
"name": "Add vlan pop action with index exceeding 32-bit maximum",
"category": [
"actions",
"vlan"
],
"plugins": {
"requires": "nsPlugin"
},
"setup": [
[
"$TC actions flush action vlan",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action vlan pop reclassify index 429496729599",
"expExitCode": "255",
"ve