blob: be887a9ff99c12aafefb3ce76e2811f9c4e7ede7 [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
Srikanth Vavilapalli032facd2017-03-08 06:10:58 +000019tosca_definitions_version: tosca_simple_yaml_1_0
20
21description: Setup CORD-related services -- vOLT, vCPE, vBNG.
22
23imports:
24 - custom_types/xos.yaml
25 - custom_types/monitoring_tosca_types.yaml
26
27topology_template:
28 node_templates:
29 service_ceilometer:
30 type: tosca.nodes.CeilometerService
31 properties:
32 no-create: true
33 no-update: true
34 no-delete: true
35
36 service#vsg:
37 type: tosca.nodes.VSGService
38 properties:
39 no-create: true
40 no-update: true
41 no-delete: true
42
43 vsg_monitoring_publisher_tenant:
44 description: vSG Monitoring Publisher Tenant
45 type: tosca.nodes.UserServiceMonitoringPublisher
46 requirements:
47 - provider_service:
48 node: service_ceilometer
49 relationship: tosca.relationships.TenantOfService
50 - target_service:
51 node: service#vsg
52 relationship: tosca.relationships.PublishesMonitoringData