summaryrefslogtreecommitdiffstats
path: root/config/portMirrorConfigurations.spec
diff options
context:
space:
mode:
Diffstat (limited to 'config/portMirrorConfigurations.spec')
-rw-r--r--config/portMirrorConfigurations.spec32
1 files changed, 32 insertions, 0 deletions
diff --git a/config/portMirrorConfigurations.spec b/config/portMirrorConfigurations.spec
new file mode 100644
index 0000000..c570c59
--- /dev/null
+++ b/config/portMirrorConfigurations.spec
@@ -0,0 +1,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"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]