diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2018-10-19 14:43:45 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2018-10-25 18:26:08 +0000 |
commit | 888204b28fb634a56c56adc3ec28c2c7ce1ff4ad (patch) | |
tree | 1047df6fe9972c450af92717102e148b225a7f62 /ms/controllerblueprints/application/load/resource_dictionary | |
parent | 85b0edf34bac8732fe03ca2ca4e7df35bea6736b (diff) |
Assign image keyname and pubkey at vnf level
Change-Id: I7eb4b47a9440e277a510864f2bb52323e464da5a
Issue-ID: CCSDK-621
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
(cherry picked from commit f39904fbe580301b896ad598e85a135d11c8944b)
Diffstat (limited to 'ms/controllerblueprints/application/load/resource_dictionary')
3 files changed, 100 insertions, 0 deletions
diff --git a/ms/controllerblueprints/application/load/resource_dictionary/image_name.json b/ms/controllerblueprints/application/load/resource_dictionary/image_name.json new file mode 100755 index 000000000..37ef5ae19 --- /dev/null +++ b/ms/controllerblueprints/application/load/resource_dictionary/image_name.json @@ -0,0 +1,33 @@ +{ + "name": "image_name", + "tags": "image_name", + "updated-by": "Singal, Kapil <ks220y@att.com>", + "property": { + "type": "string", + "description": "image_name" + }, + "sources": { + "input": { + "type": "source-input" + }, + "mdsal": { + "type": "source-rest", + "properties": { + "type": "JSON", + "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/image_name", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "image_name": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } + } + } +}
\ No newline at end of file diff --git a/ms/controllerblueprints/application/load/resource_dictionary/key_name.json b/ms/controllerblueprints/application/load/resource_dictionary/key_name.json new file mode 100755 index 000000000..1f1b3e65c --- /dev/null +++ b/ms/controllerblueprints/application/load/resource_dictionary/key_name.json @@ -0,0 +1,33 @@ +{ + "name": "key_name", + "tags": "key_name", + "updated-by": "Singal, Kapil <ks220y@att.com>", + "property": { + "type": "string", + "description": "key_name" + }, + "sources": { + "input": { + "type": "source-input" + }, + "mdsal": { + "type": "source-rest", + "properties": { + "type": "JSON", + "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/key_name", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "key_name": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } + } + } +}
\ No newline at end of file diff --git a/ms/controllerblueprints/application/load/resource_dictionary/pub_key.json b/ms/controllerblueprints/application/load/resource_dictionary/pub_key.json new file mode 100755 index 000000000..ce6c2f2a3 --- /dev/null +++ b/ms/controllerblueprints/application/load/resource_dictionary/pub_key.json @@ -0,0 +1,34 @@ +{ + "name": "pub_key", + "tags": "pub_key", + "updated-by": "Singal, Kapil <ks220y@att.com>", + "property": { + "type": "string", + "description": "pub_key" + }, + "sources": { + "input": { + "type": "source-input" + }, + "mdsal": { + "type": "source-rest", + "properties": { + "type": "JSON", + "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/pub_key", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "pub_key": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } + } + } +} + |