
sysrepo-tsn is daemon application to implement tsn configuration based on sysrepo. It was enabled in
nxp_ls1028ardb-64b_defconfig and nxp_ls1021atsn_defconfig.
• For LS1028ARDB board, Qbv, Qbu, Qci, stream identification in CB, IP, MAC, and VLAN are supported.
• For LS1021ATSN board, Qbv, IP, MAC and VLAN are supportet.
• sysrepo-tsn was only verified in environment build by nxp_ls1028ardb-64b_defconfig and
nxp_ls1021atsn_default configuration.
NOTE
6.4.2 Netopeer2-server
The netopeer2-server is the NETCONF protocol server running as a system daemon. The netopeer2-server is based on sysrepo
and libnetconf2 library.
• -U listen locally on a unix socket
• -d debug mode (do not daemonize and print verbose messages to stderr instead of syslog)
• -V: Show program version.
• -v level verbose output level(0 : errors, 1 : errors and warnings, 2 : errors, warnings and verbose messages).
6.4.3 Netopeer2-cli
The netopeer2-cli is command line interface similar to the NETCONF client. It serves as a generic NETCONF client providing a
simple interactive command line interface. It allows user to establish a NETCONF session with a NETCONF-enabled device on
the network and to obtain and manipulate its configuration data. netopeer2-cli is limited to a single NETCONF connection at a
time via a forward or a reverse (Call Home) connecting method.
6.4.3.1 Netopeer2 CLI commands
Following are the Netopeer2 CLI commands:
1. help: Displays a list of commands. The
--help
option is also accepted by all commands to show detailed information about
the command.
2. connect: Connects to a NETCONF server.
connect
[--help] [--ssh] [--host <hostname>] [--port <num>] [--login <username>]
The connect command has the following arguments:
• --login username: Specifies the user to log in as on the NETCONF server. If not specified, current local username is
taken.
• --port num
— Port to connect to on the NETCONF server. By default, port 830 for SSH or 6513 for TLS transport is used.
• host
— Hostname or ip-address of the target NETCONF server.
3. disconnect: disconnects from a NETCONF server.
4. commit
• Performs the NETCONF
commit
operation. For details, see RFC 6241 section 8.3.4.1.
NXP Semiconductors
NETCONF/YANG
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
77 / 199