git: 28b399b1ec5e - main - net-mgmt/netbox-agent: Agent for the Netbox network automation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Aug 2024 16:11:44 UTC
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=28b399b1ec5e8a830cc2e8e12abc941233e83d01 commit 28b399b1ec5e8a830cc2e8e12abc941233e83d01 Author: Xavier Beaudouin <kiwi@oav.net> AuthorDate: 2024-08-22 12:29:08 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-08-22 16:09:45 +0000 net-mgmt/netbox-agent: Agent for the Netbox network automation PR: 280993 Sponsored by: Bell Tower Integration Sponsored by: Klara, Inc. --- net-mgmt/Makefile | 1 + net-mgmt/netbox-agent/Makefile | 35 +++++++++++++++++++++++++++++++++++ net-mgmt/netbox-agent/distinfo | 3 +++ net-mgmt/netbox-agent/pkg-descr | 4 ++++ 4 files changed, 43 insertions(+) diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index d0036adf6f00..127eeaea27c7 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -186,6 +186,7 @@ SUBDIR += ndpmon SUBDIR += net-snmp SUBDIR += netbox + SUBDIR += netbox-agent SUBDIR += netdata SUBDIR += netdata-go SUBDIR += netdisco diff --git a/net-mgmt/netbox-agent/Makefile b/net-mgmt/netbox-agent/Makefile new file mode 100644 index 000000000000..5a6153807834 --- /dev/null +++ b/net-mgmt/netbox-agent/Makefile @@ -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> diff --git a/net-mgmt/netbox-agent/distinfo b/net-mgmt/netbox-agent/distinfo new file mode 100644 index 000000000000..cf7c77d3bee4 --- /dev/null +++ b/net-mgmt/netbox-agent/distinfo @@ -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 diff --git a/net-mgmt/netbox-agent/pkg-descr b/net-mgmt/netbox-agent/pkg-descr new file mode 100644 index 000000000000..c5fbe53c2cc3 --- /dev/null +++ b/net-mgmt/netbox-agent/pkg-descr @@ -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.