summaryrefslogtreecommitdiffstats
path: root/config/portMirrorConfigurations.spec
blob: 964b385785d605f36f0a293a5c80bc26ae8d21c7 (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
[
  // 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
    // response from sdnc
    "operation": "shift",
    "spec": {
      "port-mirror-configuration-request-input": {
        "source-port": {
          "pnf-information": {
            "pnf-name": "pnfList[0].name",
            "#nfType": "pnfList[0].attributeList[0].name",
            "pnf-type": "pnfList[0].attributeList[0].value"
          }
        },
        "dest-port": {
          "pnf-information": {
            "pnf-name": "pnfList[1].name",
            "#nfType": "pnfList[1].attributeList[0].name",
            "pnf-type": "pnfList[1].attributeList[0].value"
          }
        }
      }
    }
    }
  ]