blob: bd1292466b99a4bbccd608df6ff5a2ccb4d38f79 [file] [log] [blame]
Zack Williams682450e2016-11-19 09:04:41 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
5
6description: public network config, generated by platform-install
7
8topology_template:
9 node_templates:
10
11# site, fully created in deployment.yaml
12 {{ site_name }}:
13 type: tosca.nodes.Site
14
15# vrouter service, fully created in cord-service.yaml
16 service#vrouter:
17 type: tosca.nodes.VRouterService
18
19# public network
20 public_template:
21 type: tosca.nodes.NetworkTemplate
22 properties:
23 visibility: private
24 translation: none
25 vtn_kind: PUBLIC
26
27 public:
28 type: tosca.nodes.network.Network
29 properties:
30 ip_version: 4
31 requirements:
32 - network_template:
33 node: public_template
34 relationship: tosca.relationships.UsesNetworkTemplate
35 - owner:
36 node: {{ site_name }}_public
37 relationship: tosca.relationships.MemberOfSlice
38 - vrouter_tenant:
39 node: service#vrouter
40 relationship: tosca.relationships.TenantOfService
41
42
43 {{ site_name }}_public:
44 description: This slice exists solely to own the public network
45 type: tosca.nodes.Slice
46 properties:
47 network: noauto
48 requirements:
49 - site:
50 node: {{ site_name }}
51 relationship: tosca.relationships.MemberOfSite
52