No code yet and no test device. The README maps LANCOM's four operating systems (LCOS, LCOS SX, LCOS LX, LCOS FX) to planned entry points and napalm-device-types role bases. docs/lcos-sx3.md covers the first target (GS-23xx on LCOS SX 3.34): CLI model, getter-to-command map from the GS-2300 CLI reference, and the open get_config question (TFTP-only export). docs/fixtures.md lists the output to record from a real device. Refs NetOrk/netork#1094
1.9 KiB
1.9 KiB
Fixtures to capture
Record raw output from a real device the first time one is connected. Store it under
tests/fixtures/<model>-<firmware>/ (e.g. gs-2310p-plus-3.34/), one file per command,
plus a COMMANDS.txt that lists the command, the section it ran in, and the device state
that matters (links up/down, PoE consumers, LLDP neighbours present or not).
Scrub before committing: serial numbers, public IPs, SNMP communities, hostnames that identify a site.
LCOS SX 3 (GS-23xx)
Session basics:
- login banner and the first prompt after SSH login
?at the top level (list of sections)?inside each section listed below- the error text of an invalid command and of an invalid parameter
Per section:
system→showfirmware→showport→show configurationport→show status(with at least one link up and one down)port→show simple-counterport→show detail-counter 1port→show sfp <sfp-port>(with and without a module)ip→showipv6→show currentfdb→show mac-tablefdb→show static-maclldp→show configlldp→show info <port-list>(with a neighbour, e.g. another switch or a router)vlan→show vlanvlan→show port-configvlan→show port-status staticthermal→showsnmp→show snmpsnmp→show communitytime→show ntppoe→show config(PoE models only)poe→show status(with a powered device attached)aggregation→showlacp→show statusstp→show statussyslog→show log
Configuration:
config-file→exportto a TFTP server once (the XML file itself)- whether the web UI offers a configuration download, and how (URL, auth)