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 | a7ae651 | 2017-02-13 02:29:21 +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 | |
| 27 | topology_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 | my_ceilometer_tenant: |
| 37 | description: Ceilometer Service default Tenant |
| 38 | type: tosca.nodes.CeilometerTenant |
| 39 | requirements: |
| 40 | - provider_service: |
| 41 | node: service_ceilometer |
| 42 | relationship: tosca.relationships.MemberOfService |
| 43 | |
| 44 | Ceilometer: |
| 45 | type: tosca.nodes.DashboardView |
| 46 | properties: |
| 47 | url: template:xosCeilometerDashboard |
| 48 | Tenant: |
| 49 | type: tosca.nodes.DashboardView |
| 50 | properties: |
| 51 | no-create: true |
| 52 | no-update: true |
| 53 | no-delete: true |
| 54 | |
| 55 | # XOS Users |
| 56 | # Default admin user account |
| 57 | {{ xos_admin_user }}: |
| 58 | type: tosca.nodes.User |
| 59 | properties: |
| 60 | password: {{ xos_admin_pass }} |
| 61 | firstname: {{ xos_admin_first }} |
| 62 | lastname: {{ xos_admin_last }} |
| 63 | is_admin: true |
| 64 | requirements: |
| 65 | - tenant_dashboard: |
| 66 | node: Tenant |
| 67 | relationship: tosca.relationships.UsesDashboard |
| 68 | - ceilometer_dashboard: |
| 69 | node: Ceilometer |
| 70 | relationship: tosca.relationships.UsesDashboard |