Port details on branch 2022Q2 |
- py-napalm-logs Cross-vendor normalisation for network syslog messages
- 0.9.0 net-mgmt =0 0.9.0Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-05-19 18:41:23
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/napalm-automation/napalm-logs
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}napalm-logs>0:net-mgmt/py-napalm-logs@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net-mgmt/py-napalm-logs/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/py-napalm-logs
- pkg install py39-napalm-logs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-napalm-logs listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-napalm-logs
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1585471862
SHA256 (napalm-automation-napalm-logs-0.9.0_GH0.tar.gz) = d3946e2defe5acd7354023b3cd05ff7d149f95ca398ba088559fb1d11525dd99
SIZE (napalm-automation-napalm-logs-0.9.0_GH0.tar.gz) = 845405
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>0 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pynacl>0 : security/py-pynacl@py39
- py39-pyzmq>0 : net/py-pyzmq@py39
- py39-u-msgpack-python>0 : devel/py-u-msgpack-python@py39
- py39-yaml>0 : devel/py-yaml@py39
- py39-prometheus-client>0 : net-mgmt/py-prometheus-client@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- net-mgmt_py-napalm-logs
- USES:
- python
- pkg-message:
- For install:
- Paths / CLI version
napalm-logs has been installed into:
/usr/local/bin/napalm-logs-3.9
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.9 --certificate napalm-logs.cert --keyfile napalm-logs.key
b) with unencrypted messaging:
# napalm-logs-3.9 --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.
- Master Sites:
|