mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
isolate: configure port isolation from the web interface
A matrix of the ports, one row per ingress port, showing which ports a frame entering there may leave through. The port number of a row turns red when the port is not fully open, and the cell for the port itself is marked since it is always allowed. Apply sends one "isolate" command per changed row, and Allow all ticks the whole matrix. The switch side is a new /isolation.json, which reports each port's allowance mask read back from the hardware. The page is an Isolation section of the single-page UI.
This commit is contained in:
1 parent
957a5b0e23
commit
7c11142a04
6 files changed
+114
-1
No files matched your search
@@ -140,6 +140,7 @@ void send_vlan(uint16_t vlan) { (void)vlan; }
|
||||
void send_basic_info(void) { }
|
||||
void send_bandwidth(void) { }
|
||||
void send_storm(void) { }
|
||||
void send_isolation(void) { }
|
||||
void send_eee(void) { }
|
||||
void send_l2(uint16_t idx) { (void)idx; }
|
||||
void l2_delete(uint16_t idx) { (void)idx; }
|
||||
|
||||
Reference in new issue
Block a user