VPSie home
Networking

Switch automation

Move bare metal ports between VLANs from the console, on Extreme, Cisco, Arista, Dell and Cumulus switch software, with a login test and a pinned host key.

Switch changes without a hand on the CLI

Part of VPSie Bare MetalBare metal servers need their switch port on the right VLAN at the right time: the install network while a server is built, the production network when it goes live. VPSie does that from the console, over SSH, so no one logs in to a switch to move a port.

  • You add a switch with its management IP, software type and login. VPSie tests the login first and runs nothing.
  • Port mapping shows which server sits on which port. It is proposed from LLDP neighbors and the switch MAC table, and you confirm it.
  • Every change is a recorded job that runs from the controller at the site.
Blue: production VLAN. Teal: install VLAN. Amber: moving now.

Supported switch software

Ten entries, named by the software they run. VPSie does not publish a model list; what matters is the operating system on the switch.

Extreme NOSBrocade VDX and SLXVerified in lab
Extreme EXOSExtreme NetworksDriver, tested on fixtures
Cisco IOSCiscoDriver, tested on fixtures
Cisco IOS XECiscoDriver, tested on fixtures
Cisco NX-OSCiscoDriver, tested on fixtures
Arista EOSAristaDriver, tested on fixtures
Dell OS10DellDriver, tested on fixtures
Dell SONiCDellDriver, tested on fixtures
Cumulus LinuxNVIDIADriver, tested on fixtures
Any SSH switchGeneric autodetectLogin and read only


Only Extreme NOS has been proven on real switches in our lab. The other drivers are written and tested against recorded switch output, so run a trial on your own kit before you rely on them. Juniper and Mellanox switches can be inventoried and read, but have no change driver yet.

From intent to a verified port

The same five steps for every change.

  1. IntentYou reinstall, sell or release a server. The platform decides which VLAN each port needs.
  2. ConfigThe change is turned into the commands for that switch software, with the port and VLAN filled in.
  3. PushA job on the site controller connects over SSH and applies it, one change per switch at a time.
  4. VerifyThe job reads the port back and checks the result before the server step continues.
  5. Safe stopIf the move fails in required mode, the reinstall is blocked, so a server never boots on the wrong network.

What each software supports

Port moves work everywhere there is a driver. The extras are limited to Extreme.

SoftwareVLAN port movesTrunksLACPPort firewall
Extreme NOSYes, lab verifiedYesYesYes
Extreme EXOSYesYesNoNo
Cisco IOS, IOS XE, NX-OSYesNoNoNo
Arista EOSYesNoNoNo
Dell OS10 and SONiCYesNoNoNo
Cumulus LinuxYesNoNoNo

Controls that keep it safe

Pinned host keys

Type the SHA256 fingerprint shown on the switch. Only an exact match with the key it offers is saved, and the job checks that key strictly on every run.

Write-only credentials

Passwords are encrypted and cannot be read back. A switch that fails the login test is not saved.

Mode per site

Choose required or disabled. Required blocks a reinstall when the maintenance move fails. Disabled sends no switch commands.

Limits

Up to 50 switches per site, and one change job at a time on Extreme NOS, Cumulus and autodetect switches.

What the switch needs

A short checklist for your network team.

  • A management IP the site controller can reach on SSH.
  • A login that is allowed to configure ports.
  • An access list entry that permits the controller address.
  • The install and production VLANs allowed on server ports.
  • LLDP on, so port mapping can propose ports.

Switch health is a separate job: LightHouse polls the same switches over SNMPv3 and keeps a copy of each configuration, so you see a port down or a missing backup next to the automation.

Related pages

Each page has the detail behind the line above.

Bare metal Bare metal hybrid Networking LightHouse monitoring DCIM Runbooks and workflows

Questions about switch automation

Which switches are supported?

By software: Extreme NOS (Brocade VDX and SLX), Extreme EXOS, Cisco IOS, IOS XE and NX-OS, Arista EOS, Dell OS10, Dell SONiC and NVIDIA Cumulus Linux. We list software, not models, because the driver follows the operating system.

Has it run on real hardware?

Extreme NOS has been used on real switches in our lab. The other drivers are tested against recorded output. Plan a test on your own switch first.

Can it configure a switch from scratch?

No. It moves ports between VLANs and handles trunks and LACP on supported Extreme software. The switch must already be reachable and have the VLANs allowed.

What if a change fails?

With the required lifecycle mode, a failed maintenance move blocks the reinstall and the job shows the error, so the server is not built on the wrong network.

Does it need an agent on the switch?

No. The site controller connects over SSH from inside your network, with the host key you pinned.

Check your switches against the list

Send us the switch software and versions at your site. We will say what is verified, what needs a trial and what to prepare.