-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox Edition
NetBox Community
NetBox Version
v4.4.10
Python Version
3.12
Steps to Reproduce
- In the Netbox web UI, create a webhook
localhost testing webhookusing URL:127.0.0.1:9000, Method:POSTand Content typeapplication/json - Create an event rule
localhost testing event rulewith Object typesDCIM > Interfaceand Event TypesObject updated, Action typewebhookand Webhooklocalhost testing webhook(the one created in step one) - SSH or exec to netbox underlying OS, activate virtual environment and run the webhook listener with
python3 netbox/manage.py webhook_receiver - Back in the Netbox web UI, create a device
mydevice1off some device type. Select a Device role and a Site. Make sure there is an interface on the device, otherwise create one. - Create a device
mydevice2off some device type. Select a Device role and a Site. Make sure there is an interface on the device, otherwise create one. - On an interface on
mydevice1, create a cable connecting to an interface onmydevice2 - On the webhook listener, observe the output. There should be two completed requests, one for each interface at the cable endpoints.
Expected Behavior
- On
request #1,connected_endpointsandlink_peerswill be lists containing json data describing the interface frommydevice2 - On
request #2,connected_endpointsandlink_peerswill be lists containing json data describing the interface frommydevice1
Observed Behavior
- On
request #1,connected_endpointsisnullandlink_peersis[] - On
request #2.connected_endpointsisnullandlink_peersis a list containing json data describing the interface frommydevice1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application