[
{
"id": "a933",
"name": "Add MPLS dec_ttl action with pipe opcode",
"category": [
"actions",
"mpls"
],
"setup": [
[
"$TC actions flush action mpls",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions list action mpls",
"matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pipe.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action mpls"
]
},
{
"id": "08d1",
"name": "Add mpls dec_ttl action with pass opcode",
"category": [
"actions",
"mpls"
],
"setup": [
[
"$TC actions flush action mpls",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action mpls dec_ttl pass index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action mpls index 8",
"matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pass.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action mpls"
]
},
{
"id": "d786",
"name": "Add mpls dec_ttl action with drop opcode",
"category": [
"actions",
"mpls"
],
"setup": [
[
"$TC actions flush action mpls",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action mpls dec_ttl drop index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action mpls index 8",
"matchPattern": "action order [0-9]+: mpls.*dec_ttl.*drop.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action mpls"
]
},
{
"id": "f334",
"name": "Add mpls dec_ttl action with reclassify opcode",
"category": [
"actions",
"mpls"
],
"setup": [
[
"$TC actions flush action mpls",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action mpls dec_ttl reclassify index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action mpls index 8",
"matchPattern": "action order [0-9]+: mpls.*dec_ttl.*reclassify.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action mpls"
]
},
{
"id": "29bd",
"name": "Add mpls dec_ttl action with continue opcode",
"category": [
"actions",
"mpls"
],
"setup": [
[
"$TC actions flush action mpls",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action mpls dec_ttl continue index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions get action mpls index 8",
"matchPattern": "action order [0-9]+: mpls.*dec_ttl.*continue.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action mpls"
]
},
{
"id": "48df",
"name": "Add mpls dec_ttl action with jump opcode",
"category": [
"actions",
"mpls"
],
"setup": [
[
"$TC actions flush action mpls",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action mpls dec_ttl jump 10 index 8",
"expExitCode": "0",
"verifyCmd": "$TC actions list action mpls",
"matchPattern": "action order [0-9]+: mpls.*jump 10.*index 8 ref",
"matchCount": "1",
"teardown": [
"$TC actions flush action mpls"
]
},
{
"id": "62eb",
"name": "Add mpls dec_ttl action with trap opcode",
"category": [
"actions",
"mpls"
],
"setup": [
[