add short check if config can be written

This commit is contained in:
Christian Goll
2022-09-19 11:03:49 +02:00
parent 54dd8b3d2f
commit 7c453066fa
4 changed files with 180 additions and 90 deletions

View File

@@ -91,7 +91,6 @@ message NetDev {
// NodeInfo contains details about a node managed by Warewulf/
message NodeInfo {
map<string, NodeField> Fields = 1;
map<string, NetDev> NetDevs = 23;
map<string, NodeField> Tags = 24;
map<string, NodeField> Keys = 25; // TODO: We may not need this. Tags may be it. Ask Greg.
@@ -173,6 +172,11 @@ message VersionResponse {
string warewulfVersion = 3;
}
// Check if config is writeable
message CanWriteConfig {
bool canWriteConfig = 1;
}
// WWApi defines the wwapid service web interface.
service WWApi {