X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=config%2Fpdf%2Fidf-pod1.schema.yaml;h=7546279d1c5fde70fe9268e08cbab519caddcc84;hb=8f43c9af3ca49498659fb3caa08162504b50ab07;hp=857749c40ce0b8d6bf8a4bf6f41bbd8969e68c65;hpb=7f60d8840468aacb240dc342060d1d164d3c38ba;p=pharos.git diff --git a/config/pdf/idf-pod1.schema.yaml b/config/pdf/idf-pod1.schema.yaml index 857749c4..7546279d 100644 --- a/config/pdf/idf-pod1.schema.yaml +++ b/config/pdf/idf-pod1.schema.yaml @@ -42,6 +42,13 @@ definitions: type: ['string', 'null'] required: ['admin', 'mgmt', 'private', 'public'] additionalProperties: false + trunks: + type: 'object' + properties: + mgmt: + type: 'boolean' + required: ['mgmt'] + additionalProperties: false required: ['bridges'] additionalProperties: false maas: @@ -56,6 +63,12 @@ definitions: network: type: 'object' properties: + interface_mtu: + type: 'number' + ntp_strata_host1: + type: 'string' + ntp_strata_host2: + type: 'string' node: type: 'array' items: @@ -133,6 +146,20 @@ definitions: osa: v0.1: type: 'object' + properties: + nodes_roles: + type: 'object' + groups: + type: 'object' + hostnames: + type: 'object' + network: + type: 'object' + required: ['nodes_roles', 'groups', 'hostnames', 'network'] + additionalProperties: false + kubespray: + v0.1: + type: ['object', 'null'] # NOTE: To be properly modeled by XCI maintainers ############################################################################## @@ -153,7 +180,7 @@ properties: type: 'array' items: type: 'string' - enum: ['apex', 'compass4nfv', 'daisy', 'fuel', 'joid', 'osa'] + enum: ['apex', 'compass4nfv', 'daisy', 'fuel', 'joid', 'osa', 'kubespray'] net_config: type: 'object' compass: @@ -163,7 +190,9 @@ properties: fuel: type: 'object' osa: - type: 'object' + type: ['object', 'null'] + kubespray: + type: ['object', 'null'] required: ['version'] additionalProperties: false ############################################################################ @@ -183,12 +212,19 @@ properties: $ref: '#/definitions/fuel/v0.1' osa: $ref: '#/definitions/osa/v0.1' + kubespray: + $ref: '#/definitions/kubespray/v0.1' fuel: required: ['net_config'] daisy: required: ['net_config'] osa: required: ['net_config'] + kubespray: + required: ['net_config'] + xci: + type: 'object' + # NOTE: To be properly modeled by XCI maintainers # Do not allow any properties not defined here. This lets us catch typos. additionalProperties: false