summaryrefslogtreecommitdiffstats
path: root/config/jolt/sdToModelContextSpec.json
diff options
context:
space:
mode:
authorNorm Traxler <normant@amdocs.com>2019-02-01 16:56:25 +0000
committerNorm Traxler <normant@amdocs.com>2019-02-05 21:35:35 +0000
commit85dda672f8d9a3bed20ca36852fa6e94c378f5b4 (patch)
tree5d6020abcf34a0d045c3cd24cf529fdb94693d60 /config/jolt/sdToModelContextSpec.json
parent3d61552b11dd676e15421de324cbf91e93178e4f (diff)
Ctx Builder l3-network support3.0.1-ONAP
Issue-ID: SDNC-475 Network Discovery Ctx Builder to support l3-network attribute mapping to common model. Fix jenkins JUnit failures Change-Id: I64ded411a74ffb037df17a047c16e210d41c4992 Signed-off-by: Norm Traxler <normant@amdocs.com>
Diffstat (limited to 'config/jolt/sdToModelContextSpec.json')
-rw-r--r--config/jolt/sdToModelContextSpec.json24
1 files changed, 20 insertions, 4 deletions
diff --git a/config/jolt/sdToModelContextSpec.json b/config/jolt/sdToModelContextSpec.json
index 88201a7..77a71f1 100644
--- a/config/jolt/sdToModelContextSpec.json
+++ b/config/jolt/sdToModelContextSpec.json
@@ -7,8 +7,13 @@
"operation": "shift",
"spec": {
"service-instance-id": "service.uuid",
- "generic-vnfs": {
+ "l3-networks": {
"*": {
+ "network-id": "networkList[&1].uuid"
+ }
+ },
+ "generic-vnfs": {
+ "*": {
"vservers": {
"*": {
"vserver-id": "vnfList[&3].vfModuleList[0].vmList[&1].uuid"
@@ -16,9 +21,20 @@
},
"l3-networks": {
"*": {
- "network-id": "vnfList[&3].vfModuleList[0].networkList[&1].uuid"
+ "network-id": "vnfList[&3].networkList[&1].uuid"
}
},
+ "vf-modules": {
+ "vf-module": {
+ "*": {
+ "l3-networks" : {
+ "*": {
+ "network-id": "vnfList[&6].vfModuleList[0].networkList[&1].uuid"
+ }
+ }
+ }
+ }
+ },
"vnfcs": {
"*": {
"vnfc-id": "vnfList[&3].vnfcList[&1].uuid"
@@ -27,5 +43,5 @@
}
}
}
- }
- ]
+ }
+]