Skip to content

Commit 3c1c458

Browse files
authored
Add location and power panel to lookup (#599)
1 parent f9f1ee9 commit 3c1c458

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/lookup/nb_lookup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,11 @@ def get_endpoint(netbox, term):
193193
"interfaces": {"endpoint": netbox.dcim.interfaces},
194194
"inventory-items": {"endpoint": netbox.dcim.inventory_items},
195195
"ip-addresses": {"endpoint": netbox.ipam.ip_addresses},
196+
"locations": {"endpoint": netbox.dcim.locations},
196197
"manufacturers": {"endpoint": netbox.dcim.manufacturers},
197198
"object-changes": {"endpoint": netbox.extras.object_changes},
198199
"platforms": {"endpoint": netbox.dcim.platforms},
200+
"power-panels": {"endpoint": netbox.dcim.power_panels},
199201
"power-connections": {"endpoint": netbox.dcim.power_connections},
200202
"power-outlet-templates": {"endpoint": netbox.dcim.power_outlet_templates},
201203
"power-outlets": {"endpoint": netbox.dcim.power_outlets},

0 commit comments

Comments
 (0)