# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-netbox-fusioninventory-plugin VERSION= 0.4 KEYWORDS= python VARIANTS= v12 v13 SDESC[v12]= Fusion inventory agent device import plugin (3.12) SDESC[v13]= Fusion inventory agent device import plugin (3.13) HOMEPAGE= https://gitlab.com/Milka64/netbox-fusioninventory-plugin CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/26/6e/63066b05e9e85b89f04bcc4f8481e7ae8b1b5e177c3e0b8369df7a46a8fd DISTFILE[1]= netbox_fusioninventory_plugin-0.4-py3-none-any.whl:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v12]= single SPKGS[v13]= single OPTIONS_AVAILABLE= PY312 PY313 OPTIONS_STANDARD= none VOPTS[v12]= PY312=ON PY313=OFF VOPTS[v13]= PY312=OFF PY313=ON DISTNAME= netbox_fusioninventory_plugin-0.4.dist-info GENERATED= yes [PY312].RUN_DEPENDS_ON= python-beautifulsoup4:single:v12 python-lxml:single:v12 [PY312].USES_ON= python:v12,wheel [PY313].RUN_DEPENDS_ON= python-beautifulsoup4:single:v13 python-lxml:single:v13 [PY313].USES_ON= python:v13,wheel [FILE:1812:descriptions/desc.single] # netbox-fusioninventory-plugin This plugin can add devices from fusioninventory-agent or ocsinventory-agent. ``` fusioninventory-agent -s http://netbox.local/plugins/fusion-inventory/ ``` ### what working: * add device name * Device Type * Serial Number * Asset Tag ### todo * add components * add config * add interfaces * add ip ## Installation First, add netbox-fusioninventory-plugin to your `/opt/netbox/local_requirements.txt` file. Create it if it doesn't exist. Then enable the plugin in `/opt/netbox/netbox/netbox/configuration.py`, like: ```python PLUGINS = [ 'netbox_fusioninventory_plugin', ] ``` And finally run `/opt/netbox/upgrade.sh`. This will download and install the plugin and update the database when necessary. Don't forget to run sudo systemctl restart netbox netbox-rq like upgrade.sh tells you! ## configuration You can overwrite fields with xml content or use internal objects. ```python PLUGINS_CONFIG = { 'netbox_fusioninventory_plugin':{ "name":"xml:request.content.hardware.name", "device_role":"object:DeviceRole:unknow", "tenant":None, "manufacturer":"xml:request.content.bios.mmanufacturer", "device_type":"xml:request.content.bios.mmodel", "platform":"xml:request.content.hardware.osname", "serial":"xml:request.content.bios.msn", "asset_tag":"xml:request.content.bios.assettag", "status":"str:active", "site":"object:Site:unknow", "location":None, "rack":None, "position":None, "face":None, "virtual_chassis":None, "vc_position":None, "vc_priority":None, "cluster":None, "comments":None, } } ``` [FILE:140:distinfo] 5ed241d384cc98539c0d31d9dc66ccb85232ff6541e19cfa5bd70bfa9bc6e496 4981 python-src/netbox_fusioninventory_plugin-0.4-py3-none-any.whl