Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +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 | |
| 9 | topology_template: |
| 10 | node_templates: |
| 11 | service_ceilometer: |
| 12 | type: tosca.nodes.CeilometerService |
| 13 | properties: |
| 14 | no-create: true |
| 15 | no-update: true |
| 16 | no-delete: true |
| 17 | |
| 18 | my_ceilometer_tenant: |
| 19 | description: Ceilometer Service default Tenant |
| 20 | type: tosca.nodes.CeilometerTenant |
| 21 | requirements: |
| 22 | - provider_service: |
| 23 | node: service_ceilometer |
| 24 | relationship: tosca.relationships.MemberOfService |
| 25 | |
| 26 | Ceilometer: |
| 27 | type: tosca.nodes.DashboardView |
| 28 | properties: |
| 29 | url: template:xosCeilometerDashboard |
| 30 | Tenant: |
| 31 | type: tosca.nodes.DashboardView |
| 32 | properties: |
| 33 | no-create: true |
| 34 | no-update: true |
| 35 | no-delete: true |
| 36 | |
| 37 | # XOS Users |
| 38 | # Default admin user account |
| 39 | {{ xos_admin_user }}: |
| 40 | type: tosca.nodes.User |
| 41 | properties: |
| 42 | password: {{ xos_admin_pass }} |
| 43 | firstname: {{ xos_admin_first }} |
| 44 | lastname: {{ xos_admin_last }} |
| 45 | is_admin: true |
| 46 | requirements: |
| 47 | - tenant_dashboard: |
| 48 | node: Tenant |
| 49 | relationship: tosca.relationships.UsesDashboard |
| 50 | - ceilometer_dashboard: |
| 51 | node: Ceilometer |
| 52 | relationship: tosca.relationships.UsesDashboard |