HomePhabricator

plugins: initial implementation for Netbox data

Description

plugins: initial implementation for Netbox data

  • Allow to specify via configuration a Python module to load as a plugin for the Netbox data gathering.
  • When configured the plugin class is dynamically loaded and exposed to the templates as netbox.device_plugin.
  • It is basically the same implementation of NetboxDeviceData but allows for any specific selection of data from Netbox that is not generic enough to be included in Homer itself.

Change-Id: I8328607b39a8971adce7815f049ef0b3cb4c3bce

Details

Provenance
VolansAuthored on Mar 31 2020, 4:21 PM
Parents
rOSHOca7358750878: config: complete test coverage
Branches
Unknown
Tags
Unknown
References
refs/changes/73/584973/2
ChangeId
I8328607b39a8971adce7815f049ef0b3cb4c3bce