Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
6606fbe8
Commit
6606fbe8
authored
Oct 03, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/DRIP_3.0' into DRIP_3.0
parents
12d447e5
c17e54d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
7 deletions
+33
-7
capabilities.yaml
TOSCA/types/capabilities.yaml
+6
-2
nodes.yaml
TOSCA/types/nodes.yaml
+27
-5
No files found.
TOSCA/types/capabilities.yaml
View file @
6606fbe8
...
...
@@ -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
...
...
TOSCA/types/nodes.yaml
View file @
6606fbe8
...
...
@@ -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
:
1500
0 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment