Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cable paths are not updated when merging a branch with cable changes #150

Open
jeremystretch opened this issue Sep 25, 2024 · 0 comments
Open
Labels
app: branching type: bug A confirmed report of unexpected behavior in the application

Comments

@jeremystretch
Copy link
Contributor

Plugin Version

v0.5.0

NetBox Version

v4.1.1

Python Version

3.10

Steps to Reproduce

This bug addresses a secondary problem raised in #98.

  1. Create two devices, A and B.
  2. Create interface 1 on device A and interfaces 1 & 2 on device B.
  3. Create a cable between device A interface 1 and device B interface 1.
  4. Create and activate a branch.
  5. Edit the cable, and change the device B end from interface 1 to interface 2.
  6. Merge the branch, committing changes.
  7. Inspect the connection status of device A interface 1 and device B interface 2.

Expected Behavior

Either interface should show as connected to the other.

Observed Behavior

Although both interfaces show as connected to the same cable, no path is populated to show them as connected to each other.

As a workaround, manually retracing the cables path (manage.py trace_paths --force) corrects this condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: branching type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants