diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-10 19:14:56 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-10 19:14:56 +0100 |
commit | 4fb6160fb72717ce65cc1dbd814b80a1d1a4e756 (patch) | |
tree | 3fb06e5ddcced8e42bcbcb8535cb3a99ca2666bb /op-mode-definitions/include/monitor-background.xml.i | |
parent | 1c91987c494f80f8fe80de1534638362c7bd978e (diff) | |
download | vyos-1x-4fb6160fb72717ce65cc1dbd814b80a1d1a4e756.tar.gz vyos-1x-4fb6160fb72717ce65cc1dbd814b80a1d1a4e756.zip |
op-mode: T3178: add "monitor protocols <bgp|ospf|ospfv3|rib|rip|ripng>" commands
Diffstat (limited to 'op-mode-definitions/include/monitor-background.xml.i')
-rw-r--r-- | op-mode-definitions/include/monitor-background.xml.i | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/op-mode-definitions/include/monitor-background.xml.i b/op-mode-definitions/include/monitor-background.xml.i new file mode 100644 index 000000000..9931127e3 --- /dev/null +++ b/op-mode-definitions/include/monitor-background.xml.i @@ -0,0 +1,21 @@ +<!-- included start from monitor-background.xml.i --> +<node name="background"> + <properties> + <help>Monitor in background</help> + </properties> + <children> + <node name="start"> + <properties> + <help>Start background monitoring</help> + </properties> + <command>${vyatta_bindir}/vyatta-monitor-background ${3^^} ${3}</command> + </node> + <node name="stop"> + <properties> + <help>Stop background monitoring</help> + </properties> + <command>${vyatta_bindir}/vyatta-monitor-background-stop ${3^^}</command> + </node> + </children> +</node> +<!-- included end --> |