diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2020-03-19 14:03:31 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-03-27 14:28:37 +0000 |
commit | d6420459c751df65a28f38751e9bac02dc475725 (patch) | |
tree | c888347bd2f906c75b58ba3ea647df38e5982501 /INFO.yaml | |
parent | 4f81e6ffe1a89ef4ca6789966ea8ab986a40ce8f (diff) |
virtio: fix link up/down flag
Type: fix
"set int state <interface> down" puts the virtio device link
down. It will not put the link in "UP" state, when
"set int state <interface up>" will be used again to change
the interface admin up. This patch fixes it.
To test:
create tap
set int state tap0 up
set int state tap0 down
sh hardware
sh int
set int state tap0 up
sh int
sh hardware
Change-Id: I3c0e31539f8a2a1e40220e7fb57eedecf408f067
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
(cherry picked from commit 529f0e97b6064039c500adce0d54b738954b2ffa)
Diffstat (limited to 'INFO.yaml')
0 files changed, 0 insertions, 0 deletions