From 4d161fe6ac972b2eebd95c935b49932e0d56f65f Mon Sep 17 00:00:00 2001 From: mattieserver Date: Fri, 24 Apr 2020 12:56:47 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index bc42cfd..74a2fb3 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,18 @@ If you create a custom field "coordinates" for "dcim > device" with type "text" ## Configure +If you want to override the default values configure the `PLUGINS_CONFIG` in your `netbox configuration.py`. + +Example: +``` +PLUGINS_CONFIG = { + 'netbox_topology_views': { + 'device_img': 'rooter,switch,firewall', + 'preselected_device_roles': 'Router, Firewall' + } +} +``` + | Setting | Default value | Description | | ------------- |-------------| -----| | device_img | 'access-switch,core-switch,firewall,router,distribution-switch,backup,storage,wan-network,wireless-ap,server,internal-switch,isp-cpe-material,non-racked-devices,power-units' | The slug of the device roles that you have a image for. |