X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Ftests%2Ftest_db_descriptors.py;h=482160aba23986f98209810f77e26c0ff5389a46;hb=762b6e7182f5bbba4b4206b12204e77bd45c3d33;hp=080d88d0c32cb59f20ff58e44eacba5b30641bad;hpb=07e53f5dde4bf7b2f31d71d0da0eab00c8d63648;p=osm%2FLCM.git diff --git a/osm_lcm/tests/test_db_descriptors.py b/osm_lcm/tests/test_db_descriptors.py index 080d88d..482160a 100644 --- a/osm_lcm/tests/test_db_descriptors.py +++ b/osm_lcm/tests/test_db_descriptors.py @@ -953,14 +953,12 @@ db_vnfds_text = """ df: - id: hackfest_default - vnf-configuration-id: vnf-configuration-example vdu-profile: - id: mgmtVM min-number-of-instances: 1 - id: dataVM min-number-of-instances: 1 max-number-of-instances: 10 - vdu-configuration-id: vdu-configuration-example instantiation-level: - id: default vdu-level: @@ -996,32 +994,39 @@ db_vnfds_text = """ vnf-config-primitive-name-ref: touch - trigger: pre-scale-in vnf-config-primitive-name-ref: touch + lcm-operations-configuration: + operate-vnf-op-config: + day1-2: + - id: hackfest3charmed-vnf + execution-environment-list: + - id: simple-ee + juju: + charm: simple + initial-config-primitive: + - seq: "1" + execution-environment-ref: simple-ee + name: config + parameter: + - name: ssh-hostname + value: + - name: ssh-username + value: ubuntu + - name: ssh-password + value: osm4u + - seq: "2" + execution-environment-ref: simple-ee + name: touch + parameter: + - name: filename + value: + config-primitive: + - name: touch + execution-environment-ref: simple-ee + parameter: + - data-type: STRING + default-value: + name: filename - vnf-configuration: - - id: vnf-configuration-example - initial-config-primitive: - - seq: "1" - name: config - parameter: - - name: ssh-hostname - value: - - name: ssh-username - value: ubuntu - - name: ssh-password - value: osm4u - - seq: "2" - name: touch - parameter: - - name: filename - value: - config-primitive: - - name: touch - parameter: - - data-type: STRING - default-value: - name: filename - juju: - charm: simple - _admin: created: 1575031727.5383403 modified: 1575031727.5383403 @@ -1045,6 +1050,8 @@ db_vnfds_text = """ - name: mgmt description: KNF with two KDU using helm-charts id: multikdu_knf + df: + - id: "default_df" k8s-cluster: nets: - external-connection-point-ref: mgmt