mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 12:38:17 -06:00
Trace through circuits to get to the real endpoint
This commit is contained in:
parent
ba07bcfbba
commit
1d1af47cb4
@ -2672,8 +2672,8 @@ class Cable(ChangeLoggedModel):
|
||||
Traverse both ends of a cable path and return its connected endpoints. Note that one or both endpoints may be
|
||||
None.
|
||||
"""
|
||||
a_path = self.termination_b.trace()
|
||||
b_path = self.termination_a.trace()
|
||||
a_path = self.termination_b.trace(follow_circuits=True)
|
||||
b_path = self.termination_a.trace(follow_circuits=True)
|
||||
|
||||
# Determine overall path status (connected or planned)
|
||||
if self.status == CONNECTION_STATUS_PLANNED:
|
||||
|
Loading…
Reference in New Issue
Block a user