Commit Graph

2616 Commits

Author SHA1 Message Date
Digimer
bc0b4b1b62
Merge pull request #107 from Tsu-ba-me/issues/3-patch-endpoints-20210521
Web UI: patch endpoints (20210521)
2021-06-02 19:48:12 -04:00
Tsu-ba-me
c1a6b1c998 fix(cgi-bin): reset log level in get_networks 2021-06-02 18:33:36 -04:00
Tsu-ba-me
e1c5036fb4 fix(cgi-bin): add switch support to get_networks 2021-06-02 18:33:36 -04:00
Tsu-ba-me
4fa8073efe fix(cgi-bin): add short host name to get_status response 2021-06-02 18:33:36 -04:00
Tsu-ba-me
4fe11050e8 fix(cgi-bin): rename nodes->hosts in get_networks 2021-06-02 18:33:36 -04:00
Tsu-ba-me
2223af6d6c fix(cgi-bin): rename nodes->hosts in get_status 2021-06-02 18:33:36 -04:00
Tsu-ba-me
457db203bd fix(cgi-bin): rename nodes->hosts in get_memory 2021-06-02 18:33:36 -04:00
Tsu-ba-me
2530d2b30d fix(cgi-bin): rename nodes->hosts in get_shared_storage 2021-06-02 18:33:36 -04:00
Tsu-ba-me
8245b095fb fix(cgi-bin): make get_networks executable 2021-06-02 18:33:36 -04:00
Tsu-ba-me
2f2584b185 fix(cgi-bin): use short host name in get_anvils response 2021-06-02 18:33:36 -04:00
Tsu-ba-me
bf055759ee fix(cgi-bin): compute link state in get_networks 2021-06-02 18:33:36 -04:00
Tsu-ba-me
a8f160af48 fix(cgi-bin): add logic to build get_networks response 2021-06-02 18:33:36 -04:00
Tsu-ba-me
b9f9d07362 fix(cgi-bin): handle get_networks input 2021-06-02 18:33:36 -04:00
Tsu-ba-me
d2f34ea5a9 docs(cgi-bin): revise set_power description 2021-06-02 18:33:36 -04:00
Tsu-ba-me
ffe2a7f59e feat(cgi-bin): add boilerplate for get_networks 2021-06-02 18:33:36 -04:00
Tsu-ba-me
7058a967ed fix(cgi-bin): add temporary constant reserved in get_memory response 2021-06-02 18:33:36 -04:00
Tsu-ba-me
10269bf74b fix(cgi-bin): remove server_host_index from get_servers response 2021-06-02 18:33:36 -04:00
Tsu-ba-me
adbf7b790e fix(cgi-bin): rename node->host in response of get_anvils 2021-06-02 18:33:36 -04:00
Tsu-ba-me
8d1d49e807 fix(cgi-bin): add missing response info to get_anvils 2021-06-02 18:33:36 -04:00
Tsu-ba-me
c749441e3b fix(cgi-bin): transform maintenance_mode to JSON booleans in get_status 2021-06-02 18:33:36 -04:00
Tsu-ba-me
e1c3064303 fix(cgi-bin): transform all memory sizes to JSON numbers 2021-06-02 18:33:36 -04:00
Tsu-ba-me
552ed66829 fix(cgi-bin): transform CPU cores and threads to JSON numbers 2021-06-02 18:33:36 -04:00
Tsu-ba-me
78f50e424c fix(cgi-bin): transform FS total size to int in get_shared_storage 2021-06-02 18:33:36 -04:00
Tsu-ba-me
8bcff7a038 fix(cgi-bin): transform boolean int to JSON boolean in get_shared_storage 2021-06-02 18:33:36 -04:00
Tsu-ba-me
5b7367a579 fix(cgi-bin): add file_systems response property to get_shared_storage 2021-06-02 18:33:36 -04:00
Digimer
f6aad628b3
Merge pull request #100 from Tsu-ba-me/issues/2-set-membership
Web UI: make `set_membership` endpoint functional
2021-06-02 18:32:48 -04:00
Tsu-ba-me
028d547d7c fix(cgi-bin): reset log level in set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
7ffb84f9a3 fix(cgi-bin): set join and leave cluster jobs to run on target host 2021-06-02 15:27:31 -04:00
Tsu-ba-me
52a524564f fix(cgi-bin): try to use switches when failed to parse request body in get_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
7bf604b3e2 fix(cgi-bin): add switch for is_member in set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
50c5098230 fix(cgi-bin): release job dispatching logic in set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
1cc0a9b087 fix(cgi-bin): add switch support to set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
419ec52d2b fix(cgi-bin): add job title and description to set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
d6c1013976 fix(cgi-bin): add join/leave cluster logic to set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
314e8db757 fix(cgi-bin): get host's cluster membership status in set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
da6e3500a3 fix(cgi-bin): add request body parsing to set_membership 2021-06-02 15:27:31 -04:00
Tsu-ba-me
c7fe5aa1e0 fix(cgi-bin): add boilerplate to set_membership 2021-06-02 15:27:31 -04:00
Digimer
73267a8ea9 * WIP - Slowly working on anvil-manage-server
* Updated the scancore interval to 60 seconds.
* Updated Database->insert_or_update_health() so that 'delete' can find the health_uuid.
* Updated Convert->time() to return silently when passed '-1'.
* Fixed a bug scan-hardware to call Convert->round(). Also fixed it so it didn't set health scores of 0 for mismatch RAM when the RAM was not mismatched.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-02 14:08:55 -04:00
Digimer
5639eda8c3
Merge pull request #99 from Tsu-ba-me/issues/1-set-power
Web UI: make `set_power` endpoint functional
2021-06-02 12:15:14 -04:00
Tsu-ba-me
593921fa04 fix(cgi-bin): reset log level in set_power 2021-06-01 14:15:44 -04:00
Tsu-ba-me
5c7d9d9e82 fix(cgi-bin): stop servers when shutting down the whole anvil 2021-06-01 14:13:29 -04:00
Tsu-ba-me
9a483b5d55 fix(cgi-bin): set shutdown job to run on target node 2021-06-01 14:13:29 -04:00
Tsu-ba-me
0020103b77 fix(cgi-bin): try to use switches when failed to parse request body 2021-06-01 14:13:29 -04:00
Tsu-ba-me
ba93ae38d8 fix(cgi-bin): add switch for is_on in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
7ef54f08a4 style(cgi-bin): remove excess indent in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
d1149d5978 fix(cgi-bin): release job dispatching logic in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
5a3daa3528 fix(cgi-bin): add switch support to set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
e80ebdb8b4 fix(cgi-bin): correct host_uuid existence check in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
f966ed12fb style(cgi-bin): format set_power to keep consistency 2021-06-01 14:13:29 -04:00
Tsu-ba-me
fae1c72986 docs(cgi-bin): rename hash->response_body in set_power 2021-06-01 14:13:29 -04:00