diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-05-25 20:41:20 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-05-26 00:02:33 +0000 |
commit | 45f460a20c0bdcd05d72eda3286b2b6980998fe4 (patch) | |
tree | 538f05d6745aaf18448510ada88836551fe3b5ab /python/vyos/initialsetup.py | |
parent | ec3a05d3dfda497910d42ad99d28d977312ea7a4 (diff) | |
download | vyos-1x-45f460a20c0bdcd05d72eda3286b2b6980998fe4.tar.gz vyos-1x-45f460a20c0bdcd05d72eda3286b2b6980998fe4.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 'python/vyos/initialsetup.py')
0 files changed, 0 insertions, 0 deletions