aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-09-02 14:43:47 +0300
committerTal Gitelman <tg851x@intl.att.com>2018-09-05 15:52:50 +0000
commitf773610d0952940db42376cbb36ba63cb2cacc35 (patch)
tree35bb3382c77634c5fd0c4d225fc68cb01913b981
parent252b7cd8f1e6cbc947bf20cf2b033ccaa9904fdd (diff)
add software_versions property
add software versions to the pnf model Change-Id: I46c4f5d3f90cd84f08e2f14d61143cdcb5349855 Issue-ID: SDC-1698 Signed-off-by: Michael Lando <ml636r@att.com>
-rw-r--r--catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml6
-rw-r--r--catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json3
2 files changed, 7 insertions, 2 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml
index db3fc7cd3e..8adfa78635 100644
--- a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml
+++ b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml
@@ -8,4 +8,8 @@ node_types:
nf_role:
type: string
nf_type:
- type: string \ No newline at end of file
+ type: string
+ software_versions:
+ type: list
+ entry_schema:
+ type: string \ No newline at end of file
diff --git a/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json b/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json
index 1ea8f98925..8090649613 100644
--- a/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json
+++ b/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json
@@ -1,7 +1,8 @@
{
"heat": [
"configuration",
- "fabricConfiguration"
+ "fabricConfiguration",
+ "Generic_PNF"
],
"normative": [
]