Pingping Lin | 96f17e9 | 2017-05-04 18:16:54 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Auto generated file to enable monitoring of infrastructure services (OpenStack, ONOS...etc). |
| 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 | onos_monitoring_agent_head_node: |
| 19 | description: Monitoring agent info |
| 20 | type: tosca.nodes.InfraMonitoringAgentInfo |
| 21 | properties: |
| 22 | start_url: http://ceilometer-1.cord.lab:5004/monitoring/agent/onos/start |
| 23 | start_url_json_data: { get_artifact: [ SELF, onos_monitoring_service_endpoints, LOCAL_FILE] } |
| 24 | stop_url: http://ceilometer-1.cord.lab:5004/monitoring/agent/onos/stop |
| 25 | artifacts: |
| 26 | onos_monitoring_service_endpoints: /root/setup/onos_monitoring_service_endpoints.json |
| 27 | |
| 28 | os_monitoring_agent_head_node: |
| 29 | description: Openstack Monitoring agent info |
| 30 | type: tosca.nodes.InfraMonitoringAgentInfo |
| 31 | properties: |
| 32 | start_url: http://ceilometer-1.cord.lab:5004/monitoring/agent/openstack/start |
| 33 | stop_url: http://ceilometer-1.cord.lab:5004/monitoring/agent/openstack/stop |
| 34 | |
| 35 | os_monitoring_agent_cp_1: |
| 36 | description: Openstack Monitoring agent info for only-bucket |
| 37 | type: tosca.nodes.InfraMonitoringAgentInfo |
| 38 | properties: |
| 39 | start_url: http://only-bucket.cord.lab:5004/monitoring/agent/openstack/start |
| 40 | stop_url: http://only-bucket.cord.lab:5004/monitoring/agent/openstack/stop |
| 41 | |
| 42 | os_monitoring_agent_cp_2: |
| 43 | description: Openstack Monitoring agent info for handy-stomach |
| 44 | type: tosca.nodes.InfraMonitoringAgentInfo |
| 45 | properties: |
| 46 | start_url: http://handy-stomach.cord.lab:5004/monitoring/agent/openstack/start |
| 47 | stop_url: http://handy-stomach.cord.lab:5004/monitoring/agent/openstack/stop |
| 48 | |
| 49 | os_monitoring_agent_cp_3: |
| 50 | description: Openstack Monitoring agent info for strange-touch |
| 51 | type: tosca.nodes.InfraMonitoringAgentInfo |
| 52 | properties: |
| 53 | start_url: http://strange-touch.cord.lab:5004/monitoring/agent/openstack/start |
| 54 | stop_url: http://strange-touch.cord.lab:5004/monitoring/agent/openstack/stop |
| 55 | |
| 56 | os_monitoring_agent_cp_4: |
| 57 | description: Openstack Monitoring agent info for salty-interest |
| 58 | type: tosca.nodes.InfraMonitoringAgentInfo |
| 59 | properties: |
| 60 | start_url: http://salty-interest.cord.lab:5004/monitoring/agent/openstack/start |
| 61 | stop_url: http://salty-interest.cord.lab:5004/monitoring/agent/openstack/stop |
| 62 | |
| 63 | os_monitoring_agent_cp_5: |
| 64 | description: Openstack Monitoring agent info for compute1 |
| 65 | type: tosca.nodes.InfraMonitoringAgentInfo |
| 66 | properties: |
| 67 | start_url: http://compute1.cord.lab:5004/monitoring/agent/openstack/start |
| 68 | stop_url: http://compute1.cord.lab:5004/monitoring/agent/openstack/stop |
| 69 | |
| 70 | os_monitoring_collector_plugin: |
| 71 | description: Infra Monitoring collector plugin info |
| 72 | type: tosca.nodes.MonitoringCollectorPluginInfo |
| 73 | properties: |
| 74 | plugin_folder_path: /opt/xos/synchronizers/monitoring/ceilometer/ceilometer-plugins/network/ext_services/openstack_infra/ |
| 75 | plugin_rabbit_exchange: openstack_infra |
| 76 | |
| 77 | openstack_monitoring_publisher_tenant: |
| 78 | description: OpenStack Monitoring Publisher Tenant |
| 79 | type: tosca.nodes.OpenStackMonitoringPublisher |
| 80 | requirements: |
| 81 | - provider_service: |
| 82 | node: service_ceilometer |
| 83 | relationship: tosca.relationships.TenantOfService |
| 84 | - monitoring_collector_plugin: |
| 85 | node: os_monitoring_collector_plugin |
| 86 | relationship: tosca.relationships.ProvidesMonitoringCollectorPluginInfo |
| 87 | - monitoring_agent_1: |
| 88 | node: os_monitoring_agent_head_node |
| 89 | relationship: tosca.relationships.ProvidesInfraMonitoringAgentInfo |
| 90 | - monitoring_agent_2: |
| 91 | node: onos_monitoring_agent_head_node |
| 92 | relationship: tosca.relationships.ProvidesInfraMonitoringAgentInfo |
| 93 | - monitoring_agent_3: |
| 94 | node: os_monitoring_agent_cp_1 |
| 95 | relationship: tosca.relationships.ProvidesInfraMonitoringAgentInfo |
| 96 | - monitoring_agent_4: |
| 97 | node: os_monitoring_agent_cp_2 |
| 98 | relationship: tosca.relationships.ProvidesInfraMonitoringAgentInfo |
| 99 | - monitoring_agent_5: |
| 100 | node: os_monitoring_agent_cp_3 |
| 101 | relationship: tosca.relationships.ProvidesInfraMonitoringAgentInfo |
| 102 | - monitoring_agent_6: |
| 103 | node: os_monitoring_agent_cp_4 |
| 104 | relationship: tosca.relationships.ProvidesInfraMonitoringAgentInfo |
| 105 | - monitoring_agent_7: |
| 106 | node: os_monitoring_agent_cp_5 |
| 107 | relationship: tosca.relationships.ProvidesInfraMonitoringAgentInfo |