summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-22 23:14:00 +0200
committerGitHub <noreply@github.com>2021-07-22 23:14:00 +0200
commitad80507e4c61a71f2e3610d04d204de03a883358 (patch)
tree140cad5149e241907c7962991a5bd8c4055f6301
parent6c571d9a99005d6ab32766d597985c6459241615 (diff)
parent050289987d8cedee4270f7a8090417a6a63cdf11 (diff)
downloadvyos-1x-ad80507e4c61a71f2e3610d04d204de03a883358.tar.gz
vyos-1x-ad80507e4c61a71f2e3610d04d204de03a883358.zip
Merge pull request #937 from jack9603301/T3698
bridge: op-mode: T3698: Support bridge monitoring
-rw-r--r--op-mode-definitions/monitor-bridge.xml.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-bridge.xml.in b/op-mode-definitions/monitor-bridge.xml.in
new file mode 100644
index 000000000..712a924f1
--- /dev/null
+++ b/op-mode-definitions/monitor-bridge.xml.in
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="monitor">
+ <children>
+ <node name="bridge">
+ <properties>
+ <help>Monitoring bridge database generated objects and address changes</help>
+ </properties>
+ <command>sudo bridge monitor all</command>
+ <children>
+ <node name="link">
+ <command>sudo bridge monitor link</command>
+ <properties>
+ <help>Monitoring bridge database generated connection interface changes</help>
+ </properties>
+ </node>
+ <node name="fdb">
+ <command>sudo bridge monitor fdb</command>
+ <properties>
+ <help>Monitor the forwarding database changes generated by the bridge database</help>
+ </properties>
+ </node>
+ <node name="mdb">
+ <command>sudo bridge monitor mdb</command>
+ <properties>
+ <help>Monitor the multicast database changes generated by the bridge database</help>
+ </properties>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>