Srikanth Vavilapalli | 032facd | 2017-03-08 06:10:58 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Setup CORD-related services -- vOLT, vCPE, vBNG. |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | - custom_types/monitoring_tosca_types.yaml |
| 8 | - custom_types/exampleservice.yaml |
| 9 | |
| 10 | topology_template: |
| 11 | node_templates: |
| 12 | service_ceilometer: |
| 13 | type: tosca.nodes.CeilometerService |
| 14 | properties: |
| 15 | no-create: true |
| 16 | no-update: true |
| 17 | no-delete: true |
| 18 | |
| 19 | service#exampleservice: |
| 20 | type: tosca.nodes.ExampleService |
| 21 | properties: |
| 22 | no-create: true |
| 23 | no-update: true |
| 24 | no-delete: true |
| 25 | |
| 26 | exampleservice_monitoring_publisher_tenant: |
| 27 | description: Monitoring Publisher Tenant for Example service |
| 28 | type: tosca.nodes.UserServiceMonitoringPublisher |
| 29 | requirements: |
| 30 | - provider_service: |
| 31 | node: service_ceilometer |
| 32 | relationship: tosca.relationships.TenantOfService |
| 33 | - target_service: |
| 34 | node: service#exampleservice |
| 35 | relationship: tosca.relationships.PublishesMonitoringData |
| 36 | |