]> git.proxmox.com Git - ovs.git/commit
netdev-dummy: add appctl netdev-dummy/conn-state command
authorAndy Zhou <azhou@nicira.com>
Thu, 5 Jun 2014 23:01:17 +0000 (16:01 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 10 Jun 2014 22:28:12 +0000 (15:28 -0700)
commit7d7fffe8a4dbe0aab2eb16eca5ce016518b652ad
tree4fed559eebc2d5505762019c9882118dc3750ad0
parentc2cbb53c0f041f38f1f22673adf379a0e6a8176e
netdev-dummy: add appctl netdev-dummy/conn-state command

Using without any parameter, this command list the connection
state of all netdev-dummy devices that are configured to make
active connections.

Optionally, the name of the netdev-dummy device can be supplied
as a parameter.

The states will be displayed as:

"connected": The socket has been connected to the listener.
"disconnected": The socket is not connected.
"unknown":  It is not an active dummy device.

CC: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/netdev-dummy.c