mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
#2034 add connection id to interface API
This commit is contained in:
parent
e5454d6714
commit
41c0c34c1a
@ -702,6 +702,7 @@ class InterfaceSerializer(serializers.ModelSerializer):
|
||||
return OrderedDict((
|
||||
('interface', PeerInterfaceSerializer(obj.connected_interface, context=self.context).data),
|
||||
('status', obj.connection.connection_status),
|
||||
('id', obj.connection.id),
|
||||
))
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user