summaryrefslogtreecommitdiffstats
path: root/config/portMirrorConfigurations.spec
blob: c570c592b4d3048c084e7137c2cba4cce8caf3f8 (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
    // 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"
            }
          }
        }
      }
    }
    }
  ]