diff --git a/doc/DEVELOP.md b/doc/DEVELOP.md index 1eaceeb6..ec67fbba 100644 --- a/doc/DEVELOP.md +++ b/doc/DEVELOP.md @@ -142,8 +142,14 @@ $ wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_p How to debug ### Configure in debug mode + ``` - CFLAGS="-g -Wall" INSTALLFLAGS="" ./configure + ./configure --enable-debug +``` + +Send debug level in run-time to backend: +``` + echo "1]]>]]>" | clixon_netconf -q ``` ### Set backend debug diff --git a/lib/clixon/clixon_xml.h b/lib/clixon/clixon_xml.h index a61b8638..ac232095 100644 --- a/lib/clixon/clixon_xml.h +++ b/lib/clixon/clixon_xml.h @@ -56,7 +56,7 @@ /* Collections namespace from draft-ietf-netconf-restconf-collection-00.txt */ -#define NETCONF_COLLECTION_NAMESPACE "urn:ietf:params:xml:ns:yang:ietf-netconf-collection" +#define NETCONF_COLLECTION_NAMESPACE "urn:ietf:params:xml:ns:yang:ietf-netconf-list-pagination" /* See RFC 7950 Sec 5.3.1: YANG defines an XML namespace for NETCONF * operations, content, and the element. diff --git a/yang/mandatory/Makefile.in b/yang/mandatory/Makefile.in index a1ef6281..78df256f 100644 --- a/yang/mandatory/Makefile.in +++ b/yang/mandatory/Makefile.in @@ -42,7 +42,7 @@ datarootdir = @datarootdir@ # See also YANG_INSTALLDIR for the clixon-specific yang files YANG_INSTALLDIR = @YANG_INSTALLDIR@ -YANGSPECS = ietf-inet-types@2020-07-06.yang +YANGSPECS += ietf-inet-types@2020-07-06.yang YANGSPECS += ietf-netconf@2011-06-01.yang YANGSPECS += ietf-netconf-acm@2018-02-14.yang YANGSPECS += ietf-restconf@2017-01-26.yang @@ -50,14 +50,13 @@ YANGSPECS += ietf-restconf-monitoring@2017-01-26.yang YANGSPECS += ietf-yang-library@2019-01-04.yang YANGSPECS += ietf-yang-types@2013-07-15.yang YANGSPECS += ietf-datastores@2018-02-14.yang -<<<<<<< HEAD YANGSPECS += ietf-yang-patch@2017-02-22.yang -======= -YANGSPECS += ietf-netconf-list-pagination@2020-10-30.yang YANGSPECS += ietf-origin@2018-02-14.yang YANGSPECS += ietf-yang-metadata@2016-08-05.yang YANGSPECS += ietf-netconf-with-defaults@2011-06-01.yang ->>>>>>> Pagination draft +# in draft-wwlh-netconf-list-pagination: +YANGSPECS += ietf-netconf-list-pagination@2020-10-30.yang + all: