Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Virtual switch dont return all interfaces #15629

Closed
rsp1991 opened this issue Apr 4, 2024 · 3 comments
Closed

Virtual switch dont return all interfaces #15629

rsp1991 opened this issue Apr 4, 2024 · 3 comments

Comments

@rsp1991
Copy link

rsp1991 commented Apr 4, 2024

Deployment Type

NetBox Enterprise

NetBox Version

v3.7.3

Python Version

3.8

Steps to Reproduce

1 - Get the Master device of the Virtual Switch with switch switches
2 - Go to https:///api/dcim/interfaces/?device=
3 - The output show only interfaces from Master switch.

Expected Behavior

The expected is the Master return all interface

Observed Behavior

Return all interfaces

@rsp1991 rsp1991 added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Apr 4, 2024
@arthanson
Copy link
Collaborator

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@arthanson arthanson added status: revisions needed This issue requires additional information to be actionable and removed status: needs triage This issue is awaiting triage by a maintainer labels Apr 5, 2024
@rsp1991
Copy link
Author

rsp1991 commented Apr 5, 2024

Hello @arthanson

Sorry, but I don't have too much ideia to explain, I will try again:

I configured one virtual switch with two cisco switch with 48 ports,

SW1 48 Ports - Master
SW2 48 Ports

When I user the device.interfaces.all() I get just interfaces from SW1, I checked via URL:

https://<netbox_IP>api/dcim/interfaces/?device=

And I confirmed that API answer the requisition with just SW1.

All interfaces in SW1 start with 1 and in the SW2 start with 2 so I don't use same name.

@arthanson arthanson removed their assignment Apr 18, 2024
@jeffgdotorg
Copy link
Collaborator

It seems you're looking for advice on how to accomplish a task, rather than reporting a bug in the NetBox code that needs to be fixed. I'm therefore converting this issue to a discussion so that others in the community can help you accomplish your goal.

@jeffgdotorg jeffgdotorg removed type: bug A confirmed report of unexpected behavior in the application status: revisions needed This issue requires additional information to be actionable labels May 17, 2024
@netbox-community netbox-community locked and limited conversation to collaborators May 17, 2024
@jeffgdotorg jeffgdotorg converted this issue into discussion #16186 May 17, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants