Files
infix/package/clixon/Config.in
T
2023-02-15 19:14:49 +01:00

84 lines
2.1 KiB
Plaintext

config BR2_PACKAGE_CLIXON
bool "clixon"
depends on BR2_USE_MMU
select BR2_PACKAGE_CLIGEN
# select BR2_PACKAGE_LIBCURL
# select BR2_PACKAGE_LIBXML2
help
Clixon is a YANG-based configuration manager, with interactive
CLI, NETCONF and RESTCONF interfaces, an embedded database and
transaction mechanism.
Clixon has support for RESTCONF over HTTP/2 using NGHTTP2 as
well as support for FCGI using NGINX (HTTP/1), or the native
support for HTTP/1.
If Net-SNMP is enabled, it is possible to also enable the Clixon
YANG mapping to SNMP.
NOTE: Clixon by itself does not do anything, you need to build an
application it can run. See the example for more info.
https://github.com/clicon/clixon
if BR2_PACKAGE_CLIXON
config BR2_PACKAGE_CLIXON_EXAMPLE
bool "example"
help
Install Clixon YANG + CLI example application.
choice
prompt "restconf"
default BR2_PACKAGE_CLIXON_RESTCONF_NATIVE
config BR2_PACKAGE_CLIXON_RESTCONF_NATIVE
bool "native"
help
Native RESTCONF frontend supports HTTP/1 by default, for
HTTP/2 it relies on the nghttp2 library.
config BR2_PACKAGE_CLIXON_RESTCONF_FCGI
bool "nginx"
select BR2_PACKAGE_NGINX
select BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE
select BR2_PACKAGE_LIBFCGI
help
Enable RESTCONF using NGINX fastcgi instead of native.
config BR2_PACKAGE_CLIXON_RESTCONF_NONE
bool "disabled"
help
Disable RESTCONF frontend completely.
endchoice
config BR2_PACKAGE_CLIXON_HTTP1
bool "native http/1"
default y
depends on BR2_PACKAGE_CLIXON_RESTCONF_NATIVE
help
By default, native HTTP/1 support restconf is enabled.
Disabling this leaves nginx fcgi or http/2 options.
config BR2_PACKAGE_CLIXON_HTTP2
bool "native http/2"
depends on BR2_PACKAGE_CLIXON_RESTCONF_NATIVE
select BR2_PACKAGE_NGHTTP2
help
Native RESTCONF over HTTP/2 using NGHTTP2 package.
config BR2_PACKAGE_CLIXON_PUBLISH
bool "publish"
help
Enable publish of notification streams using SSE and curl.
config BR2_PACKAGE_CLIXON_SNMP
bool "net-snmp"
depends on BR2_PACKAGE_NETSNMP
help
Enable mapping of YANG to SNMP. Uses AgentX interface.
endif