congress/scripts/manual_testing/doctor_pushdriver.sh.sample...

20 lines
2.2 KiB
Plaintext

++./scripts/manual_testing/doctor_pushdriver.sh:main:13 openstack congress datasource create doctor doctor -f value
++./scripts/manual_testing/doctor_pushdriver.sh:main:13 sed -n 5p
+./scripts/manual_testing/doctor_pushdriver.sh:main:13 UUID=ccb9c4d5-c77a-4187-92b0-c4dff85ae9d8
+./scripts/manual_testing/doctor_pushdriver.sh:main:15 openstack congress datasource row update doctor events '[{"id": "0123-4567-89ab", "time": "2016-02-22T11:48:55Z", "type": "compute.host.down", "details": {"hostname": "compute1", "status": "down", "monitor": "zabbix1", "monitor_event_id": "111"}}]'
+./scripts/manual_testing/doctor_pushdriver.sh:main:17 openstack congress datasource row list doctor events
+---------------+---------------+----------+--------+---------+------------------+
| time | type | hostname | status | monitor | monitor_event_id |
+---------------+---------------+----------+--------+---------+------------------+
| 2016-02-22T11 | compute.host. | compute1 | down | zabbix1 | 111 |
| :48:55Z | down | | | | |
+---------------+---------------+----------+--------+---------+------------------+
+./scripts/manual_testing/doctor_pushdriver.sh:main:19 openstack congress datasource row update ccb9c4d5-c77a-4187-92b0-c4dff85ae9d8 events '[{"id": "1123-4567-89ab", "time": "2016-02-22T11:48:55Z", "type": "compute.host.down", "details": {"hostname": "compute2", "status": "down", "monitor": "zabbix2", "monitor_event_id": "222"}}]'
+./scripts/manual_testing/doctor_pushdriver.sh:main:21 openstack congress datasource row list doctor events
+---------------+---------------+----------+--------+---------+------------------+
| time | type | hostname | status | monitor | monitor_event_id |
+---------------+---------------+----------+--------+---------+------------------+
| 2016-02-22T11 | compute.host. | compute2 | down | zabbix2 | 222 |
| :48:55Z | down | | | | |
+---------------+---------------+----------+--------+---------+------------------+
+./scripts/manual_testing/doctor_pushdriver.sh:main:23 openstack congress datasource delete doctor