projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Pre and Post Scale operations
[osm/LCM.git]
/
osm_lcm
/
tests
/
test_db_descriptors.py
diff --git
a/osm_lcm/tests/test_db_descriptors.py
b/osm_lcm/tests/test_db_descriptors.py
index
be420c7
..
6b4be6a
100644
(file)
--- a/
osm_lcm/tests/test_db_descriptors.py
+++ b/
osm_lcm/tests/test_db_descriptors.py
@@
-1000,8
+1000,13
@@
db_vnfds_text = """
operate-vnf-op-config:
day1-2:
- id: hackfest3charmed-vnf
operate-vnf-op-config:
day1-2:
- id: hackfest3charmed-vnf
+ execution-environment-list:
+ - id: simple-ee
+ juju:
+ charm: simple
initial-config-primitive:
- seq: "1"
initial-config-primitive:
- seq: "1"
+ execution-environment-ref: simple-ee
name: config
parameter:
- name: ssh-hostname
name: config
parameter:
- name: ssh-hostname
@@
-1011,18
+1016,18
@@
db_vnfds_text = """
- name: ssh-password
value: osm4u
- seq: "2"
- name: ssh-password
value: osm4u
- seq: "2"
+ execution-environment-ref: simple-ee
name: touch
parameter:
- name: filename
value: <touch_filename>
config-primitive:
- name: touch
name: touch
parameter:
- name: filename
value: <touch_filename>
config-primitive:
- name: touch
+ execution-environment-ref: simple-ee
parameter:
- data-type: STRING
default-value: <touch_filename2>
name: filename
parameter:
- data-type: STRING
default-value: <touch_filename2>
name: filename
- juju:
- charm: simple
- _admin:
created: 1575031727.5383403
- _admin:
created: 1575031727.5383403
@@
-1047,6
+1052,8
@@
db_vnfds_text = """
- name: mgmt
description: KNF with two KDU using helm-charts
id: multikdu_knf
- 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
k8s-cluster:
nets:
- external-connection-point-ref: mgmt