diff options
author | Alessio Ababilov <aababilov@griddynamics.com> | 2012-08-29 19:16:37 +0300 |
---|---|---|
committer | Alessio Ababilov <aababilov@griddynamics.com> | 2012-11-14 11:16:47 +0200 |
commit | a220aa15b056914df1b9debc95322d01a0e408e8 (patch) | |
tree | 067c5b9c1898a44dc91aefab0445f90ad4049add /nova/utils.py | |
parent | 6375ca7eb56b13bb4794b843a5eaef8118f0dff6 (diff) | |
download | nova-a220aa15b056914df1b9debc95322d01a0e408e8.tar.gz nova-a220aa15b056914df1b9debc95322d01a0e408e8.tar.xz nova-a220aa15b056914df1b9debc95322d01a0e408e8.zip |
API extension for fpinging instances
It may be interesting for a cloud user or administrator to perform a
simple instance monitoring. A ping could be an acceptable solution: it
is fast and quite reliable. A limit for ping is 1 time a minute by
default.
API calls.
GET /os-fping?[all_tenants=1]&[include=uuid[,uuid...][&exclude=...]
Performs fping for all VM in the current project and returns results. If
`all_tenants` is requested, data for all projects is returned.
By default, `all_tenants` is allowed only for admins.
`include` and `exclude` are parameters specifying VM masks. Consider
that VM list is `VM_all`, then if `include` is set, the result will be
`VM_all * VM_include`. if `include` is set, the result will be `VM_all -
VM_exclude`. `exclude` is ignored if `include` is specified.
GET /os-fping/<vm-uuid>
Performs a check for single instance.
Configuration flags.
fping_path - full path to fping
Implement blueprint fping-instances-ext
Change-Id: I7d942270aa52bd6216eda0d7ae366ef0195d52a8
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions