blob: 9fea06df86d0c79b01a9ef3d3073eda06c93a902 [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
Andrea Campanellabd56e782017-02-23 15:43:21 +010019tosca_definitions_version: tosca_simple_yaml_1_0
20
21imports:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080022 - custom_types/veeservice.yaml
23 - custom_types/vegservice.yaml
24 - custom_types/networktemplate.yaml
25 - custom_types/servicedependency.yaml
Andrea Campanellabd56e782017-02-23 15:43:21 +010026
27description: vee services, generated by platform-install
28
29topology_template:
30 node_templates:
31
Andrea Campanellabd56e782017-02-23 15:43:21 +010032 service#veg:
33 type: tosca.nodes.VEGService
34 requirements:
35 properties:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080036 name: veg
37 must-exist: true
Andrea Campanellabd56e782017-02-23 15:43:21 +010038
Andrea Campanellabd56e782017-02-23 15:43:21 +010039 service#vee:
40 type: tosca.nodes.VEEService
Andrea Campanellabd56e782017-02-23 15:43:21 +010041 properties:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080042 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
Andrea Campanellabd56e782017-02-23 15:43:21 +010055
56 template#vee:
57 type: tosca.nodes.NetworkTemplate
58 properties:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080059 name: vee
Andrea Campanellabd56e782017-02-23 15:43:21 +010060 visibility: private
61 translation: none
62 vtn_kind: vee
63