Adding vnf testcase with monitoring with new tosca template
Closes-bug#1564651 Change-Id: Ib9fae760d0414b2cf9164a830e9fcbd802c1fdaf
This commit is contained in:
parent
4c2fb85765
commit
d528eff44c
|
@ -12,6 +12,13 @@ topology_template:
|
|||
properties:
|
||||
image: cirros-0.3.4-x86_64-uec
|
||||
flavor: m1.tiny
|
||||
user_data_format: RAW
|
||||
user_data: |
|
||||
#!/bin/sh
|
||||
df -h > /home/cirros/diskinfo
|
||||
sleep 90
|
||||
sudo ifdown eth0
|
||||
|
||||
availability_zone: nova
|
||||
mgmt_driver: noop
|
||||
config: |
|
||||
|
|
|
@ -70,3 +70,8 @@ class VnfTestPingMonitor(base.BaseTackerTest):
|
|||
self._test_vnf_with_monitoring(
|
||||
'sample-vnfd-single-vdu-monitoring-new-template.yaml',
|
||||
'ping monitor vnf new template')
|
||||
|
||||
def test_create_delete_vnf_monitoring_tosca_template(self):
|
||||
self._test_vnf_with_monitoring(
|
||||
'sample-tosca-vnfd-monitor.yaml',
|
||||
'ping monitor vnf with tosca template')
|
||||
|
|
Loading…
Reference in New Issue