summaryrefslogtreecommitdiffstats
path: root/config/portMirrorConfigurations.spec
diff options
context:
space:
mode:
Diffstat (limited to 'config/portMirrorConfigurations.spec')
-rw-r--r--config/portMirrorConfigurations.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/config/portMirrorConfigurations.spec b/config/portMirrorConfigurations.spec
index 964b385..edf413a 100644
--- a/config/portMirrorConfigurations.spec
+++ b/config/portMirrorConfigurations.spec
@@ -4,22 +4,26 @@
{
// This section extracts pnf-information from the GENERIC-RESOURCES-API
- // response from sdnc
+ // 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",
- "#nfType": "pnfList[0].attributeList[0].name",
- "pnf-type": "pnfList[0].attributeList[0].value"
+ "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",
- "#nfType": "pnfList[1].attributeList[0].name",
- "pnf-type": "pnfList[1].attributeList[0].value"
+ "pnf-type": {
+ "#nfType": "pnfList[1].attributeList[0].name",
+ "@(1,pnf-type)": "pnfList[1].attributeList[0].value"
+ }
}
}
}