configd

command
v0.0.0-...-308df95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2021 License: BSD-2-Clause, BSD-3-Clause, LGPL-2.1, + 2 more Imports: 30 Imported by: 0

README

configd daemon

Overview

'configd' is the daemon that runs the BVNOS configuration system. This involves:

  • Starting 'yangd' - validates YANG directory (including configd extensions) and VCI component files
  • Determining 'listeners' ...
  • Creating a server which handles incoming session requests for the life of the daemon

Documentation

Overview

configd is a daemon that manages run-time configuration based on YANG definition files.

Usage:

-cpuprofile=<filename>
	Defines a file which to write a cpu profile that can be parsed with go pprof.
	When defined, the daemon will begin recording cpu profile information when it
	receives a SIGUSR1 signal. Then on a subsequent SIGUSR1 it will write the profile
	information to the defined file.

-logfile=<filename>
	When defined configd will redirect its stdout and stderr to the defined file.

-pidfile=<filename>
	Sepecify file for the daemon to write pid in (default: /run/configd/configd.pid).

-runfile=<filename>
	Sepecify file for the daemon to write running configuration into (default:
	/run/configd/running.config).

-socketfile=<filename>
	When defined configd will write its pid to the defined file (defualt:
	/run/configd/main.sock).

-yangdir=<dir>
	Directory configd will load YANG files and watch for updates (default:
	/usr/share/configd/yang).

SIGUSR1
	Issuing SIGUSR1 to the daemon will toggle run-time profiling. Profile data will
	be written to the file specified by the cpuprofile option.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL