A customized NetBox agent to run on Hosterra's servers
- Python 99.9%
- Shell 0.1%
| netbox_agent | ||
| LICENSE.md | ||
| README.md | ||
| update.sh | ||
NetBox agent for Hosterra
This project is a customized version of NetBox Agent. It is useable as-is on Hosterra's infrastructures, or you can use it as base for your own customizations.
Why?
The main differences with the original agent are:
- it don't mess with devices roles
- setting
inventory = falsewill actually block (i.e. do not even try to start) inventory process - it implements Scaleway and OpenStack Foundation as manufacturers, so it's possible to provision instances as devices (not vm)
Notes
On Hosterra servers, it is not used in Python virtual envs. So you have to globally install the following libs:
ethtool dmidecode ipmitool lldpd lshw epel-release python3.11 python3.11-pip python3.11-devel.
Then you need to install modules with:
pip3.11 install jsonargparse pynetbox python-slugify netaddr netifaces pyyaml configargparse packaging.