diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-07-31 16:51:52 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-07-31 16:54:05 +0000 |
commit | befd4045b59f6182591daa9f19702404791303ae (patch) | |
tree | cbda7b6183ba303f0bcf3b2131311f4fb2227a4a /op-mode-definitions | |
parent | 1ee3801de4fbc78bbb6cbd49719c855ec33f0f31 (diff) | |
download | vyos-1x-befd4045b59f6182591daa9f19702404791303ae.tar.gz vyos-1x-befd4045b59f6182591daa9f19702404791303ae.zip |
T5406: webproxy op-mode command: add vrf support for blacklist update command
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/webproxy.xml.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/op-mode-definitions/webproxy.xml.in b/op-mode-definitions/webproxy.xml.in index 4e555c3d9..57df44ff8 100644 --- a/op-mode-definitions/webproxy.xml.in +++ b/op-mode-definitions/webproxy.xml.in @@ -87,6 +87,17 @@ <help>Update the webproxy blacklist database</help> </properties> <command>sudo ${vyos_op_scripts_dir}/webproxy_update_blacklist.sh --update-blacklist</command> + <children> + <tagNode name="vrf"> + <properties> + <help>Update webproxy blacklist database via specified VRF</help> + <completionHelp> + <path>vrf name</path> + </completionHelp> + </properties> + <command>sudo ${vyos_op_scripts_dir}/webproxy_update_blacklist.sh --update-blacklist --vrf "${5}" </command> + </tagNode> + </children> </node> </children> </node> |