diff options
Diffstat (limited to 'components/model-catalog')
10 files changed, 246 insertions, 0 deletions
diff --git a/components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sprofile-content.json b/components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sprofile-content.json new file mode 100644 index 000000000..8a68dfa42 --- /dev/null +++ b/components/model-catalog/definition-type/starter-type/artifact_type/artifact-k8sprofile-content.json @@ -0,0 +1,5 @@ +{ + "description": "K8s Profile Folder Artifact", + "version": "1.0.0", + "derived_from": "tosca.artifacts.Implementation" +}
\ No newline at end of file diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-definition-name.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-definition-name.json new file mode 100644 index 000000000..8fb643b7d --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-definition-name.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, k8s-rb-definition-name", + "name": "k8s-rb-definition-name", + "group": "default", + "property": { + "description": "K8s RB definition name. Associated with vf-module-model-invariant-uuid", + "type": "string" + }, + "updated-by": "Lukasz Rajewski <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-definition-version.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-definition-version.json new file mode 100644 index 000000000..633b412c6 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-definition-version.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, k8s-rb-definition-version", + "name": "k8s-rb-definition-version", + "group": "default", + "property": { + "description": "K8s RB definition version. Associated with vf-module-model-version", + "type": "string" + }, + "updated-by": "Lukasz Rajewski <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-profile-name.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-name.json new file mode 100644 index 000000000..b220329bb --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-name.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, k8s-rb-profile-name", + "name": "k8s-rb-profile-name", + "group": "default", + "property": { + "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.", + "type": "string" + }, + "updated-by": "Lukasz Rajewski <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-profile-namespace.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-namespace.json new file mode 100644 index 000000000..a7cd5c806 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-namespace.json @@ -0,0 +1,39 @@ +{ + "tags": "k8s, cnf, k8s-rb-profile-namespace", + "name": "k8s-rb-profile-namespace", + "group": "default", + "property": { + "description": "Profile name used in multicloud/k8s plugin", + "type": "string" + }, + "updated-by": "Lukasz Rajewski <lukasz.rajewski@orange.com>", + "sources": { + "input": { + "type": "source-input" + }, + "default": { + "type": "source-default", + "properties": {} + }, + "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/vnf-topology/vnf-parameters-data/param/k8s-rb-profile-namespace", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "k8s-rb-profile-namespace": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } + } + } +}
\ No newline at end of file diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-source.json b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-source.json new file mode 100644 index 000000000..4ed85665c --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/k8s-rb-profile-source.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, k8s-rb-profile-source", + "name": "k8s-rb-profile-source", + "group": "default", + "property": { + "description": "The source folder or file relative to 'Templates/k8s-profiles' folder", + "type": "string" + }, + "updated-by": "Lukasz Rajewski <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-module-model-invariant-uuid.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-model-invariant-uuid.json new file mode 100644 index 000000000..6fa3c7769 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-model-invariant-uuid.json @@ -0,0 +1,35 @@ +{ + "tags": "vnf, vf-module, vf-module-model-invariant-uuid", + "name": "vf-module-model-invariant-uuid", + "group": "default", + "property": { + "description": "vf-module-model-invariant-uuid", + "type": "string" + }, + "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>", + "sources": { + "input": { + "type": "source-input" + }, + "default": { + "type": "source-default", + "properties": {} + }, + "processor-db": { + "type": "source-db", + "properties": { + "type": "SQL", + "query": "select sdnctl.VF_MODULE_MODEL.invariant_uuid as vf_module_model_invariant_uuid from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid", + "input-key-mapping": { + "customizationid": "vf-module-model-customization-uuid" + }, + "output-key-mapping": { + "vf-module-model-invariant-uuid": "vf_module_model_invariant_uuid" + }, + "key-dependencies": [ + "vf-module-model-customization-uuid" + ] + } + } + } +}
\ No newline at end of file diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-model-version.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-model-version.json new file mode 100644 index 000000000..dc08ea087 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-model-version.json @@ -0,0 +1,35 @@ +{ + "tags": "vnf, vf-module, vf-module-model-version", + "name": "vf-module-model-version", + "group": "default", + "property": { + "description": "vf-module-model-version", + "type": "string" + }, + "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>", + "sources": { + "input": { + "type": "source-input" + }, + "default": { + "type": "source-default", + "properties": {} + }, + "processor-db": { + "type": "source-db", + "properties": { + "type": "SQL", + "query": "select sdnctl.VF_MODULE_MODEL.uuid as vf_module_model_version from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid", + "input-key-mapping": { + "customizationid": "vf-module-model-customization-uuid" + }, + "output-key-mapping": { + "vf-module-model-version": "vf_module_model_version" + }, + "key-dependencies": [ + "vf-module-model-customization-uuid" + ] + } + } + } +}
\ 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 new file mode 100644 index 000000000..0bf66f6e6 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vf-modules-list.json @@ -0,0 +1,37 @@ +{ + "tags": "vnf, vf-modules-list", + "name": "vf-modules-list", + "group": "default", + "property": { + "description": "List of vf-modules associated with vnf", + "type": "json" + }, + "updated-by": "Lukasz Rajewski <lukasz.rajewski@orange.com>", + "sources": { + "input": { + "type": "source-input" + }, + "default": { + "type": "source-default", + "properties": {} + }, + "aai-data": { + "type": "source-rest", + "properties": { + "verb": "GET", + "type": "JSON", + "url-path": "/aai/v19/network/generic-vnfs/generic-vnf/${vnf-id}?depth=1", + "path": "/vf-modules", + "input-key-mapping": { + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vf-modules": "vf-module" + }, + "key-dependencies": [ + "vnf-id" + ] + } + } + } +}
\ No newline at end of file diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vpg_management_port.json b/components/model-catalog/resource-dictionary/starter-dictionary/vpg_management_port.json new file mode 100644 index 000000000..20003dfd6 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vpg_management_port.json @@ -0,0 +1,19 @@ +{ + "tags": "k8s, cnf, vpg-management-port", + "name": "vpg-management-port", + "group": "default", + "property": { + "description": "Ssh port number in k8s nodeport to associate with vpg", + "type": "string" + }, + "updated-by": "Lukasz Rajewski <lukasz.rajewski@orange.com>", + "sources": { + "input": { + "type": "source-input" + }, + "default": { + "type": "source-default", + "properties": {} + } + } +}
\ No newline at end of file |