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