blob: cf111caa9c0b080ee8ea9d8a17dec4caa2cba8f2 [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
Zack Williamsa2763112017-01-03 11:38:38 -070015
Zack Williams682450e2016-11-19 09:04:41 -070016# vrouter service, fully created in cord-service.yaml
17 service#vrouter:
18 type: tosca.nodes.VRouterService
19
20# public network
Zack Williamsa2763112017-01-03 11:38:38 -070021
Zack Williams682450e2016-11-19 09:04:41 -070022 public_template:
23 type: tosca.nodes.NetworkTemplate
24 properties:
Andy Bavierbcf08942017-02-01 15:24:21 -050025 visibility: public
Zack Williams682450e2016-11-19 09:04:41 -070026 translation: none
27 vtn_kind: PUBLIC
28
29 public:
30 type: tosca.nodes.network.Network
31 properties:
32 ip_version: 4
33 requirements:
34 - network_template:
35 node: public_template
36 relationship: tosca.relationships.UsesNetworkTemplate
37 - owner:
38 node: {{ site_name }}_public
39 relationship: tosca.relationships.MemberOfSlice
40 - vrouter_tenant:
41 node: service#vrouter
42 relationship: tosca.relationships.TenantOfService
43
44
45 {{ site_name }}_public:
46 description: This slice exists solely to own the public network
47 type: tosca.nodes.Slice
48 properties:
49 network: noauto
50 requirements:
51 - site:
52 node: {{ site_name }}
53 relationship: tosca.relationships.MemberOfSite
54