Commit Graph
12 Commits
Author SHA1 Message Date
Rob Emery 29542a5414 Hardcoded responses for the remaining endpoints that are duplicated
from my Hi-Source HI-k0801WS
2026-10-25 09:07:14 +00:00
Rob Emery 421e1f0c7d The state of the tagged/untagged ports in the vlan is complete with
every command, so we need to start from empty each time
2026-10-25 09:07:14 +00:00
Rob Emery 813d7e7ae2 Reintroducing argument parsing that I somehow lost rebasing 2026-10-25 09:07:14 +00:00
Rob Emery 9088e73acb Updating to mirror new macro structure used in #684 2026-10-25 09:07:14 +00:00
Rob Emery 2ecef98263 Updating to support \n separated commands, might need to support \r\n
as well, but this'll do for now
2026-10-25 09:07:14 +00:00
Rob Emery 8bd9231432 Adding support for renaming vlan 2026-10-25 09:07:14 +00:00
Rob Emery 16d61857b7 Handling "vlan 2" 2026-10-25 09:07:14 +00:00
Rob Emery 4ad0b7fd3d Implementing removal of vlan 2026-10-25 09:07:14 +00:00
Rob Emery 7694f1a625 Adding management vlan state 2026-10-25 09:07:14 +00:00
Rob Emery 69dd977708 Add support for setting pvid to non existant vlans 2026-10-25 09:07:14 +00:00
Rob Emery e83ff4d095 Renaming to _api for anything that is called from the http handler
to help seperate out the parsers that'll be coming in for cmd
putting all state under one global and implementing something resembling
vlan parsing
2026-10-25 09:07:14 +00:00
Rob Emery a03b2259ef Porting to python so it's easier to implement a full
switch-emulator with state
2026-10-25 09:07:14 +00:00