We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following netBox API endpoint is simply not available via pynetbox:
/circuits/circuit-terminations/{id}/paths/
Interface inherfit from class PathEndpointMixin: https://github.com/netbox-community/netbox/blob/21b9732f061b7e91fa77c10da66bd098510354fc/netbox/dcim/api/views.py#L44
PathEndpointMixin
But CircuitTermination inherits from PassThroughPortMixin: https://github.com/netbox-community/netbox/blob/21b9732f061b7e91fa77c10da66bd098510354fc/netbox/dcim/api/views.py#L84
PassThroughPortMixin
/circuits/circuit-terminations/{id} exists though, just not access to the paths endpoint:
/circuits/circuit-terminations/{id}
>>> nb.circuits.circuit_terminations.get(id=2) TEST-CIRCUIT-1 >>> nb.circuits.circuit_terminations. nb.circuits.circuit_terminations.all( nb.circuits.circuit_terminations.create( nb.circuits.circuit_terminations.return_obj( nb.circuits.circuit_terminations.api nb.circuits.circuit_terminations.delete( nb.circuits.circuit_terminations.session_key nb.circuits.circuit_terminations.base_url nb.circuits.circuit_terminations.filter( nb.circuits.circuit_terminations.token nb.circuits.circuit_terminations.choices() nb.circuits.circuit_terminations.get( nb.circuits.circuit_terminations.update( nb.circuits.circuit_terminations.count( nb.circuits.circuit_terminations.name nb.circuits.circuit_terminations.url
PathEndpointMixin exposes a /path/ endpoint and ThroughPortMixin exposes a /trace/ endpoint. Both serialize a CablePath, but differently.
/path/
/trace/
The text was updated successfully, but these errors were encountered:
Any news on this? 😄
Sorry, something went wrong.
Not far off 1 year later, any thoughts on progressing this?
ran into this issue today
This is sort of duplicate of #434 and can be solved together
No branches or pull requests
The following netBox API endpoint is simply not available via pynetbox:
/circuits/circuit-terminations/{id}/paths/
Interface inherfit from class
PathEndpointMixin
: https://github.com/netbox-community/netbox/blob/21b9732f061b7e91fa77c10da66bd098510354fc/netbox/dcim/api/views.py#L44But CircuitTermination inherits from
PassThroughPortMixin
: https://github.com/netbox-community/netbox/blob/21b9732f061b7e91fa77c10da66bd098510354fc/netbox/dcim/api/views.py#L84/circuits/circuit-terminations/{id}
exists though, just not access to the paths endpoint:PathEndpointMixin exposes a
/path/
endpoint and ThroughPortMixin exposes a/trace/
endpoint. Both serialize a CablePath, but differently.The text was updated successfully, but these errors were encountered: