summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-03-23 22:48:02 +0100
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-03-23 22:48:02 +0100
commit9f6848476de716fe68e315a4b4f99c8d893eecef (patch)
tree1ec296b200af9526cae0e40ef66eabff93edd544 /components/model-catalog
parent91c1deec281ece8aa72b2afd9cc68b2d63c38189 (diff)
Add new elements of starter dictionary for vFW CNF CBA
Add new elements of starter dictionary for vFW CNF CBA Issue-ID: INT-1870 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I83d36de9e14316c1c95cbb78e69527802d2a6373
Diffstat (limited to 'components/model-catalog')
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json20
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json19
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json24
6 files changed, 118 insertions, 2 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json b/components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json
new file mode 100644
index 000000000..b0938cecb
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/config-value-setup.json
@@ -0,0 +1,20 @@
+{
+ "tags": "k8s, cnf, config-deploy-setup",
+ "name": "config-deploy-setup",
+ "group": "default",
+ "property": {
+ "description": "Configuration for CNF config deployment",
+ "type": "json"
+ },
+ "updated-by": "Lukasz Rajewski <lukasz.rajewski@orange.com>",
+ "sources": {
+ "capability": {
+ "type": "source-capability",
+ "properties": {
+ "script-type": "kotlin",
+ "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploySetup",
+ "instance-dependencies": []
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json
new file mode 100644
index 000000000..1a10a8c1f
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-name.json
@@ -0,0 +1,19 @@
+{
+ "tags": "k8s, cnf, config, k8s-rb-config-name",
+ "name": "k8s-rb-config-name",
+ "property": {
+ "description": "The source of configuration values for config-deploy operation",
+ "type": "string"
+ },
+ "group": "default",
+ "updated-by": "Rajewski, Lukasz <lukasz.rajewski@orange.com>",
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ }
+ }
+} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json
new file mode 100644
index 000000000..07e735626
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-name.json
@@ -0,0 +1,19 @@
+{
+ "tags": "k8s, cnf, config, k8s-rb-config-template-name",
+ "name": "k8s-rb-config-template-name",
+ "property": {
+ "description": "The name of configuration template for config-assign operation",
+ "type": "string"
+ },
+ "group": "default",
+ "updated-by": "Rajewski, Lukasz <lukasz.rajewski@orange.com>",
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ }
+ }
+} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json
new file mode 100644
index 000000000..b830ccbd8
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-template-source.json
@@ -0,0 +1,19 @@
+{
+ "tags": "k8s, cnf, config, k8s-rb-config-template-source",
+ "name": "k8s-rb-config-template-source",
+ "property": {
+ "description": "The source of configuration template for config-assign operation",
+ "type": "string"
+ },
+ "group": "default",
+ "updated-by": "Rajewski, Lukasz <lukasz.rajewski@orange.com>",
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ }
+ }
+} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json
new file mode 100644
index 000000000..c82cdf194
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-config-value-source.json
@@ -0,0 +1,19 @@
+{
+ "tags": "k8s, cnf, config, k8s-rb-config-value-source",
+ "name": "k8s-rb-config-value-source",
+ "property": {
+ "description": "The source of configuration values for config-deploy operation",
+ "type": "string"
+ },
+ "group": "default",
+ "updated-by": "Rajewski, Lukasz <lukasz.rajewski@orange.com>",
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ }
+ }
+} \ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json
index 0bf66f6e6..91afaf4a7 100644
--- a/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json
@@ -1,11 +1,11 @@
{
- "tags": "vnf, vf-modules-list",
+ "tags": "vf-modules-list",
"name": "vf-modules-list",
- "group": "default",
"property": {
"description": "List of vf-modules associated with vnf",
"type": "json"
},
+ "group": "default",
"updated-by": "Lukasz Rajewski <lukasz.rajewski@orange.com>",
"sources": {
"input": {
@@ -32,6 +32,26 @@
"vnf-id"
]
}
+ },
+ "sdnc": {
+ "type": "source-rest",
+ "properties": {
+ "verb": "GET",
+ "type": "JSON",
+ "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules",
+ "path": "/vf-modules",
+ "input-key-mapping": {
+ "service-instance-id": "service-instance-id",
+ "vnf-id": "vnf-id"
+ },
+ "output-key-mapping": {
+ "vf-modules": "vf-module"
+ },
+ "key-dependencies": [
+ "service-instance-id",
+ "vnf-id"
+ ]
+ }
}
}
} \ No newline at end of file