aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 12:35:04 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 12:35:04 +0200
commitf5f13c4f6b6fe3b4d98e349dfd7db59339803436 (patch)
tree72caffc93fab394ffa3b761505775331f1c559b9 /openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl
parent451a3400b76511393c62a444f588a4ed15f4a549 (diff)
push addional code
Change-Id: Ia427bb3460cda3a896f8faced2de69eaf3807b74 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl')
-rw-r--r--openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl25
1 files changed, 25 insertions, 0 deletions
diff --git a/openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl b/openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl
new file mode 100644
index 0000000000..1193992923
--- /dev/null
+++ b/openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl
@@ -0,0 +1,25 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"<#if !manual>,
+ "enum": [
+ "${network.name}"
+ ],
+ "default": "${network.name}"</#if>
+ },
+ "dhcp": {
+ "type": "boolean"<#if !manual>,
+ "enum": [
+ ${network.dhcp?c}
+ ],
+ "default": ${network.dhcp?c}</#if>
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "dhcp"
+ ]
+} \ No newline at end of file