# console/mapping.txt — Source of Truth for console port assignments # # Format: |||| # # Delimiter is | (pipe) because ID_PATH values contain colons. # # - tcp_port: TCP port ser2net listens on (also the conman console name suffix) # - name: Device name (used for /dev/console/ symlink, conman console name) # - id_path_substring: Stable USB physical path from `udevadm info -q all -n /dev/ttyUSBN | grep ID_PATH` # These are STABLE across reboots as long as adapters aren't moved # to different physical USB ports. # - baud: Serial baud rate (9600n81 = 9600 8N1, no flow control) # - comment: Free-form description # # To RE-MAP after physically moving an adapter: # 1. Run: bash console/discover.sh (find the new ID_PATH for the device) # 2. Update the id_path_substring in this file # 3. Run: bash console/generate-config.sh && udevadm trigger && systemctl restart ser2net conmand # 2001|pfv-core-sw01|usb-0:1.5.4.4|9600n81|Dell PowerConnect 5448 (core switch) 2002|pfv-tor3-mgmt|usb-0:1.6.3.1|9600n81|Rack 3 management TOR switch 2003|pfv-tor3-stor|usb-0:1.6.3.3.2|9600n81|Rack 3 storage TOR switch 2004|pfv-rrinfra-rtr|usb-0:1.6.3.3.1|9600n81|Cisco router (rrinfra) 2005|pfv-r2-tor-top|usb-0:1.6.3.3.3|9600n81|Rack 2 top-of-rack switch 2006|subodev-torsw|usb-0:1.5.4.1|9600n81|Suborbital device TOR switch 2007|pfv-r2-sw|usb-0:1.6.3.2|9600n81|Rack 2 old Dell switch # Unassigned (no device detected): # 2008|spare-1|usb-0:1.6.3.4|9600n81|Empty / spare # 2009|spare-2|usb-0:1.6.3.3.4|9600n81|Empty / spare