blob: 21133ef3ec7917498ecd15746019ffa2a5cfc8d7 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2{#
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16#}
17
18
mcord3e589142017-05-24 16:05:07 -070019tosca_definitions_version: tosca_simple_yaml_1_0
20
21description: created by platform-install, need to add M-CORD services later
22
23imports:
24 - custom_types/xos.yaml
25
26topology_template:
27 node_templates:
28
29# site, image, fully created in deployment.yaml
30 {{ site_name }}:
31 type: tosca.nodes.Site
32
33 image#vsg-1.1:
34 type: tosca.nodes.Image
35
36# management networks, fully created in management-net.yaml
37 management:
38 type: tosca.nodes.network.Network.XOS
39 properties:
40 no-create: true
41 no-delete: true
42 no-update: true
43
44{% if use_management_hosts %}
45 management_hosts:
46 type: tosca.nodes.network.Network.XOS
47 properties:
48 no-create: true
49 no-delete: true
50 no-update: true
51{% endif %}
52
53# ONOS_CORD, fully created in vtn.yaml
54 service#ONOS_CORD:
55 type: tosca.nodes.ONOSService
56 properties:
57 no-delete: true
58 no-create: true
59 no-update: true
60
61# ONOS_Fabric, fully created in fabric.yaml
62 service#ONOS_Fabric:
63 type: tosca.nodes.ONOSService
64 properties:
65 no-delete: true
66 no-create: true
67 no-update: true
68
69# CORD Services, add later