summaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools/install/database/schemaTemplates/composition/network.ftl
blob: 119399292381737a41cb2ea3f4d0cd9613d17bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
  ]
}