src/bin/proxmox-backup-manager.rs: implement netwerk revert

This commit is contained in:
Dietmar Maurer
2020-04-24 10:45:49 +02:00
parent c67bc9c35c
commit fd7c0979b4
2 changed files with 15 additions and 0 deletions

View File

@ -340,6 +340,7 @@ fn network_commands() -> CommandLineInterface {
.arg_param(&["name"])
.completion_cb("name", config::network::complete_interface_name)
)
.insert("revert", CliCommand::new(&api2::config::network::API_METHOD_REVERT_NETWORK_CONFIG))
.insert(
"reload",
CliCommand::new(&api2::config::network::API_METHOD_RELOAD_NETWORK_CONFIG)