-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Multiple interfaces connected to a single circuit termination #4519
Labels
type: feature
Introduction of new functionality to the application
Comments
steffann
added
status: under review
Further discussion is needed to determine this issue's scope and/or implementation
type: feature
Introduction of new functionality to the application
labels
Apr 21, 2020
This was referenced May 7, 2020
Additional use case: using single strands in a fiber, e.g. BiDi optics. Without being too familiar the backend of the system, perhaps allow a circuit to be flexibly usable as a cable connecting rear ports. |
I have a need for this as well in regards to leased dark fibre circuits and using BiDi modules |
jeremystretch
added
status: blocked
Another issue or external requirement is preventing implementation
and removed
status: under review
Further discussion is needed to determine this issue's scope and/or implementation
labels
Jul 24, 2020
Blocked by #4900 |
This is addressed by #4900 and will be allowed beginning with NetBox v2.10. |
jeremystretch
removed
the
status: blocked
Another issue or external requirement is preventing implementation
label
Oct 15, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
Proposed Functionality
The current implementation cannot handle the following situation:
WhereINT is an interface, FP is a front port, RP is a rear port and CT is a circuit termination.
Such a situation can occur for example when modelling a DWDM multiplexer connected to a leased line, when creating all the cabling on one end of the circuit before connecting anything to the other side of the circuit.
When creating the setup shown above both INT1 and INT2 will consider CT their connected endpoint. In the current implementation this is not allowed (
_connected_circuittermination
is aOneToOneField(CircuitTermination)
on the interface, andconnected_endpoint
is aOneToOneField(Interface)
on the circuit termination).There are two possible ways to deal with this that I can see:
_connected_circuittermination
on the interface to aForeignKey
with arelated_name
ofconnected_endpoints
and remove theconnected_endpoint
field from the circuit. Adapting the UI and API to match.Which choice is the best? Discuss…
Use Case
Choice 1 would be useful in cases where having multiple interfaces connected to the same CT is the final goal. For example when buying a service from an ISP that involves multiple wavelengths for different services. I know of cases where the ISP provides plain internet on one wavelength and private interconnects on others, so plausible scenario.
Choice 2 would be fine if we don't need to support such wavelength services. In that case there will be a corresponding multiplexer on the other side of the circuit, and the connected endpoint of the interface will be filled when something is connected at the other end.
Database Changes
When choosing option 1: changing a one-to-one relationship into a one-to-many.
External Dependencies
None
The text was updated successfully, but these errors were encountered: