From e8f96dec79bb33c11d39c9037ac623f18a67b539 Mon Sep 17 00:00:00 2001 From: Petr Pavlu Date: Tue, 24 May 2022 18:08:57 +0200 Subject: [PATCH] Low: schemas: copy API schemas in preparation for changes Copy crm_mon, crm_simulate and nodes API schemas in preparation for changes and bump the external reference version in crm_mon and crm_simulate to point to the new nodes schema. --- include/crm/common/output_internal.h | 2 +- xml/api/crm_mon-2.21.rng | 183 +++++++++++++++ xml/api/crm_simulate-2.21.rng | 338 +++++++++++++++++++++++++++ xml/api/nodes-2.21.rng | 51 ++++ 4 files changed, 573 insertions(+), 1 deletion(-) create mode 100644 xml/api/crm_mon-2.21.rng create mode 100644 xml/api/crm_simulate-2.21.rng create mode 100644 xml/api/nodes-2.21.rng diff --git a/include/crm/common/output_internal.h b/include/crm/common/output_internal.h index 577fd5247..74ee833c1 100644 --- a/include/crm/common/output_internal.h +++ b/include/crm/common/output_internal.h @@ -28,7 +28,7 @@ extern "C" { */ -# define PCMK__API_VERSION "2.20" +# define PCMK__API_VERSION "2.21" #if defined(PCMK__WITH_ATTRIBUTE_OUTPUT_ARGS) # define PCMK__OUTPUT_ARGS(ARGS...) __attribute__((output_args(ARGS))) diff --git a/xml/api/crm_mon-2.21.rng b/xml/api/crm_mon-2.21.rng new file mode 100644 index 000000000..37036d665 --- /dev/null +++ b/xml/api/crm_mon-2.21.rng @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + granted + revoked + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/api/crm_simulate-2.21.rng b/xml/api/crm_simulate-2.21.rng new file mode 100644 index 000000000..75a9b399b --- /dev/null +++ b/xml/api/crm_simulate-2.21.rng @@ -0,0 +1,338 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/api/nodes-2.21.rng b/xml/api/nodes-2.21.rng new file mode 100644 index 000000000..df4c77f37 --- /dev/null +++ b/xml/api/nodes-2.21.rng @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + red + yellow + green + + + + + + + + + + unknown + member + remote + ping + + + + + + + + + + + + + -- 2.31.1