netdev-dummy: New appctl command netdev-dummy/set-admin-state.
authorEthan Jackson <ethan@nicira.com>
Fri, 10 Aug 2012 01:08:40 +0000 (18:08 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 10 Aug 2012 20:53:24 +0000 (13:53 -0700)
commit95d4ec339d25373e04e5218235d3d0d477f0766e
tree0143ef7afbf01f71aa9c66aafdf337dd31fe1d3f
parent26df8b3e3b288aae3340059faebcbda8eb22fbdb
netdev-dummy: New appctl command netdev-dummy/set-admin-state.

There's currently no way to set the admin state on dummy netdevs.
This patch provides a mechanism to do so which will be used in
future unit tests.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/netdev-dummy.c