mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
Custom name for ConnectedDeviceViewSet
This commit is contained in:
parent
8c15daf697
commit
ea9ed11c3b
@ -326,6 +326,9 @@ class ConnectedDeviceViewSet(ViewSet):
|
||||
"""
|
||||
permission_classes = [IsAuthenticated]
|
||||
|
||||
def get_view_name(self):
|
||||
return "Connected Device Locator"
|
||||
|
||||
def list(self, request):
|
||||
|
||||
peer_device_name = request.query_params.get('peer-device')
|
||||
|
Loading…
Reference in New Issue
Block a user