blob: f44b0fd885581dfe874935d0aaadce7dcc5ff703 [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 -070011description: network for S11 interface
12
13topology_template:
14 node_templates:
15
16# site, fully created in deployment.yaml
17 {{ site_name }}:
18 type: tosca.nodes.Site
Pingping Lin2da4fec2017-10-16 17:50:54 -070019 properties:
20 name: {{ site_name }}
21
Pingping Linfb629532017-10-12 16:51:41 -070022# s11 network
23 s11_template:
24 type: tosca.nodes.NetworkTemplate
25 properties:
Pingping Lin2da4fec2017-10-16 17:50:54 -070026 name: s11_template
Pingping Linfb629532017-10-12 16:51:41 -070027 visibility: private
28 translation: none
29 vtn_kind: PRIVATE
30
31 s11_network:
Pingping Lin2da4fec2017-10-16 17:50:54 -070032 type: tosca.nodes.Network
Pingping Linfb629532017-10-12 16:51:41 -070033 properties:
Pingping Lin2da4fec2017-10-16 17:50:54 -070034 name: s11_network
35 subnet: 112.0.0.0/24
Andy Bavieracc73ec2017-10-20 11:19:20 -070036 permit_all_slices: true
Pingping Linfb629532017-10-12 16:51:41 -070037 requirements:
Pingping Lin2da4fec2017-10-16 17:50:54 -070038 - template:
Pingping Linfb629532017-10-12 16:51:41 -070039 node: s11_template
Pingping Lin2da4fec2017-10-16 17:50:54 -070040 relationship: tosca.relationships.BelongsToOne
Pingping Linfb629532017-10-12 16:51:41 -070041 - owner:
42 node: {{ site_name }}_s11
Pingping Lin2da4fec2017-10-16 17:50:54 -070043 relationship: tosca.relationships.BelongsToOne
Pingping Linfb629532017-10-12 16:51:41 -070044
45 {{ site_name }}_s11:
46 description: This slice exists solely to own the private network
47 type: tosca.nodes.Slice
48 properties:
Pingping Lin2da4fec2017-10-16 17:50:54 -070049 name: {{ site_name }}_s11
50 default_isolation: vm
Andy Bavieracc73ec2017-10-20 11:19:20 -070051 network: noauto
Pingping Linfb629532017-10-12 16:51:41 -070052 requirements:
53 - site:
54 node: {{ site_name }}
Pingping Lin2da4fec2017-10-16 17:50:54 -070055 relationship: tosca.relationships.BelongsToOne
Pingping Linfb629532017-10-12 16:51:41 -070056