[cli] add CLI MacFilter sub-module (#9088)

This commit adds `MacFilter` CLI sub-module that implements all
"macfilter" sub-commands. It also simplifies the implementation by
adding a common `OutputFilter()` method that can output either the
Address filter, the RSS filter, or both.
This commit is contained in:
Abtin Keshavarzian
2023-05-26 08:57:45 -07:00
committed by GitHub
parent 9ad692488c
commit 323ffd894b
9 changed files with 419 additions and 257 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ send "macfilter\n"
expect "Address Mode: Disabled"
expect "RssIn List:"
expect -re {aabbccddeeff0011 : rss -?\d+ \(lqi 3\)}
expect -re {Default rss : -?\d+ \(lqi 2\)}
expect -re {Default rss: -?\d+ \(lqi 2\)}
expect_line "Done"
send "macfilter rss remove *\n"