BSD Ports

net-mgmt/py-napalm-logs 0.9.0_3 DragonFly

Cross-vendor normalisation for network syslog messages

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
net-mgmt, python
Package size
112.6 KiB, 697.6 KiB installed

Description

Parses syslog messages from network devices and produce JSON serializable Python objects, in a vendor agnostic shape. The output objects are structured following the OpenConfig or IETF YANG model specifications.

In the other systems

The newest version among them is 0.9.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/py-napalm-logs0.9.0_3 newestnone known-[email protected]-
FreeBSDnet-mgmt/py-napalm-logs0.9.0_5 newestnone known-[email protected]-
HardenedBSDnet-mgmt/py-napalm-logs0.9.0_5 newestno data-[email protected]-
GhostBSDnet-mgmt/py-napalm-logs0.9.0_5 newestno data-[email protected]-

Install

Binary package:

pkg install py311-napalm-logs

From DPorts:

cd /usr/dports/net-mgmt/py-napalm-logs && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Paths / CLI version

napalm-logs has been installed into:

/usr/local/bin/napalm-logs-3.11

The default path for the configuration file is:

/usr/local/etc/napalm/logs

The default path for logfiles (will be created automatically on first run) is:

/var/log/napalm/logs


 Message encryption / CLI version

If the messaging between server/client should be encrypted, one will require a
certificate and a key otherwise the program will throw an exception and exits.

Generate a certificate with the following command:

$ openssl req -nodes -x509 -newkey rsa:4096 -keyout napalm-logs.key -out napalm-logs.crt -days 365

If no encryption is required, please read further below how to start the server
without a certificate.


 Starting the server / CLI version

a) with encrypted messaging:

# napalm-logs-3.11 --certificate napalm-logs.cert --keyfile napalm-logs.key

b) with unencrypted messaging:

# napalm-logs-3.11 --disable-security

In both cases the server will listen on

	0.0.0.0:514 [UDP / incoming syslog messages]
	0.0.0.0:49017 [TCP / incoming client requests]

In case a) when security is enabled, the server will listen also on:

	0.0.0.0:49018 [TCP / incoming authentication requests]  

Please read https://napalm-logs.readthedocs.io/en/latest for further
information.