Commit fd4d8b38 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added coordinates data type

parent 37461c06
...@@ -6,5 +6,18 @@ data_types: ...@@ -6,5 +6,18 @@ data_types:
derived_from: tosca.datatypes.Credential derived_from: tosca.datatypes.Credential
properties: properties:
cloud_provider_name: cloud_provider_name:
type: string type: string
required: true required: true
tosca.datatypes.ARTICONF.coordinates:
derived_from: tosca.datatypes.Root
properties:
longitude:
type: float
required: false
description: The longitude of the domain
latitude:
type: float
required: false
description: The latitude of the domain
...@@ -111,7 +111,11 @@ node_types: ...@@ -111,7 +111,11 @@ node_types:
type: string type: string
required: true required: true
default: "ExoGENI" default: "ExoGENI"
description: The name of the provider e.g. EC2, ExoGENI etc. description: The name of the provider e.g. EC2, ExoGENI etc.
coordinates:
type: tosca.datatypes.ARTICONF.coordinates
required: false
description: The coordinates of the domain
attributes: attributes:
credential: credential:
type: tosca.datatypes.ARTICONF.Credential type: tosca.datatypes.ARTICONF.Credential
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment