Skip to content
Snippets Groups Projects
Commit 0634acbf authored by poojara's avatar poojara
Browse files

Merge branch 'master' into 'master'

Saan service templates

See merge request dehury/radon-particles!5
parents e1e49648 0edf6125
No related branches found
No related tags found
No related merge requests found
Runs an apache container in Docker on a remote VM.
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "radon.blueprints.examples"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "1069"
y: "224"
displayName: "containerNginx"
properties:
container_port: "80"
image_name: "httpd:2.4"
container_name: "myapacheserver"
host_port: "8083"
name: "defaultApacheServer_saan"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "441"
y: "235"
displayName: "myWorkerVM_saan"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/.ssh/id_rsa"
external_ip: "172.17.88.206"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "767"
y: "223"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
Runs an nginx container in Docker on a remote VM.
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "radon.blueprints.examples"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "1072"
y: "198"
displayName: "containerNginx"
properties:
container_port: 80
image_name: "nginx:1.13"
container_name: "mynginxserver"
host_port: 8082
name: "defaultNginxServer_saan"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "468"
y: "213"
displayName: "myWorkerVM_saan"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/.ssh/id_rsa"
external_ip: "172.17.88.206"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "766"
y: "213"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment