Michael Polenchuk | fc719cf | 2018-08-07 16:13:58 +0400 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | opendaylight_service_host: 127.0.0.1 |
| 4 | opendaylight_rest_port: 8080 |
| 5 | ceilometer: |
| 6 | opendaylight: |
| 7 | driver: opendaylight.v2 |
| 8 | auth: basic |
| 9 | user: admin |
| 10 | password: admin |
| 11 | scheme: http |
| 12 | interval: 900 |
| 13 | ceilometer: |
| 14 | agent: |
| 15 | polling: |
| 16 | sources: |
| 17 | odl_source: |
| 18 | meters: |
| 19 | - switch |
| 20 | - switch.ports |
| 21 | - switch.port |
| 22 | - switch.port.uptime |
| 23 | - switch.port.receive.drops |
| 24 | - switch.port.receive.errors |
| 25 | - switch.port.transmit.packets |
| 26 | - switch.port.receive.packets |
| 27 | - switch.port.transmit.bytes |
| 28 | - switch.port.receive.bytes |
| 29 | interval: ${_param:ceilometer:opendaylight:interval} |
| 30 | resources: |
| 31 | - ${_param:ceilometer:opendaylight:driver}://${_param:opendaylight_service_host}:${_param:opendaylight_rest_port}/controller/statistics?auth=${_param:ceilometer:opendaylight:auth}&user=${_param:ceilometer:opendaylight:user}&password=${_param:ceilometer:opendaylight:password}&scheme=${_param:ceilometer:opendaylight:scheme} |
| 32 | sinks: |
| 33 | - meter_sink |