blob: 9fea06df86d0c79b01a9ef3d3073eda06c93a902 [file] [log] [blame]
Andy Bavier01685f82017-12-21 14:06:54 -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
19tosca_definitions_version: tosca_simple_yaml_1_0
20
21imports:
22 - custom_types/veeservice.yaml
23 - custom_types/vegservice.yaml
24 - custom_types/networktemplate.yaml
25 - custom_types/servicedependency.yaml
26
27description: vee services, generated by platform-install
28
29topology_template:
30 node_templates:
31
32 service#veg:
33 type: tosca.nodes.VEGService
34 requirements:
35 properties:
36 name: veg
37 must-exist: true
38
39 service#vee:
40 type: tosca.nodes.VEEService
41 properties:
42 name: vee
43
44 veg_vee:
45 type: tosca.nodes.ServiceDependency
46 properties:
47 connect_method: None
48 requirements:
49 - subscriber_service:
50 node: service#veg
51 relationship: tosca.relationships.BelongsToOne
52 - provider_service:
53 node: service#vee
54 relationship: tosca.relationships.BelongsToOne
55
56 template#vee:
57 type: tosca.nodes.NetworkTemplate
58 properties:
59 name: vee
60 visibility: private
61 translation: none
62 vtn_kind: vee
63