From bb603e0a832aa84ad43b57c5cfdfb7a0cbeacb5d Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Mon, 15 Jan 2024 14:39:33 +0100 Subject: [PATCH] New clixon-config@2024-01-01.yang revision --- test/config.sh.in | 2 +- yang/clixon/Makefile.in | 2 +- ...-01.yang => clixon-config@2024-01-01.yang} | 22 +++++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) rename yang/clixon/{clixon-config@2023-05-01.yang => clixon-config@2024-01-01.yang} (98%) diff --git a/test/config.sh.in b/test/config.sh.in index 12a40d3f0..c4f83372d 100755 --- a/test/config.sh.in +++ b/test/config.sh.in @@ -77,7 +77,7 @@ DATASTORE_TOP="config" # clixon yang revisions occuring in tests (see eg yang/clixon/Makefile.in) CLIXON_AUTOCLI_REV="2023-09-01" CLIXON_LIB_REV="2024-01-01" -CLIXON_CONFIG_REV="2023-05-01" +CLIXON_CONFIG_REV="2024-01-01" CLIXON_RESTCONF_REV="2022-08-01" CLIXON_EXAMPLE_REV="2022-11-01" diff --git a/yang/clixon/Makefile.in b/yang/clixon/Makefile.in index 07ca2873b..5905bc7bd 100644 --- a/yang/clixon/Makefile.in +++ b/yang/clixon/Makefile.in @@ -42,7 +42,7 @@ datarootdir = @datarootdir@ YANG_INSTALLDIR = @YANG_INSTALLDIR@ # Note: mirror these to test/config.sh.in -YANGSPECS = clixon-config@2023-11-01.yang # 6.5 +YANGSPECS = clixon-config@2024-01-01.yang # 6.6 YANGSPECS += clixon-lib@2023-11-01.yang # 6.5 YANGSPECS += clixon-lib@2024-01-01.yang # 6.6 YANGSPECS += clixon-rfc5277@2008-07-01.yang diff --git a/yang/clixon/clixon-config@2023-05-01.yang b/yang/clixon/clixon-config@2024-01-01.yang similarity index 98% rename from yang/clixon/clixon-config@2023-05-01.yang rename to yang/clixon/clixon-config@2024-01-01.yang index 92fcbcd7b..8d473e00a 100644 --- a/yang/clixon/clixon-config@2023-05-01.yang +++ b/yang/clixon/clixon-config@2024-01-01.yang @@ -49,6 +49,16 @@ module clixon-config { ***** END LICENSE BLOCK *****"; + revision 2024-01-01 { + description + "Released in Clixon 6.6"; + } + revision 2023-11-01 { + description + "Added options: + CLICON_CREATOR_ATTR + Released in Clixon 6.5"; + } revision 2023-05-01 { description "Added options: @@ -576,6 +586,18 @@ module clixon-config { RFC6242 for example. This only applies to the external NETCONF"; } + leaf CLICON_NETCONF_CREATOR_ATTR { + type boolean; + default false; + description + "If set, clixon will accept the 'creator' attribute as defined by the + creator annotation in clixon-lib. + It can be used when several clients (such as a 'service') can create the same object. + If one such client/service is deleted, the object is deleted only if all services + that created the object are deleted. + The clixon controller uses this feature, but could in principle be used by other + applications."; + } leaf CLICON_RESTCONF_API_ROOT { type string; default "/restconf";