summaryrefslogtreecommitdiff
path: root/lib/unixctl.h
Commit message (Collapse)AuthorAgeFilesLines
* unixctl: Make path to unixctl_server socket available to the client.Ben Pfaff2018-08-071-0/+2
| | | | | | Acked-by: Alin Gabriel Serdean <aserdean@ovn.org> Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Global replace of Nicira Networks.Raju Subramanian2012-05-021-1/+1
| | | | | | | | Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* unixctl: New JSON RPC back-end.Ethan Jackson2012-02-211-9/+8
| | | | | | | | | | | | | The unixctl library had used the vde2 management protocol since the early days of Open vSwitch. As Open vSwitch has matured, several Python daemons have been added to the code base which would benefit from a unixctl implementations. Instead of implementing the old unixctl protocol in Python, this patch changes unixctl to use JSON RPC for which we already have an implementation in both Python and C. Future patches will need to implement a unixctl library in Python on top of JSON RPC. Signed-off-by: Ethan Jackson <ethan@nicira.com>
* unixctl: Implement quoting.Ben Pfaff2011-12-191-3/+4
| | | | | | | | | | | | | | | | | | | The protocol used by ovs-appctl has a long-standing bug that there is no way to distinguish "ovs-appctl a b c" from "ovs-appctl 'a b c'". This isn't a big deal because none of the current commands really want to accept arguments that include spaces, but it's kind of a silly limitation. At the same time, the internal API is awkward because every user is stuck doing its own argument parsing, which is no fun. This commit fixes both problems, by adding shell-like quoting to the protocol and modifying the internal API from one that passes a string to one that passes in an array of pre-parsed strings. Command implementations may now specify how many arguments they expect. This simplifies some command implementations significantly. Signed-off-by: Ben Pfaff <blp@nicira.com>
* ovs-appctl: Print command arguments for "help".Justin Pettit2011-09-291-1/+1
|
* treewide: Remove trailing whitespaceJoe Perches2010-08-301-2/+2
| | | | | | Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Jesse Gross <jesse@nicira.com>
* Merge "next" branch into "master".Ben Pfaff2010-03-171-2/+3
|\
| * unixctl: Allow passing auxiliary data to unixctl commands.Ben Pfaff2009-10-291-2/+3
| | | | | | | | | | This will allow users of unixctl to avoid using global variables, leading to cleaner code.
* | Add extern "C" to more header files.Jesse Gross2010-03-051-0/+8
|/ | | | From partner.
* Update primary code license to Apache 2.0.Ben Pfaff2009-06-151-10/+10
|
* Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff2009-07-081-0/+44