blob: 06dc62328a05419d541293eb9673aa384a2ee9ec [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Template for deploying a single server with predefined properties.
4
5imports:
6 - custom_types/xos.yaml
7 - custom_types/cdn.yaml
8
9topology_template:
10 node_templates:
11 HyperCache:
12 type: tosca.nodes.CDNService
13 properties:
14 # HyperCache service must already exist before running this recipe
15 no-create: true
16 no-delete: true
17 no-update: true
18
19 # Setup the Syndicate Devel Service Provider
20
21 main_service_provider:
22 type: tosca.nodes.ServiceProvider
23 requirements:
24 - hpc_service:
25 node: HyperCache
26 relationship: tosca.relationships.MemberOfService
27
28 syndicate_devel:
29 type: tosca.nodes.ContentProvider
30 requirements:
31 - service_provider:
32 node: main_service_provider
33 relationship: tosca.relationships.MemberOfServiceProvider
34
35# http_node2.cs.arizona.edu:
36# type: tosca.nodes.OriginServer
37# requirements:
38# - content_provider:
39# node: syndicate_devel
40# relationship: tosca.relationships.MemberOfContentProvider
41
42 syndicate-devel.opencloud.us:
43 type: tosca.nodes.CDNPrefix
44 requirements:
45 - content_provider:
46 node: syndicate_devel
47 relationship: tosca.relationships.MemberOfContentProvider
48
49# - default_origin_server:
50# node: http_node2.cs.arizona.edu
51# relationship: tosca.relationships.DefaultOriginServer
52