[
{
"id": "a933",
"name": "Add MPLS dec_ttl action with pipe opcode",
"category": [
"actions",
"mpls"
],
"plugins": {
"requires": "nsPlugin"
},
"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"
],
"plugins": {
"requires": "nsPlugin"
},
"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"
],
"plugins": {
"requires": "nsPlugin"
},
"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"