X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Ftests%2Ftest_db_descriptors.py;h=057230c0dde8e44ab6a8e18acf41eff30469d10c;hp=d445d09ec8b68d62448cb59574be003ffa57d289;hb=0952a48159c11b6d31fff6617f04f06351ed79f3;hpb=549dda6d610178e26da22b9f16a09f0f98a68585 diff --git a/osm_nbi/tests/test_db_descriptors.py b/osm_nbi/tests/test_db_descriptors.py index d445d09..057230c 100644 --- a/osm_nbi/tests/test_db_descriptors.py +++ b/osm_nbi/tests/test_db_descriptors.py @@ -105,6 +105,18 @@ db_vnfds_text = """ vdu-monitoring-param: vdu-monitoring-param-ref: dataVM_cpu_util vdu-ref: dataVM + - id: dataVM_users + aggregation-type: AVERAGE + name: dataVM_users + vdu-metric: + vdu-metric-name-ref: users + vdu-ref: dataVM + - id: dataVM_load + aggregation-type: AVERAGE + name: dataVM_load + vdu-metric: + vdu-metric-name-ref: load + vdu-ref: dataVM name: hackfest3charmed-vnf scaling-group-descriptor: - max-instance-count: 10 @@ -183,6 +195,23 @@ db_vnfds_text = """ - id: dataVM_cpu_util nfvi-metric: cpu_utilization name: dataVM + vdu-configuration: + initial-config-primitive: + - parameter: + - value: "" + name: ssh-hostname + - value: ubuntu + name: ssh-username + - value: osm2018 + name: ssh-password + name: config + seq: '1' + metrics: + - name: users + - name: load + juju: + proxy: true + charm: testmetrics vm-flavor: memory-mb: '1024' storage-gb: '10'