blob: edf413a6caf75fbcc2940453534ef36818f87043 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
[
// Use https://jolt-demo.appspot.com/#inception to develop/test
// any changes to this file
{
// This section extracts pnf-information from the GENERIC-RESOURCES-API
// port-mirror-configuration-request-input response from sdnc
"operation": "shift",
"spec": {
"port-mirror-configuration-request-input": {
"source-port": {
"pnf-information": {
"pnf-name": "pnfList[0].name",
"pnf-type": {
"#nfType": "pnfList[0].attributeList[0].name",
"@(1,pnf-type)": "pnfList[0].attributeList[0].value"
}
}
},
"dest-port": {
"pnf-information": {
"pnf-name": "pnfList[1].name",
"pnf-type": {
"#nfType": "pnfList[1].attributeList[0].name",
"@(1,pnf-type)": "pnfList[1].attributeList[0].value"
}
}
}
}
}
}
]
|