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
This commit is contained in:
@@ -104,6 +104,8 @@
|
||||
"compute_extension:floating_ip_dns": "",
|
||||
"compute_extension:floating_ip_pools": "",
|
||||
"compute_extension:floating_ips": "",
|
||||
"compute_extension:fping": "",
|
||||
"compute_extension:fping:all_tenants": "is_admin:True",
|
||||
"compute_extension:hosts": "",
|
||||
"compute_extension:hypervisors": "",
|
||||
"compute_extension:instance_usage_audit_log": "",
|
||||
|
||||
Reference in New Issue
Block a user