aboutsummaryrefslogtreecommitdiffstats
path: root/operations/a1-pe-sim-packages/resources/oran-sim-cba
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2021-08-02 07:46:57 +0200
committerk.kedron <k.kedron@partner.samsung.com>2021-08-18 14:19:11 +0200
commit91cb0c72c7597f62f9360e6cf19c2d34242edd9b (patch)
treef0004e069e159fff5b4801512432c7bd7e99a272 /operations/a1-pe-sim-packages/resources/oran-sim-cba
parentd911b0fb321e111e9928719bc043e902465cefb0 (diff)
Extend CNF to add sFTP
Service&Configuration Issue-ID: INT-1945 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I1d960f25e502d9ea4ea5063e3072e54270ee022e
Diffstat (limited to 'operations/a1-pe-sim-packages/resources/oran-sim-cba')
-rw-r--r--operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/data_types.json7
-rw-r--r--operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/resources_definition_types.json38
-rw-r--r--operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-mapping.json21
-rw-r--r--operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-template.vtl2
4 files changed, 68 insertions, 0 deletions
diff --git a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/data_types.json b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/data_types.json
index 8e48f70..4bff88f 100644
--- a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/data_types.json
+++ b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/data_types.json
@@ -11,6 +11,13 @@
"vnf-id": {
"type": "string"
},
+ "ftp-host": {
+ "type": "string"
+ },
+ "ftp-port": {
+ "type": "string",
+ "default": "32022"
+ },
"cells-payload": {
"type": "string",
"default": ""
diff --git a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/resources_definition_types.json b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/resources_definition_types.json
index f5fb852..d8b5733 100644
--- a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/resources_definition_types.json
+++ b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Definitions/resources_definition_types.json
@@ -73,6 +73,44 @@
}
}
},
+ "ftp-host": {
+ "tags": "oran, a1pesim",
+ "name": "ftp-host",
+ "property": {
+ "description": "Host address of the FTP server",
+ "type": "string"
+ },
+ "group": "default",
+ "updated-by": "Krystian Kedron <k.kedron@partner.samsung.com>",
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ }
+ }
+ },
+ "ftp-port": {
+ "tags": "oran, a1pesim",
+ "name": "ftp-port",
+ "property": {
+ "description": "Port value of the FTP server",
+ "type": "string"
+ },
+ "group": "default",
+ "updated-by": "Krystian Kedron <k.kedron@partner.samsung.com>",
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ }
+ }
+ },
"oran_name": {
"tags": "oran_name",
"name": "oran_name",
diff --git a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-mapping.json b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-mapping.json
index 423617d..62792b4 100644
--- a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-mapping.json
+++ b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-mapping.json
@@ -75,6 +75,27 @@
"dependencies": []
},
{
+ "name": "ftp-host",
+ "input-param": true,
+ "property": {
+ "type": "string"
+ },
+ "dictionary-name": "ftp-host",
+ "dictionary-source": "input",
+ "dependencies": []
+ },
+ {
+ "name": "ftp-port",
+ "input-param": true,
+ "property": {
+ "type": "string",
+ "default": "32022"
+ },
+ "dictionary-name": "ftp-port",
+ "dictionary-source": "default",
+ "dependencies": []
+ },
+ {
"name": "rep-period",
"input-param": true,
"property": {
diff --git a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-template.vtl b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-template.vtl
index 8466e65..e888244 100644
--- a/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-template.vtl
+++ b/operations/a1-pe-sim-packages/resources/oran-sim-cba/Templates/ves-template.vtl
@@ -5,4 +5,6 @@ vesHost=$externalNodeIp
vesPort=$ves-port
vesPassword=$ves-user
vesUser=$ves-password
+ftpHost=$ftp-host
+ftpPort=$ftp-port
repPeriod=$rep-period