1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net-mgmt/netbox-agent: Agent for the Netbox network automation

PR:		280993
Sponsored by:	Bell Tower Integration
Sponsored by:	Klara, Inc.
This commit is contained in:
Xavier Beaudouin 2024-08-22 14:29:08 +02:00 committed by Mateusz Piotrowski
parent 761e05d92d
commit 28b399b1ec
4 changed files with 43 additions and 0 deletions

View File

@ -186,6 +186,7 @@
SUBDIR += ndpmon
SUBDIR += net-snmp
SUBDIR += netbox
SUBDIR += netbox-agent
SUBDIR += netdata
SUBDIR += netdata-go
SUBDIR += netdisco

View File

@ -0,0 +1,35 @@
PORTNAME= netbox-agent
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.2-77
DISTVERSIONSUFFIX=-g6ae055c
CATEGORIES= net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kiwi@oav.net
COMMENT= Agent for the Netbox network automation
WWW= https://github.com/KlaraSystems/netbox-agent
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/bin/ipmitool:sysutils/ipmitool \
${LOCALBASE}/sbin/dmidecode:sysutils/dmidecode \
${LOCALBASE}/sbin/lldpctl:net-mgmt/lldpd \
${PYTHON_PKGNAMEPREFIX}distro>=1.8.0:sysutils/py-distro@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonargparse>=3.11.2:devel/py-jsonargparse@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netaddr>=1.0:net/py-netaddr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netifaces-plus>=0.11:net/py-netifaces-plus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=5.9.0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pynetbox>=7:net-mgmt/py-pynetbox@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-slugify>=8.0.1:textproc/py-python-slugify@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sysctl>=0.3.0:devel/py-sysctl@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= KlaraSystems
USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1724326843
SHA256 (KlaraSystems-netbox-agent-v0.7.2-77-g6ae055c_GH0.tar.gz) = 2168a07512dacc39675ff6952b72cf08b621fbf743cc9e5f9a0b8a1f5383f838
SIZE (KlaraSystems-netbox-agent-v0.7.2-77-g6ae055c_GH0.tar.gz) = 92483

View File

@ -0,0 +1,4 @@
This project aims to create hardware automatically into Netbox based on
standard tools (dmidecode, lldpd, parsing /sys/, etc).
The goal is to generate an existing infrastructure on Netbox and have the
ability to update it regularly by executing the agent.