blob: ce5ee43bbe5cb400c54e99e7afea4114ad6520c5 [file] [log] [blame]
Pingping Linfb629532017-10-12 16:51:41 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
Pingping Lin2da4fec2017-10-16 17:50:54 -07005 - custom_types/site.yaml
6 - custom_types/slice.yaml
7 - custom_types/flavor.yaml
8 - custom_types/network.yaml
9 - custom_types/networktemplate.yaml
10
Pingping Linfb629532017-10-12 16:51:41 -070011
12description: network for S11 interface
13
14topology_template:
15 node_templates:
16
17# site, fully created in deployment.yaml
18 {{ site_name }}:
19 type: tosca.nodes.Site
Pingping Lin2da4fec2017-10-16 17:50:54 -070020 properties:
21 name: {{ site_name }}
22
23# mysite_vMME_slice:
24# type: tosca.nodes.Slice
25# properties:
26# must-exist: true
27# name: mysite_vMME_slice
Pingping Linfb629532017-10-12 16:51:41 -070028
29# s11 network
30 s11_template:
31 type: tosca.nodes.NetworkTemplate
32 properties:
Pingping Lin2da4fec2017-10-16 17:50:54 -070033 name: s11_template
Pingping Linfb629532017-10-12 16:51:41 -070034 visibility: private
35 translation: none
36 vtn_kind: PRIVATE
37
38 s11_network:
Pingping Lin2da4fec2017-10-16 17:50:54 -070039 type: tosca.nodes.Network
Pingping Linfb629532017-10-12 16:51:41 -070040 properties:
Pingping Lin2da4fec2017-10-16 17:50:54 -070041 name: s11_network
42 subnet: 112.0.0.0/24
Pingping Linfb629532017-10-12 16:51:41 -070043 requirements:
Pingping Lin2da4fec2017-10-16 17:50:54 -070044 - template:
Pingping Linfb629532017-10-12 16:51:41 -070045 node: s11_template
Pingping Lin2da4fec2017-10-16 17:50:54 -070046 relationship: tosca.relationships.BelongsToOne
Pingping Linfb629532017-10-12 16:51:41 -070047 - owner:
48 node: {{ site_name }}_s11
Pingping Lin2da4fec2017-10-16 17:50:54 -070049 relationship: tosca.relationships.BelongsToOne
50 # - slices:
51 # node: mysite_vMME_slice
52 # relationship: tosca.relationships.BelongsToMany
53
Pingping Linfb629532017-10-12 16:51:41 -070054
55 {{ site_name }}_s11:
56 description: This slice exists solely to own the private network
57 type: tosca.nodes.Slice
58 properties:
Pingping Lin2da4fec2017-10-16 17:50:54 -070059 name: {{ site_name }}_s11
60 default_isolation: vm
Pingping Linfb629532017-10-12 16:51:41 -070061 requirements:
62 - site:
63 node: {{ site_name }}
Pingping Lin2da4fec2017-10-16 17:50:54 -070064 relationship: tosca.relationships.BelongsToOne
Pingping Linfb629532017-10-12 16:51:41 -070065