summaryrefslogtreecommitdiff
path: root/lib/dpctl.man
Commit message (Collapse)AuthorAgeFilesLines
* dpctl.man: Fix bolding for flush-conntrack command.Justin Pettit2016-03-291-1/+1
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Russell Bryant <russell@ovn.org>
* dpctl: Add new 'flush-conntrack' command.Daniele Di Proietto2015-12-211-0/+6
| | | | | Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Joe Stringer <joe@ovn.org>
* dpctl: Add 'conntrack-dump' command.Daniele Di Proietto2015-12-211-0/+24
| | | | | | | | It can be used to inspect the connection tracking entries in the datapath. Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Joe Stringer <joe@ovn.org>
* ovs-dpctl: Minor manpages fixes.Joe Stringer2015-01-071-3/+3
| | | | | Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* dpctl: Add 'get-flow' command.Joe Stringer2014-12-191-0/+4
| | | | | | | | | | This allows users to fetch a flow by giving a particular UFID. Usage: 'ovs-dpctl get-flow ufid:<ufid>' Usage: 'ovs-appctl dpctl/get-flow ufid:<ufid>' Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Andy Zhou <azhou@nicira.com>
* dpctl: add ovs-appctl dpctl/* commands to talk to dpif-netdevDaniele Di Proietto2014-08-041-0/+147
This commit introduces multiple appctl commands (dpctl/*) They are needed to interact with userspace datapaths (dpif-netdev), because the ovs-dpctl command runs in a separate process and cannot see the userspace datapaths inside vswitchd. This change moves most of the code of utilities/ovs-dpctl.c in lib/dpctl.c. Both the ovs-dpctl command and the ovs-appctl dpctl/* commands make calls to lib/dpctl.c functions, to interact with datapaths. The code from utilities/ovs-dpctl.c has been moved to lib/dpctl.c and has been changed for different reasons: - An exit() call in the old code made perfectly sense. Now (since the code can be run inside vswitchd) it would terminate the daemon. Same reasoning can be applied to ovs_fatal_*() calls. - The lib/dpctl.c code _should_ not leak memory. - All the print* have been replaced with a function pointer provided by the caller, since this code can be run in the ovs-dpctl process (in which case we need to print to stdout) or in response to a unixctl request (and in this case we need to send everything through a socket, using JSON encapsulation). The syntax is ovs-appctl dpctl/(COMMAND) [OPTIONS] [PARAMETERS] while the ovs-dpctl syntax (which _should_ remain the same after this change) is ovs-dpctl [OPTIONS] (COMMAND) [PARAMETERS] Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com> [blp@nicira.com made stylistic and documentation changes] Signed-off-by: Ben Pfaff <blp@nicira.com>