aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/templates/vnf-services/basic_vm-service.yaml.j2
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2024-01-31 08:30:41 +0100
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2024-02-02 08:30:15 +0100
commit440df5e3af8446ddaf1e7ab9ed5abbbe439f9a06 (patch)
tree13ee8f0a3839b18eff32a1bcab25a6c5baf00364 /src/onaptests/templates/vnf-services/basic_vm-service.yaml.j2
parent6a3e189d7fac6ec562f8785c71ed87663ef0c311 (diff)
Refactor tests to use SDC v2 onapsdk module
Refactored SDC allows to archive and delete SDC resources Remove unmaintained test basic_clamp Issue-ID: TEST-404 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I11e4be6f4567098b20733879e393c689766a9c6e
Diffstat (limited to 'src/onaptests/templates/vnf-services/basic_vm-service.yaml.j2')
-rw-r--r--src/onaptests/templates/vnf-services/basic_vm-service.yaml.j239
1 files changed, 39 insertions, 0 deletions
diff --git a/src/onaptests/templates/vnf-services/basic_vm-service.yaml.j2 b/src/onaptests/templates/vnf-services/basic_vm-service.yaml.j2
new file mode 100644
index 0000000..9d7d4fd
--- /dev/null
+++ b/src/onaptests/templates/vnf-services/basic_vm-service.yaml.j2
@@ -0,0 +1,39 @@
+---
+{{ service_name }}:
+ vnfs:
+ - vnf_name: {{ service_name }}
+ heat_files_to_upload: templates/heat-files/ubuntu20/ubuntu20agent.zip
+ vnf_parameters: [
+ {"name": "ubuntu20_image_name",
+ "value": "ubuntu-20.04"
+ },
+ {"name": "ubuntu20_key_name",
+ "value": "cleouverte"
+ },
+ {"name": "ubuntu20_pub_key",
+ "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAA\
+BAQDY15cdBmIs2XOpe4EiFCsaY6bmUmK/GysMoLl4UG51JCfJwvwoWCoA+6mDIbymZxhxq9IGx\
+ilp/yTA6WQ9s/5pBag1cUMJmFuda9PjOkXl04jgqh5tR6I+GZ97AvCg93KAECis5ubSqw1xOCj4\
+utfEUtPoF1OuzqM/lE5mY4N6VKXn+fT7pCD6cifBEs6JHhVNvs5OLLp/tO8Pa3kKYQOdyS0xc3r\
+h+t2lrzvKUSWGZbX+dLiFiEpjsUL3tDqzkEMNUn4pdv69OJuzWHCxRWPfdrY9Wg0j3mJesP29EBh\
+t+w+EC9/kBKq+1VKdmsXUXAcjEvjovVL8l1BrX3BY0R8D imported-openssh-key"
+ },
+ {"name": "ubuntu20_flavor_name",
+ "value": "m1.small"
+ },
+ {"name": "VM_name",
+ "value": "ubuntu20agent-VM-01"
+ },
+ {"name": "vnf_id",
+ "value": "ubuntu20agent-VNF-instance"
+ },
+ {"name": "vf_module_id",
+ "value": "ubuntu20agent-vfmodule-instance"
+ },
+ {"name": "vnf_name",
+ "value": "ubuntu20agent-VNF"
+ },
+ {"name": "admin_plane_net_name",
+ "value": "admin"
+ }
+ ]