X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_nbi%2Ftests%2Ftest_pkg_descriptors.py;h=4dea8e446402ee1cea955f96ab8baf738a316404;hb=10f814e5c393778cbad66346f79208b4c70be2ff;hp=d77b79f219c584013201830073d8719abbfffa36;hpb=48683b8ca543c63a03c8d594a768d48d4a1a87b9;p=osm%2FNBI.git diff --git a/osm_nbi/tests/test_pkg_descriptors.py b/osm_nbi/tests/test_pkg_descriptors.py index d77b79f..4dea8e4 100644 --- a/osm_nbi/tests/test_pkg_descriptors.py +++ b/osm_nbi/tests/test_pkg_descriptors.py @@ -118,7 +118,17 @@ db_vnfds_text = """ position: 2 virtual-interface: type: VIRTIO - - id: dataVM + - alarm: + - actions: + alarm: + - url: https://webhook.site + insufficient-data: + - url: https://webhook.site + ok: + - url: https://webhook.site + alarm-id: alarm-1 + vnf-monitoring-param-ref: dataVM_cpu_util + id: dataVM name: dataVM sw-image-desc: hackfest3-mgmt virtual-compute-desc: data-compute @@ -179,7 +189,7 @@ db_vnfds_text = """ deltas: - id: delta1 vdu-delta: - - id: vdudelta1 + - id: dataVM number-of-instances: 1 scaling-policy: - name: auto_cpu_util_above_threshold @@ -199,6 +209,15 @@ db_vnfds_text = """ vnf-config-primitive-name-ref: touch - trigger: pre-scale-in vnf-config-primitive-name-ref: touch + healing-aspect: + - id: heal_dataVM + healing-policy: + - vdu-id: dataVM + event-name: heal-alarm + recovery-type: automatic + action-on-recovery: REDEPLOY_ONLY + cooldown-time: 180 + day1: false lcm-operations-configuration: operate-vnf-op-config: day1-2: