blob: 01ca85086cd4e9c1cccee57488f4b647b4eac31a [file] [log] [blame]
Woojoong Kim021c8f52017-12-18 11:47:26 -08001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
5 - 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
11description: flat network for S1U interface
12
13topology_template:
14 node_templates:
15
16# site, fully created in deployment.yaml
17 {{ site_name }}:
18 type: tosca.nodes.Site
19 properties:
20 name: {{ site_name }}
21
22# flat network for s1u
23 flat_template_s1u:
24 type: tosca.nodes.NetworkTemplate
25 properties:
26 name: flat_template_s1u
27 visibility: private
28 translation: none
29 vtn_kind: FLAT
30
31 flat_network_s1u:
32 type: tosca.nodes.Network
33 properties:
34 name: flat_network_s1u
35 subnet: 119.0.0.0/24
36 permit_all_slices: true
37 requirements:
38 - template:
39 node: flat_template_s1u
40 relationship: tosca.relationships.BelongsToOne
41 - owner:
42 node: {{ site_name }}_flat_s1u
43 relationship: tosca.relationships.BelongsToOne
44
45 {{ site_name }}_flat_s1u:
46 description: This slice exists solely to own the Flat network
47 type: tosca.nodes.Slice
48 properties:
49 name: {{ site_name }}_flat_s1u
50 default_isolation: vm
51 network: noauto
52 requirements:
53 - site:
54 node: {{ site_name }}
55 relationship: tosca.relationships.BelongsToOne