diff options
author | Thomas Huth <thuth@redhat.com> | 2017-05-15 15:32:56 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-05-23 10:10:38 +0800 |
commit | 559964a1ada14dc2d5066f445a2ef1c8389f7d6c (patch) | |
tree | d9566f031dd372433a09eb9219e12617fd765b08 /hmp-commands.hx | |
parent | f583dca9ad2adb9797da56ad8d859ed50eeae536 (diff) |
hmp / net: Mark host_net_add/remove as deprecated
The netdev_add and netdev_del commands should be used nowadays instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index 0aca984261..baeac47a72 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1296,7 +1296,7 @@ ETEXI .name = "host_net_add", .args_type = "device:s,opts:s?", .params = "tap|user|socket|vde|netmap|bridge|vhost-user|dump [options]", - .help = "add host VLAN client", + .help = "add host VLAN client (deprecated, use netdev_add instead)", .cmd = hmp_host_net_add, .command_completion = host_net_add_completion, }, @@ -1304,14 +1304,14 @@ ETEXI STEXI @item host_net_add @findex host_net_add -Add host VLAN client. +Add host VLAN client. Deprecated, please use @code{netdev_add} instead. ETEXI { .name = "host_net_remove", .args_type = "vlan_id:i,device:s", .params = "vlan_id name", - .help = "remove host VLAN client", + .help = "remove host VLAN client (deprecated, use netdev_del instead)", .cmd = hmp_host_net_remove, .command_completion = host_net_remove_completion, }, @@ -1319,7 +1319,7 @@ ETEXI STEXI @item host_net_remove @findex host_net_remove -Remove host VLAN client. +Remove host VLAN client. Deprecated, please use @code{netdev_del} instead. ETEXI { |