Commit 6606fbe8 authored by Spiros Koulouzis's avatar Spiros Koulouzis

Merge remote-tracking branch 'origin/DRIP_3.0' into DRIP_3.0

parents 12d447e5 c17e54d4
......@@ -23,8 +23,12 @@ capability_types:
type: string
required: no
tosca.capabilities.ARTICONF.Useless:
properties:
some_properties:
type: string
required: no
tosca.capabilities.Compute:
derived_from: tosca.capabilities.Container
......
......@@ -34,6 +34,10 @@ node_types:
capability: tosca.capabilities.ARTICONF.Orchestrator
node: tosca.nodes.ARTICONF.Orchestrator
relationship: tosca.relationships.HostedOn
- useless:
capability: tosca.capabilities.ARTICONF.Useless
node: tosca.nodes.ARTICONF.Orchestrator
relationship: tosca.relationships.HostedOn
tosca.nodes.ARTICONF.Orchestrator:
#derived_from: tosca.nodes.SoftwareComponent
......@@ -61,6 +65,21 @@ node_types:
Standard:
create: interfaces/playbooks/kubernetes_install.yaml
tosca.nodes.ARTICONF.Orchestrator.Swarm:
derived_from: tosca.nodes.ARTICONF.Orchestrator
description: swarm orchestrator
requirements:
- host:
capability: tosca.capabilities.Scalable
node: tosca.nodes.ARTICONF.Infrastructure
relationship: tosca.relationships.HostedOn
capabilities:
useless:
type: tosca.capabilities.ARTICONF.Useless
interfaces:
Standard:
create: interfaces/playbooks/docker_swarm_install.yaml
tosca.nodes.ARTICONF.Infrastructure:
description: Base infrastructure node
......@@ -79,10 +98,12 @@ node_types:
properties:
user_name:
type: string
required: true
required: true
default: "vm_user"
host_name:
type: string
required: true
default: "vm"
num_cpus:
type: integer
required: true
......@@ -92,20 +113,21 @@ node_types:
type: scalar-unit.frequency
required: true
constraints:
- greater_or_equal: 0.1 GHz
- greater_or_equal: 0.5 GHz
disk_size:
type: scalar-unit.size
required: true
constraints:
- greater_or_equal: 0 MB
- greater_or_equal: 15000 MB
mem_size:
type: scalar-unit.size
required: true
constraints:
- greater_or_equal: 0 MB
- greater_or_equal: 500 MB
os:
type: string
required: true
required: true
default: "ubuntu 15"
interfaces:
Standard:
create: dumy.yaml
......
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