Tsu-ba-me
4fa8073efe
fix(cgi-bin): add short host name to get_status response
3 years ago
Tsu-ba-me
4fe11050e8
fix(cgi-bin): rename nodes->hosts in get_networks
3 years ago
Tsu-ba-me
2223af6d6c
fix(cgi-bin): rename nodes->hosts in get_status
3 years ago
Tsu-ba-me
457db203bd
fix(cgi-bin): rename nodes->hosts in get_memory
3 years ago
Tsu-ba-me
2530d2b30d
fix(cgi-bin): rename nodes->hosts in get_shared_storage
3 years ago
Tsu-ba-me
8245b095fb
fix(cgi-bin): make get_networks executable
3 years ago
Tsu-ba-me
2f2584b185
fix(cgi-bin): use short host name in get_anvils response
3 years ago
Tsu-ba-me
bf055759ee
fix(cgi-bin): compute link state in get_networks
3 years ago
Tsu-ba-me
a8f160af48
fix(cgi-bin): add logic to build get_networks response
3 years ago
Tsu-ba-me
b9f9d07362
fix(cgi-bin): handle get_networks input
3 years ago
Tsu-ba-me
d2f34ea5a9
docs(cgi-bin): revise set_power description
3 years ago
Tsu-ba-me
ffe2a7f59e
feat(cgi-bin): add boilerplate for get_networks
3 years ago
Tsu-ba-me
7058a967ed
fix(cgi-bin): add temporary constant reserved in get_memory response
3 years ago
Tsu-ba-me
10269bf74b
fix(cgi-bin): remove server_host_index from get_servers response
3 years ago
Tsu-ba-me
adbf7b790e
fix(cgi-bin): rename node->host in response of get_anvils
3 years ago
Tsu-ba-me
8d1d49e807
fix(cgi-bin): add missing response info to get_anvils
3 years ago
Tsu-ba-me
c749441e3b
fix(cgi-bin): transform maintenance_mode to JSON booleans in get_status
3 years ago
Tsu-ba-me
e1c3064303
fix(cgi-bin): transform all memory sizes to JSON numbers
3 years ago
Tsu-ba-me
552ed66829
fix(cgi-bin): transform CPU cores and threads to JSON numbers
3 years ago
Tsu-ba-me
78f50e424c
fix(cgi-bin): transform FS total size to int in get_shared_storage
3 years ago
Tsu-ba-me
8bcff7a038
fix(cgi-bin): transform boolean int to JSON boolean in get_shared_storage
3 years ago
Tsu-ba-me
5b7367a579
fix(cgi-bin): add file_systems response property to get_shared_storage
3 years ago
Digimer
f6aad628b3
Merge pull request #100 from Tsu-ba-me/issues/2-set-membership
...
Web UI: make `set_membership` endpoint functional
3 years ago
Tsu-ba-me
028d547d7c
fix(cgi-bin): reset log level in set_membership
3 years ago
Tsu-ba-me
7ffb84f9a3
fix(cgi-bin): set join and leave cluster jobs to run on target host
3 years ago
Tsu-ba-me
52a524564f
fix(cgi-bin): try to use switches when failed to parse request body in get_membership
3 years ago
Tsu-ba-me
7bf604b3e2
fix(cgi-bin): add switch for is_member in set_membership
3 years ago
Tsu-ba-me
50c5098230
fix(cgi-bin): release job dispatching logic in set_membership
3 years ago
Tsu-ba-me
1cc0a9b087
fix(cgi-bin): add switch support to set_membership
3 years ago
Tsu-ba-me
419ec52d2b
fix(cgi-bin): add job title and description to set_membership
3 years ago
Tsu-ba-me
d6c1013976
fix(cgi-bin): add join/leave cluster logic to set_membership
3 years ago
Tsu-ba-me
314e8db757
fix(cgi-bin): get host's cluster membership status in set_membership
3 years ago
Tsu-ba-me
da6e3500a3
fix(cgi-bin): add request body parsing to set_membership
3 years ago
Tsu-ba-me
c7fe5aa1e0
fix(cgi-bin): add boilerplate to set_membership
3 years ago
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>
3 years ago
Digimer
5639eda8c3
Merge pull request #99 from Tsu-ba-me/issues/1-set-power
...
Web UI: make `set_power` endpoint functional
3 years ago
Tsu-ba-me
593921fa04
fix(cgi-bin): reset log level in set_power
3 years ago
Tsu-ba-me
5c7d9d9e82
fix(cgi-bin): stop servers when shutting down the whole anvil
3 years ago
Tsu-ba-me
9a483b5d55
fix(cgi-bin): set shutdown job to run on target node
3 years ago
Tsu-ba-me
0020103b77
fix(cgi-bin): try to use switches when failed to parse request body
3 years ago
Tsu-ba-me
ba93ae38d8
fix(cgi-bin): add switch for is_on in set_power
3 years ago
Tsu-ba-me
7ef54f08a4
style(cgi-bin): remove excess indent in set_power
3 years ago
Tsu-ba-me
d1149d5978
fix(cgi-bin): release job dispatching logic in set_power
3 years ago
Tsu-ba-me
5a3daa3528
fix(cgi-bin): add switch support to set_power
3 years ago
Tsu-ba-me
e80ebdb8b4
fix(cgi-bin): correct host_uuid existence check in set_power
3 years ago
Tsu-ba-me
f966ed12fb
style(cgi-bin): format set_power to keep consistency
3 years ago
Tsu-ba-me
fae1c72986
docs(cgi-bin): rename hash->response_body in set_power
3 years ago
Tsu-ba-me
540129bb8f
fix(cgi-bin): remove outdated logic
3 years ago
Tsu-ba-me
7c1e6e7c87
fix(cgi-bin): add proper error messages when given invalid UUID(s)
3 years ago
Tsu-ba-me
1ec32bfbaf
fix(cgi-bin): filled in logic to power on/off target host(s)
3 years ago