diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-03-22 11:09:33 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2019-03-22 11:09:51 -0700 |
commit | ffb6bdfd6de2afa23d95d0884c9db4059982deed (patch) | |
tree | c528a1106245ee1b4ad77cd7586d6452d6e34d40 /ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/mdsal-source.json | |
parent | 1a47dc3ce480c4735cbf019918372a0e1ff367bc (diff) | |
parent | 1d32aa56013891203fafb2f32d2dc5b9ada0a384 (diff) |
Migrate "ms/controllerblueprints" from ccsdk/apps
Migrate code from ccsdk/apps ms/controllerblueprints
subfolder into ccsdk/cds
Issue-ID: CIMAN-245
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/mdsal-source.json')
-rw-r--r-- | ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/mdsal-source.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/mdsal-source.json b/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/mdsal-source.json new file mode 100644 index 000000000..67661ecd0 --- /dev/null +++ b/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/mdsal-source.json @@ -0,0 +1,34 @@ +{ + "tags": "oam-local-ipv4-address", + "name": "mdsal-source", + "property" :{ + "description": "based on service-instance-id,network-role,v4-ip-type and vm-type get the ipv4-gateway-prefix from the SDN-GC mdsal", + "type": "string" + }, + "updated-by": "brindasanth@onap.com", + "sources": { + "primary-config-data": { + "type": "source-rest", + "properties": { + "type": "JSON", + "url-path": "config/L3VNF-API:services/service-list/$service-instance-id/service-data/vnf-topology-information/vnf-assignments/vnf-vms/$vm-type/vm-networks/$network-role/v4-assigned-ip-list/$v4-ip-type", + "path": "/v4-assigned-ip-list/0/v4-ip-prefix", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "network-role": "network-role", + "v4-ip-type": "v4-ip-type", + "vm-type": "vm-type" + }, + "output-key-mapping": { + "oam-local-ipv4-address": "v4-ip-prefix" + }, + "key-dependencies": [ + "service-instance-id", + "network-role", + "v4-ip-type", + "vm-type" + ] + } + } + } +}
\ No newline at end of file |