Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 2 | {# |
| 3 | Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | #} |
| 17 | |
| 18 | |
Srikanth Vavilapalli | 032facd | 2017-03-08 06:10:58 +0000 | [diff] [blame] | 19 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 20 | |
| 21 | description: Setup CORD-related services -- vOLT, vCPE, vBNG. |
| 22 | |
| 23 | imports: |
| 24 | - custom_types/xos.yaml |
| 25 | - custom_types/monitoring_tosca_types.yaml |
| 26 | - custom_types/exampleservice.yaml |
| 27 | |
| 28 | topology_template: |
| 29 | node_templates: |
| 30 | service_ceilometer: |
| 31 | type: tosca.nodes.CeilometerService |
| 32 | properties: |
| 33 | no-create: true |
| 34 | no-update: true |
| 35 | no-delete: true |
| 36 | |
| 37 | service#exampleservice: |
| 38 | type: tosca.nodes.ExampleService |
| 39 | properties: |
| 40 | no-create: true |
| 41 | no-update: true |
| 42 | no-delete: true |
| 43 | |
| 44 | exampleservice_monitoring_publisher_tenant: |
| 45 | description: Monitoring Publisher Tenant for Example service |
| 46 | type: tosca.nodes.UserServiceMonitoringPublisher |
| 47 | requirements: |
| 48 | - provider_service: |
| 49 | node: service_ceilometer |
| 50 | relationship: tosca.relationships.TenantOfService |
| 51 | - target_service: |
| 52 | node: service#exampleservice |
| 53 | relationship: tosca.relationships.PublishesMonitoringData |
| 54 | |