blob: b0300ee74a96dcca75fa7b059021702d1fd59247 [file] [log] [blame]
Andy Bavierc4379e22017-10-17 10:14:57 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
Andy Bavieracc73ec2017-10-20 11:19:20 -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
Andy Bavierc4379e22017-10-17 10:14:57 -070010
11description: network for S1MME interface
12
13topology_template:
14 node_templates:
15
16# site, fully created in deployment.yaml
17 {{ site_name }}:
18 type: tosca.nodes.Site
Andy Bavieracc73ec2017-10-20 11:19:20 -070019 properties:
20 name: {{ site_name }}
Andy Bavierc4379e22017-10-17 10:14:57 -070021
22# s1mme network
23 s1mme_template:
24 type: tosca.nodes.NetworkTemplate
25 properties:
Andy Bavieracc73ec2017-10-20 11:19:20 -070026 name: s1mme_template
Andy Bavierc4379e22017-10-17 10:14:57 -070027 visibility: private
28 translation: none
29 vtn_kind: PRIVATE
30
31 s1mme_network:
Andy Bavieracc73ec2017-10-20 11:19:20 -070032 type: tosca.nodes.Network
Andy Bavierc4379e22017-10-17 10:14:57 -070033 properties:
Andy Bavieracc73ec2017-10-20 11:19:20 -070034 name: s1mme_network
35 subnet: 116.0.0.0/24
36 permit_all_slices: true
Andy Bavierc4379e22017-10-17 10:14:57 -070037 requirements:
Andy Bavieracc73ec2017-10-20 11:19:20 -070038 - template:
Andy Bavierc4379e22017-10-17 10:14:57 -070039 node: s1mme_template
Andy Bavieracc73ec2017-10-20 11:19:20 -070040 relationship: tosca.relationships.BelongsToOne
Andy Bavierc4379e22017-10-17 10:14:57 -070041 - owner:
42 node: {{ site_name }}_s1mme
Andy Bavieracc73ec2017-10-20 11:19:20 -070043 relationship: tosca.relationships.BelongsToOne
Andy Bavierc4379e22017-10-17 10:14:57 -070044
45 {{ site_name }}_s1mme:
46 description: This slice exists solely to own the private network
47 type: tosca.nodes.Slice
48 properties:
Andy Bavieracc73ec2017-10-20 11:19:20 -070049 name: {{ site_name }}_s1mme
50 default_isolation: vm
Andy Bavierc4379e22017-10-17 10:14:57 -070051 network: noauto
52 requirements:
53 - site:
54 node: {{ site_name }}
Andy Bavieracc73ec2017-10-20 11:19:20 -070055 relationship: tosca.relationships.BelongsToOne
Andy Bavierc4379e22017-10-17 10:14:57 -070056