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
@@ -1026,6 +1026,8 @@ void httpd_appcall(void)
|
||||
l2_delete(short_parsed);
|
||||
} else if (is_word(q, "/mirror.json")) {
|
||||
send_mirror();
|
||||
} else if (is_word(q, "/isolation.json")) {
|
||||
send_isolation();
|
||||
} else if (is_word(q, "/mtu.json")) {
|
||||
send_mtu();
|
||||
} else if (is_word(q, "/lag.json")) {
|
||||
|
||||
Reference in new issue
Block a user