YANG schema mount, added configure option --enable-yang-schema-mount
This commit is contained in:
parent
034ab632f1
commit
91034e5361
11 changed files with 60 additions and 17 deletions
29
configure
vendored
29
configure
vendored
|
|
@ -636,6 +636,7 @@ CPP
|
|||
MIB_GENERATED_YANG_DIR
|
||||
YANG_STANDARD_DIR
|
||||
YANG_INSTALLDIR
|
||||
CLIXON_YANG_SCHEMA_MOUNT
|
||||
CLIXON_YANG_PATCH
|
||||
with_libxml2
|
||||
HAVE_HTTP1
|
||||
|
|
@ -721,6 +722,7 @@ enable_option_checking
|
|||
enable_debug
|
||||
with_cligen
|
||||
enable_yang_patch
|
||||
enable_yang_schema_mount
|
||||
enable_publish
|
||||
with_restconf
|
||||
enable_http1
|
||||
|
|
@ -1373,6 +1375,8 @@ Optional Features:
|
|||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--enable-debug Build with debug symbols, default: no
|
||||
--enable-yang-patch Enable YANG patch, RFC 8072, default: no
|
||||
--enable-yang-schema-mount
|
||||
Enable YANG schema mount, RFC 8528, default: no
|
||||
--enable-publish Enable publish of notification streams using SSE and
|
||||
curl
|
||||
--disable-http1 Disable http1 for native restconf http/1, ie http/2
|
||||
|
|
@ -3402,6 +3406,7 @@ HAVE_HTTP1=false
|
|||
|
||||
|
||||
|
||||
|
||||
# Where Clixon installs its YANG specs
|
||||
|
||||
# Examples require standard IETF YANGs. You need to provide these for example and tests
|
||||
|
|
@ -4668,6 +4673,30 @@ $as_echo "#define CLIXON_YANG_PATCH 1" >>confdefs.h
|
|||
|
||||
fi
|
||||
|
||||
# Enable/disable YANG schema mount RFC 8528
|
||||
# Check whether --enable-yang-schema-mount was given.
|
||||
if test "${enable_yang_schema_mount+set}" = set; then :
|
||||
enableval=$enable_yang_schema_mount;
|
||||
if test "$enableval" = no; then
|
||||
enable_yang_schema_mount=no
|
||||
else
|
||||
enable_yang_schema_mount=yes
|
||||
fi
|
||||
|
||||
else
|
||||
enable_yang_schema_mount=no
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: enable-yang-schema-mount is ${enable_yang_schema_mount}" >&5
|
||||
$as_echo "enable-yang-schema-mount is ${enable_yang_schema_mount}" >&6; }
|
||||
if test "${enable_yang_schema_mount}" = "yes"; then
|
||||
CLIXON_YANG_SCHEMA_MOUNT=1
|
||||
|
||||
$as_echo "#define CLIXON_YANG_SCHEMA_MOUNT 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
# Experimental: Curl publish notification stream to eg Nginx nchan.
|
||||
# Check whether --enable-publish was given.
|
||||
if test "${enable_publish+set}" = set; then :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue