diff options
author | rajendrajaiswal <rajendra.jaiswal@ericsson.com> | 2019-11-25 12:18:51 +0000 |
---|---|---|
committer | Daniel Rose <dr695h@att.com> | 2020-01-17 20:01:39 +0000 |
commit | 9b723a87afa7081cb4f03e2c5c45f4848486d365 (patch) | |
tree | d5d23285164b2d90a1f84d1a808bf53d43fe9f32 /robot/assets/usecases/5gbulkpm/k8s-sftp.yaml | |
parent | 4429aa33f676ffd494ef8621326e13050aa7be2a (diff) |
Add Bulk PM "Data Plane" Usecase Testcase Robot Automation
Change-Id: If7ec8c953f0ad61c427d6533f235b3cf61b9fffc
Issue-ID: INT-1375
Signed-off-by: rajendrajaiswal <rajendra.jaiswal@ericsson.com>
Diffstat (limited to 'robot/assets/usecases/5gbulkpm/k8s-sftp.yaml')
-rw-r--r-- | robot/assets/usecases/5gbulkpm/k8s-sftp.yaml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/robot/assets/usecases/5gbulkpm/k8s-sftp.yaml b/robot/assets/usecases/5gbulkpm/k8s-sftp.yaml new file mode 100644 index 00000000..a8fe1839 --- /dev/null +++ b/robot/assets/usecases/5gbulkpm/k8s-sftp.yaml @@ -0,0 +1,34 @@ +tosca_definitions_version: cloudify_dsl_1_3 + +imports: + - 'http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml' + - 'https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R5/k8splugin/1.6.0/k8splugin_types.yaml' + +inputs: + tag_version: + type: string + description: Docker image to be used + default: 'atmoz/sftp' + replicas: + type: integer + description: Number of instances + default: 1 + +node_templates: + sftpserver: + type: dcae.nodes.ContainerizedPlatformComponent + interfaces: + cloudify.interfaces.lifecycle: + start: + inputs: + envs: + SFTP_USERS: bulkpm:bulkpm:::upload + ports: + - '22:32222' + + properties: + name: "sftpserver" + dns_name: "sftpserver" + + image: { get_input: tag_version } + replicas: { get_input: replicas }
\ No newline at end of file |