From e7e885f9f982ca64843f82875ef8a15795fc72f6 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 21 Nov 2022 11:20:07 +0100 Subject: [PATCH] update static/schema information Signed-off-by: Thomas Lamprecht --- api-viewer/apidata.js | 18 ++++++++++++------ datacenter.cfg.5-opts.adoc | 10 +++++++--- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/api-viewer/apidata.js b/api-viewer/apidata.js index 7a5c34b..6562c52 100644 --- a/api-viewer/apidata.js +++ b/api-viewer/apidata.js @@ -8903,6 +8903,12 @@ const apiSchema = [ "tag-style" : { "description" : "Tag style options.", "format" : { + "case-sensitive" : { + "default" : 0, + "description" : "Controls if filtering for unique tags on update should check case-sensitive.", + "optional" : 1, + "type" : "boolean" + }, "color-map" : { "description" : "Manual color mapping for tags (semicolon separated).", "optional" : 1, @@ -8912,7 +8918,7 @@ const apiSchema = [ }, "ordering" : { "default" : "alphabetical", - "description" : "Controls the sorting of the tags in the web ui.", + "description" : "Controls the sorting of the tags in the web-interface and the API update.", "enum" : [ "config", "alphabetical" @@ -8935,7 +8941,7 @@ const apiSchema = [ }, "optional" : 1, "type" : "string", - "typetext" : "[color-map=:[:][;=...]] [,ordering=] [,shape=]" + "typetext" : "[case-sensitive=<1|0>] [,color-map=:[:][;=...]] [,ordering=] [,shape=]" }, "u2f" : { "description" : "u2f", @@ -8971,7 +8977,7 @@ const apiSchema = [ ], "optional" : 1, "type" : "string", - "verbose_description" : "Controls which tags can be set or deleted on resources a user controls (such as guests). Users with the `Sys.Modify` privilege on `/` are always unrestricted. 'none' no tags are usable. 'list' tasg from 'user-allow'list' are usable. 'existing' like list, but already existing tags of resources are also usable.'free' no tag restrictions." + "verbose_description" : "Controls which tags can be set or deleted on resources a user controls (such as guests). Users with the `Sys.Modify` privilege on `/` are always unrestricted. 'none' no tags are usable. 'list' tags from 'user-allow-list' are usable. 'existing' like list, but already existing tags of resources are also usable.'free' no tag restrictions." }, "user-allow-list" : { "description" : "List of tags users are allowed to set and delete (semicolon separated) for 'user-allow' values 'list' and 'existing'.", @@ -44122,8 +44128,8 @@ const apiSchema = [ "default" : "login", "description" : "Run specific command or default to login.", "enum" : [ - "login", "ceph_install", + "login", "upgrade" ], "optional" : 1, @@ -44218,8 +44224,8 @@ const apiSchema = [ "default" : "login", "description" : "Run specific command or default to login.", "enum" : [ - "login", "ceph_install", + "login", "upgrade" ], "optional" : 1, @@ -44344,8 +44350,8 @@ const apiSchema = [ "default" : "login", "description" : "Run specific command or default to login.", "enum" : [ - "login", "ceph_install", + "login", "upgrade" ], "optional" : 1, diff --git a/datacenter.cfg.5-opts.adoc b/datacenter.cfg.5-opts.adoc index 45b51d9..6e53e1c 100644 --- a/datacenter.cfg.5-opts.adoc +++ b/datacenter.cfg.5-opts.adoc @@ -108,17 +108,21 @@ Upper, exclusive boundary for free next-id API range. A list of tags that require a `Sys.Modify` on '/' to set and delete. Tags set here that are also in 'user-tag-access' also require `Sys.Modify`. -`tag-style`: `[color-map=:[:][;=...]] [,ordering=] [,shape=]` :: +`tag-style`: `[case-sensitive=<1|0>] [,color-map=:[:][;=...]] [,ordering=] [,shape=]` :: Tag style options. +`case-sensitive`=`` ('default =' `0`);; + +Controls if filtering for unique tags on update should check case-sensitive. + `color-map`=`:[:][;=...]` ;; Manual color mapping for tags (semicolon separated). `ordering`=`` ('default =' `alphabetical`);; -Controls the sorting of the tags in the web ui. +Controls the sorting of the tags in the web-interface and the API update. `shape`=`` ('default =' `circle`);; @@ -142,7 +146,7 @@ Privilege options for user-settable tags `user-allow`=`` ('default =' `free`);; -Controls which tags can be set or deleted on resources a user controls (such as guests). Users with the `Sys.Modify` privilege on `/` are always unrestricted. 'none' no tags are usable. 'list' tasg from 'user-allow'list' are usable. 'existing' like list, but already existing tags of resources are also usable.'free' no tag restrictions. +Controls which tags can be set or deleted on resources a user controls (such as guests). Users with the `Sys.Modify` privilege on `/` are always unrestricted. 'none' no tags are usable. 'list' tags from 'user-allow-list' are usable. 'existing' like list, but already existing tags of resources are also usable.'free' no tag restrictions. `user-allow-list`=`[;...]` ;; -- 2.39.2