diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-05-26 09:06:39 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-05-26 09:09:37 +0000 |
commit | d15af8e9fdc32bd2e3471a300d9cf32e8eff00a0 (patch) | |
tree | a3493dad283451d7cc3f5067e02278268ebd49ec /smoketest | |
parent | 9854c72dfc8c88c9b1c0b21637091216aed94baa (diff) | |
download | vyos-1x-d15af8e9fdc32bd2e3471a300d9cf32e8eff00a0.tar.gz vyos-1x-d15af8e9fdc32bd2e3471a300d9cf32e8eff00a0.zip |
http-api: T4442: Add action reset
Add action 'reset' (op-mode) for HTTP-API
http://localhost/reset
curl --unix-socket /run/api.sock -X POST -Fkey=mykey \
-Fdata='{"op": "reset", "path": ["ip", "bgp", "192.0.2.14"]}' \
http://localhost/reset
Diffstat (limited to 'smoketest')
0 files changed, 0 insertions, 0 deletions