Page MenuHomeVyOS Platform

Connect to console server by name
Closed, ResolvedPublicFEATURE REQUEST

Description

From the forum:

I have several servers connected to my VyOS router over USB-to-Serial adapters to provide out-of-band access, like so:

service {
  console-server {
    device usb0b4p1.0 {
       description ServerA
       speed 9600
   }
   device usb0b5p1.0 {
       description ServerB
       speed 115200
   }
   device usb0b10p1.0 {
       description ServerC
       speed 115200
   }
  }
}

This works, but to connect to Server A, I need to run connect console usb0b4p1.0 - so inevitably I need to configure; show service console-server to remember which adapter maps to which server.

It would be much easier if I could do connect console ServerA

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

insertjokehere changed the task status from Open to In progress.Sep 28 2022, 1:20 AM
insertjokehere claimed this task.
insertjokehere created this task.
insertjokehere changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.