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
5e535fb9
Commit
5e535fb9
authored
Mar 03, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename paths to develop
parent
0c8307fc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
29 deletions
+31
-29
application_example_2_topologies.yaml
TOSCA/application_example_2_topologies.yaml
+5
-5
application_example_planed.yaml
TOSCA/application_example_planed.yaml
+6
-6
application_example_provisioned.yaml
TOSCA/application_example_provisioned.yaml
+7
-7
application_example_updated.yaml
TOSCA/application_example_updated.yaml
+5
-5
lifeWatch_vre1.yaml
TOSCA/lifeWatch_vre1.yaml
+5
-5
message_example_provisioned.json
TOSCA/message_example_provisioned.json
+3
-1
No files found.
TOSCA/application_example_2_topologies.yaml
View file @
5e535fb9
description
:
TOSCA example
imports
:
-
nodes
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/nodes.yaml
-
data
:
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/TOSCA/types/data.yml
-
capabilities
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/capabilities.yaml
-
policies
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/policies.yaml
-
interfaces
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/interfaces.yml
-
nodes
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/nodes.yaml
-
data
:
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/TOSCA/types/data.yml
-
capabilities
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/capabilities.yaml
-
policies
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/policies.yaml
-
interfaces
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/interfaces.yml
topology_template
:
node_templates
:
compute
:
...
...
TOSCA/application_example_planed.yaml
View file @
5e535fb9
...
...
@@ -37,7 +37,7 @@ topology_template:
create
:
inputs
:
inventory-file
:
"
k8s_hosts"
playbook
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/ansible_playbooks/install_k8s.yml"
playbook
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/ansible_playbooks/install_k8s.yml"
type
:
"
tosca.nodes.ARTICONF.Orchestrator.Kubernetes"
logspout
:
properties
:
...
...
@@ -141,8 +141,8 @@ topology_template:
type
:
"
tosca.policies.ARTICONF.FaultTolerance"
description
:
"
TOSCA
example"
imports
:
-
nodes
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/nodes.yaml"
-
data
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/TOSCA/types/data.yml"
-
capabilities
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/capabilities.yaml"
-
policies
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/policies.yaml"
-
interfaces
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/interfaces.yml"
-
nodes
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/nodes.yaml"
-
data
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/TOSCA/types/data.yml"
-
capabilities
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/capabilities.yaml"
-
policies
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/policies.yaml"
-
interfaces
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/interfaces.yml"
TOSCA/application_example_provisioned.yaml
View file @
5e535fb9
...
...
@@ -66,10 +66,10 @@ topology_template:
Kubernetes
:
create
:
inputs
:
playbook
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/ansible_playbooks/create_k8s.yml"
playbook
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/ansible_playbooks/create_k8s.yml"
install
:
inputs
:
playbook
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/ansible_playbooks/install_k8s.yml"
playbook
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/ansible_playbooks/install_k8s.yml"
type
:
"
tosca.nodes.ARTICONF.Orchestrator.Kubernetes"
logspout
:
properties
:
...
...
@@ -157,8 +157,8 @@ topology_template:
type
:
"
tosca.policies.ARTICONF.FaultTolerance"
description
:
"
TOSCA
example"
imports
:
-
nodes
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/nodes.yaml"
-
data
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/TOSCA/types/data.yml"
-
capabilities
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/capabilities.yaml"
-
policies
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/policies.yaml"
-
interfaces
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/interfaces.yml"
-
nodes
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/nodes.yaml"
-
data
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/TOSCA/types/data.yml"
-
capabilities
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/capabilities.yaml"
-
policies
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/policies.yaml"
-
interfaces
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/interfaces.yml"
TOSCA/application_example_updated.yaml
View file @
5e535fb9
tosca_definitions_version
:
tosca_simple_yaml_1_0
imports
:
-
nodes
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/nodes.yaml
-
data
:
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/TOSCA/types/data.yml
-
capabilities
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/capabilities.yaml
-
policies
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/policies.yaml
-
interfaces
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/interfaces.yml
-
nodes
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/nodes.yaml
-
data
:
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/TOSCA/types/data.yml
-
capabilities
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/capabilities.yaml
-
policies
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/policies.yaml
-
interfaces
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/interfaces.yml
repositories
:
docker_hub
:
https://hub.docker.com/
...
...
TOSCA/lifeWatch_vre1.yaml
View file @
5e535fb9
tosca_definitions_version
:
tosca_simple_yaml_1_0
imports
:
-
nodes
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/nodes.yaml
-
data
:
https://raw.githubusercontent.com/skoulouzis/CONF/
DRIP_3.0
/TOSCA/types/data.yml
-
capabilities
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/capabilities.yaml
-
policies
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/policies.yaml
-
interfaces
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
DRIP_3.0
/TOSCA/types/interfaces.yml
-
nodes
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/nodes.yaml
-
data
:
https://raw.githubusercontent.com/skoulouzis/CONF/
develop
/TOSCA/types/data.yml
-
capabilities
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/capabilities.yaml
-
policies
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/policies.yaml
-
interfaces
:
https://raw.githubusercontent.com/skoulouzis/DRIP/
develop
/TOSCA/types/interfaces.yml
repositories
:
docker_hub
:
https://hub.docker.com/
...
...
TOSCA/message_example_provisioned.json
View file @
5e535fb9
{
"owner"
:
"user"
,
"creationDate"
:
1580735228286
,
"toscaTemplate"
:{
"tosca_definitions_version"
:
"tosca_simple_yaml_1_0"
,
"tosca_default_namespace"
:
null
,
"template_name"
:
null
,
"topology_template"
:{
"description"
:
null
,
"inputs"
:
null
,
"node_templates"
:{
"compute"
:{
"properties"
:{
"disk_size"
:
"50000 MB"
,
"mem_size"
:
"6000 MB"
,
"num_cores"
:
2.0
,
"os"
:
"Ubuntu 18.04"
,
"user_name"
:
"vm_user"
},
"interfaces"
:{
"Standard"
:{
"create"
:
"dumy.yaml"
}},
"type"
:
"tosca.nodes.ARTICONF.VM.Compute"
,
"attributes"
:{
"user_key_pair"
:{
"protocol"
:
"ssh"
,
"keys"
:{
"public_key"
:
"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFBZ1FEUlhTTElrMzV5S2YxSmdiMkxPdmhHdXJyR1lGVW1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GZlZUTQpjNEZxSHlkRkZuNTYrcEUySFoyVk1NZ1UrRTgxT1pETzZhNTR1cU1RNGs3TDRnSWNhbFUvZnU0U0dVMFE3S21UQUkwazY0ZVVUdzk0CjljM1Vhd3RWenlHcWcrbGY3TkdXYmhCWEFvR0FUNlFoRzBRZmRYTVVUYmJUOGRVM3VVZkFWTmxsMjBGSmk2Uy9zYlhDUUZBbnFSSWgKL2NrYjJKcDljR1JQdGJhUTZTOEUyU1F5V3BJRlU3L0p5aXVIbEowMVIvMWNMalU2WTlVcTBUemdrK1hheFk2Y2hxckdOYVQ2ZmxHZQpwK01aMVh3VGlwcHZFNzJseFQrRzhib1dhVjVGQ3ltUWJQWUl2VnJCdU5ON2Uya0NnWUVBanlEa0N2U2UyN0tIRXpUVVdlVjg4RDZYCnM4bXNIb3FCdVZIbXpxd0hXOGNURS9id1lCVmgvc2ZVd1VyNCtNRERKUkJMUU4yWFdWVEwwZEUwMkwzQjlVSTI1L0R4MUVaVW5IYnIKVlZZbFB5cjdDWXpzVnZBMGVmeFhBOUdJMEUwUUFBaFo0YTBabWNxRTZoSytRSEJ6K1NiUUxXZzhld24xeFNkRHVQNVFrS0k9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0t"
}},
"host_name"
:
"vm0"
}},
"compute_1"
:{
"properties"
:{
"disk_size"
:
"50000 MB"
,
"mem_size"
:
"6000 MB"
,
"num_cores"
:
2.0
,
"os"
:
"Ubuntu 18.04"
,
"user_name"
:
"vm_user"
},
"interfaces"
:{
"Standard"
:{
"create"
:
"dumy.yaml"
}},
"type"
:
"tosca.nodes.ARTICONF.VM.Compute"
,
"attributes"
:{
"user_key_pair"
:{
"protocol"
:
"ssh"
,
"keys"
:{
"public_key"
:
"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFBZ1FEUlhTTElrMzV5S2YxSmdiMkxPdmhHdXJyR1lGVW1uam0wc01pVXVOQ00wVWwvMUJNRlFCVDRpZWFyQk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Z1UrRTgxT1pETzZhNTR1cU1RNGs3TDRnSWNhbFUvZnU0U0dVMFE3S21UQUkwazY0ZVVUdzk0CjljM1Vhd3RWenlHcWcrbGY3TkdXYmhCWEFvR0FUNlFoRzBRZmRYTVVUYmJUOGRVM3VVZkFWTmxsMjBGSmk2Uy9zYlhDUUZBbnFSSWgKL2NrYjJKcDljR1JQdGJhUTZTOEUyU1F5V3BJRlU3L0p5aXVIbEowMVIvMWNMalU2WTlVcTBUemdrK1hheFk2Y2hxckdOYVQ2ZmxHZQpwK01aMVh3VGlwcHZFNzJseFQrRzhib1dhVjVGQ3ltUWJQWUl2VnJCdU5ON2Uya0NnWUVBanlEa0N2U2UyN0tIRXpUVVdlVjg4RDZYCnM4bXNIb3FCdVZIbXpxd0hXOGNURS9id1lCVmgvc2ZVd1VyNCtNRERKUkJMUU4yWFdWVEwwZEUwMkwzQjlVSTI1L0R4MUVaVW5IYnIKVlZZbFB5cjdDWXpzVnZBMGVmeFhBOUdJMEUwUUFBaFo0YTBabWNxRTZoSytRSEJ6K1NiUUxXZzhld24xeFNkRHVQNVFrS0k9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0t"
}},
"host_name"
:
"vm1"
}},
"kubernetes"
:{
"properties"
:{
"min_masters_num"
:
1
,
"min_workers_num"
:
1
},
"requirements"
:[{
"host"
:{
"capability"
:
"tosca.capabilities.ARTICONF.VM.topology"
,
"node"
:
"topology"
,
"relationship"
:
"tosca.relationships.HostedOn"
}}],
"interfaces"
:{
"Kubernetes"
:{
"create"
:{
"inputs"
:{
"playbook"
:
"https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/ansible_playbooks/create_k8s.yml"
}},
"install"
:{
"inputs"
:{
"playbook"
:
"https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/ansible_playbooks/install_k8s.yml"
}}}},
"type"
:
"tosca.nodes.ARTICONF.Orchestrator.Kubernetes"
},
"logspout"
:{
"properties"
:{
"environment"
:{
"publish"
:
"127.0.0.1:8000:80"
},
"ports"
:[
"8000:80"
],
"volumes"
:[
"/etc/hostname:/etc/host_hostname:ro"
,
"/var/run/docker.sock:/var/run/docker.sock"
]},
"requirements"
:[{
"host"
:{
"capability"
:
"tosca.capabilities.ARTICONF.Orchestrator"
,
"node"
:
"kubernetes"
,
"relationship"
:
"tosca.relationships.HostedOn"
}}],
"type"
:
"tosca.nodes.ARTICONF.Container.Application.Docker"
,
"artifacts"
:{
"image"
:{
"file"
:
"gliderlabs/logspout:latest"
,
"repository"
:
"docker_hub"
,
"type"
:
"tosca.artifacts.Deployment.Image.Container.Docker"
}}},
"mysql"
:{
"properties"
:{
"environment"
:{
"MYSQL_DATABASE"
:
"wordpress"
,
"MYSQL_PASSWORD"
:
"wordpress"
,
"MYSQL_ROOT_PASSWORD"
:
"somewordpress"
,
"MYSQL_USER"
:
"wordpress"
},
"ports"
:[
"3306:3306"
],
"volumes"
:[
"db_data:/var/lib/mysql"
]},
"requirements"
:[{
"host"
:{
"capability"
:
"tosca.capabilities.ARTICONF.Orchestrator"
,
"node"
:
"kubernetes"
,
"relationship"
:
"tosca.relationships.HostedOn"
}}],
"type"
:
"tosca.nodes.ARTICONF.Container.Application.Docker"
,
"artifacts"
:{
"image"
:{
"file"
:
"mysql:5.7"
,
"repository"
:
"docker_hub"
,
"type"
:
"tosca.artifacts.Deployment.Image.Container.Docker"
}}},
"topology"
:{
"properties"
:{
"domain"
:
"Frankfurt"
,
"provider"
:
"EC2"
},
"requirements"
:[{
"vm"
:{
"capability"
:
"tosca.capabilities.ARTICONF.VM"
,
"node"
:
"compute"
,
"relationship"
:
"tosca.relationships.DependsOn"
}},{
"vm"
:{
"capability"
:
"tosca.capabilities.ARTICONF.VM"
,
"node"
:
"compute_1"
,
"relationship"
:
"tosca.relationships.DependsOn"
}}],
"interfaces"
:{
"CloudsStorm"
:{
"provision"
:{
"inputs"
:{
"code_type"
:
"SEQ"
,
"object_type"
:
"SubTopology"
}}}},
"type"
:
"tosca.nodes.ARTICONF.VM.topology"
,
"attributes"
:{
"credential"
:{
"cloud_provider_name"
:
"EC2"
,
"keys"
:{
"aws_access_key_id"
:
"XXXXXXXXXXXXX"
},
"token"
:
"XXXXXXXX"
,
"token_type"
:
"access_key"
},
"status"
:
"running"
}}},
"relationship_templates"
:
null
,
"outputs"
:
null
,
"groups"
:
null
,
"substitution_mappings"
:
null
,
"policies"
:[{
"scalability"
:{
"properties"
:{
"constraint_name"
:
"cpu_load"
,
"max_value"
:
90
},
"targets"
:[
"mysql"
],
"type"
:
"tosca.policies.ARTICONF.Performance.CPU"
}},{
"faultTolerance"
:{
"properties"
:{
"level"
:
1
},
"targets"
:[
"mysql"
],
"type"
:
"tosca.policies.ARTICONF.FaultTolerance"
}}]},
"template_author"
:
null
,
"template_version"
:
null
,
"description"
:
"TOSCA example"
,
"imports"
:[{
"nodes"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/nodes.yaml"
},{
"data"
:
"https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/TOSCA/types/data.yml"
},{
"capabilities"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/capabilities.yaml"
},{
"policies"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/policies.yaml"
},{
"interfaces"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/interfaces.yml"
}],
"dsl_definitions"
:
null
,
"node_types"
:
null
,
"relationship_types"
:
null
,
"relationship_templates"
:
null
,
"capability_types"
:
null
,
"artifact_types"
:
null
,
"data_types"
:
null
,
"interface_types"
:
null
,
"policy_types"
:
null
,
"group_types"
:
null
,
"repositories"
:
null
}}
{
"owner"
:
"user"
,
"creationDate"
:
1580735228286
,
"toscaTemplate"
:{
"tosca_definitions_version"
:
"tosca_simple_yaml_1_0"
,
"tosca_default_namespace"
:
null
,
"template_name"
:
null
,
"topology_template"
:{
"description"
:
null
,
"inputs"
:
null
,
"node_templates"
:{
"compute"
:{
"properties"
:{
"disk_size"
:
"50000 MB"
,
"mem_size"
:
"6000 MB"
,
"num_cores"
:
2.0
,
"os"
:
"Ubuntu 18.04"
,
"user_name"
:
"vm_user"
},
"interfaces"
:{
"Standard"
:{
"create"
:
"dumy.yaml"
}},
"type"
:
"tosca.nodes.ARTICONF.VM.Compute"
,
"attributes"
:{
"user_key_pair"
:{
"protocol"
:
"ssh"
,
"keys"
:{
"public_key"
:
"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFBZ1FEUlhTTElrMzV5S2YxSmdiMkxPdmhHdXJyR1lGVW1uam0wc01pVXVOQ00wVWwvMUJNRlFCVDRpZWFyQkZkVElyamR6Mno0YWx2OHBiUDB5WWFZeXFRZndXS3V0U0xwclBTREszMjF0Ym5NNHdoaitqVkJwcGlqSDVyRFdNL0JCeWlUeGVTYkVxbDdaQVRaUTZWaUs1V3Y5UTJkSjhmWVlLSmhTeXM0aWh6RUx3PT0gYXV0byBnZW5lcmF0ZWQgdXNlciBhY2NlZXMga2V5cwo="
,
"private_key"
:
"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlDWFFJQkFBS0JnUURSWFNMSWszNXlLZjFKZ2IyTE92aEd1cnJHWUZVbW5qbTBzTWlVdU5DTTBVbC8xQk1GClFCVDRpZWFyQkZkVElyamR6Mno0YWx2OHBiUDB5WWFZeXFRZndXS3V0U0xwclBTREszMjF0Ym5NNHdoaitqVkIKcHBpakg1ckRXTS9CQnlpVHhlU2JFcWw3WkFUWlE2VmlLNVd2OVEyZEo4ZllZS0poU3lzNGloekVMd0lEQVFBQgpBb0dCQUtXT2NLTUxmMEhuMGxMK05WU1VIU0JSS01FV0REK3RmeFJUZDBtam04YSsrTkFNYzc0REhwSXEraXppCkVldTcyVlFOWXE1TjdNK3NlTkZwU3ZZbngvK21PYVJvN2lpQzkyalNDbnA2NWpUMGk2YjlhWmlW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properties"
:{
"disk_size"
:
"50000 MB"
,
"mem_size"
:
"6000 MB"
,
"num_cores"
:
2.0
,
"os"
:
"Ubuntu 18.04"
,
"user_name"
:
"vm_user"
},
"interfaces"
:{
"Standard"
:{
"create"
:
"dumy.yaml"
}},
"type"
:
"tosca.nodes.ARTICONF.VM.Compute"
,
"attributes"
:{
"user_key_pair"
:{
"protocol"
:
"ssh"
,
"keys"
:{
"public_key"
:
"c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFBZ1FEUlhTTElrMzV5S2YxSmdiMkxPdmhHdXJyR1lGVW1uam0wc01pVXVOQ00wVWwvMUJNRlFCVDRpZWFyQkZkVElyamR6Mno0YWx2OHBiUDB5WWFZeXFRZndXS3V0U0xwclBTREszMjF0Ym5NNHdoaitqVkJwcGlqSDVyRFdNL0JCeWlUeGVTYkVxbDdaQVRaUTZWaUs1V3Y5UTJkSjhmWVlLSmhTeXM0aWh6RUx3PT0gYXV0byBnZW5lcmF0ZWQgdXNlciBhY2NlZXMga2V5cwo="
,
"private_key"
:
"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlDWFFJQkFBS0JnUURSWFNMSWszNXlLZjFKZ2IyTE92aEd1cnJHWUZVbW5qbTBzTWlVdU5DTTBVbC8xQk1GClFCVDRpZWFyQkZkVElyamR6Mno0YWx2OHBiUDB5WWFZeXFRZndXS3V0U0xwclBTREszMjF0Ym5NNHdoaitqVkIKcHBpakg1ckRXTS9CQnlpVHhlU2JFcWw3WkFUWlE2VmlLNVd2OVEyZEo4ZllZS0poU3lzNGloekVMd0lEQVFBQgpBb0dCQUtXT2NLTUxmMEhuMGxMK05WU1VIU0JSS01FV0REK3RmeFJUZDBtam04YSsrTkFNYzc0REhwSXEraXppCkVldTcyVlFOWXE1TjdNK3NlTkZwU3ZZbngvK21PYVJvN2lpQzkyalNDbnA2NWpUMGk2YjlhWmlWWE9BVkUyVUUKSFN1cmk2L3RrTE9IZ0t2cGl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
},
"requirements"
:[{
"host"
:{
"capability"
:
"tosca.capabilities.ARTICONF.VM.topology"
,
"node"
:
"topology"
,
"relationship"
:
"tosca.relationships.HostedOn"
}}],
"interfaces"
:{
"Kubernetes"
:{
"create"
:{
"inputs"
:{
"playbook"
:
"https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/ansible_playbooks/create_k8s.yml"
}},
"install"
:{
"inputs"
:{
"playbook"
:
"https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/ansible_playbooks/install_k8s.yml"
}}}},
"type"
:
"tosca.nodes.ARTICONF.Orchestrator.Kubernetes"
},
"logspout"
:{
"properties"
:{
"environment"
:{
"publish"
:
"127.0.0.1:8000:80"
},
"ports"
:[
"8000:80"
],
"volumes"
:[
"/etc/hostname:/etc/host_hostname:ro"
,
"/var/run/docker.sock:/var/run/docker.sock"
]},
"requirements"
:[{
"host"
:{
"capability"
:
"tosca.capabilities.ARTICONF.Orchestrator"
,
"node"
:
"kubernetes"
,
"relationship"
:
"tosca.relationships.HostedOn"
}}],
"type"
:
"tosca.nodes.ARTICONF.Container.Application.Docker"
,
"artifacts"
:{
"image"
:{
"file"
:
"gliderlabs/logspout:latest"
,
"repository"
:
"docker_hub"
,
"type"
:
"tosca.artifacts.Deployment.Image.Container.Docker"
}}},
"mysql"
:{
"properties"
:{
"environment"
:{
"MYSQL_DATABASE"
:
"wordpress"
,
"MYSQL_PASSWORD"
:
"wordpress"
,
"MYSQL_ROOT_PASSWORD"
:
"somewordpress"
,
"MYSQL_USER"
:
"wordpress"
},
"ports"
:[
"3306:3306"
],
"volumes"
:[
"db_data:/var/lib/mysql"
]},
"requirements"
:[{
"host"
:{
"capability"
:
"tosca.capabilities.ARTICONF.Orchestrator"
,
"node"
:
"kubernetes"
,
"relationship"
:
"tosca.relationships.HostedOn"
}}],
"type"
:
"tosca.nodes.ARTICONF.Container.Application.Docker"
,
"artifacts"
:{
"image"
:{
"file"
:
"mysql:5.7"
,
"repository"
:
"docker_hub"
,
"type"
:
"tosca.artifacts.Deployment.Image.Container.Docker"
}}},
"topology"
:{
"properties"
:{
"domain"
:
"Frankfurt"
,
"provider"
:
"EC2"
},
"requirements"
:[{
"vm"
:{
"capability"
:
"tosca.capabilities.ARTICONF.VM"
,
"node"
:
"compute"
,
"relationship"
:
"tosca.relationships.DependsOn"
}},{
"vm"
:{
"capability"
:
"tosca.capabilities.ARTICONF.VM"
,
"node"
:
"compute_1"
,
"relationship"
:
"tosca.relationships.DependsOn"
}}],
"interfaces"
:{
"CloudsStorm"
:{
"provision"
:{
"inputs"
:{
"code_type"
:
"SEQ"
,
"object_type"
:
"SubTopology"
}}}},
"type"
:
"tosca.nodes.ARTICONF.VM.topology"
,
"attributes"
:{
"credential"
:{
"cloud_provider_name"
:
"EC2"
,
"keys"
:{
"aws_access_key_id"
:
"XXXXXXXXXXXXX"
},
"token"
:
"XXXXXXXX"
,
"token_type"
:
"access_key"
},
"status"
:
"running"
}}},
"relationship_templates"
:
null
,
"outputs"
:
null
,
"groups"
:
null
,
"substitution_mappings"
:
null
,
"policies"
:[{
"scalability"
:{
"properties"
:{
"constraint_name"
:
"cpu_load"
,
"max_value"
:
90
},
"targets"
:[
"mysql"
],
"type"
:
"tosca.policies.ARTICONF.Performance.CPU"
}},{
"faultTolerance"
:{
"properties"
:{
"level"
:
1
},
"targets"
:[
"mysql"
],
"type"
:
"tosca.policies.ARTICONF.FaultTolerance"
}}]},
"template_author"
:
null
,
"template_version"
:
null
,
"description"
:
"TOSCA example"
,
"imports"
:[{
"nodes"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/nodes.yaml"
},{
"data"
:
"https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/TOSCA/types/data.yml"
},{
"capabilities"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/capabilities.yaml"
},{
"policies"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/policies.yaml"
},{
"interfaces"
:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/types/interfaces.yml"
}],
"dsl_definitions"
:
null
,
"node_types"
:
null
,
"relationship_types"
:
null
,
"relationship_templates"
:
null
,
"capability_types"
:
null
,
"artifact_types"
:
null
,
"data_types"
:
null
,
"interface_types"
:
null
,
"policy_types"
:
null
,
"group_types"
:
null
,
"repositories"
:
null
}}
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