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

[FR] Import DVS switches and cables #318

Open
patschi opened this issue Jun 4, 2023 · 2 comments
Open

[FR] Import DVS switches and cables #318

patschi opened this issue Jun 4, 2023 · 2 comments

Comments

@patschi
Copy link

patschi commented Jun 4, 2023

It would be cool to import DVS switches into netbox like physical switches, including each individual port. Each port is assigned to a VM, so a specific "cable" between VDS port to a VM can be created as well.

@bb-Ricardo
Copy link
Owner

Hi,

this sounds interesting. Not sure what the extent of this implementation would look like.

@patschi
Copy link
Author

patschi commented Jun 8, 2023

I'd say:

  1. Query all VDS/VSSes and create them in netbox accordingly. The interfaces size can be set to the amount of VMs attached to it.
  2. Attach all vNICs for a VM to the VSS. There can only be one cable for vNIC<->VSS.
  3. Attach all vNICs for a VM to the VDS using its specific port id. The port id is a unique match anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants