forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Open vSwitch
License
little-dude/ovs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ovsdb has a nice json rpc interface, it's pretty nice to dump structured data. Unfortunately, tools like appctl don't support json. The goal of this project is to implement this. Currently I just have a poc. Using the unixctl python module we already have in ovs I connect to the vswitchd unix socket, and send `vlog/list` command. Here is the output : ``` { "ofproto_dpif_mirror" "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofp_errors": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "in_band": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "command_line": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "cfm": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "poll_loop": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "util": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "connmgr": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "unixctl": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofproto_dpif": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "stream_fd": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netdev_vport": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "bundle": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "backtrace": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "lacp": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "bundles": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "svec": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ovsdb_idl": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "stp": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "pktbuf": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ovsdb_error": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "classifier": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "bfd": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "bridge": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netdev_dummy": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "nx_match": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "rconn": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofproto_dpif_monitor "level": "INFO", "console": "OFF", "syslog": "INFO"}, "vconn": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "process": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "lockfile": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "sflow": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofproto": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "meta_flow": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netdev": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "vlog": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "route_table": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "system_stats": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "multipath": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "timeval": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netflow": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netlink_notifier": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "jsonrpc": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netlink_socket": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofp_util": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "reconnect": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "entropy": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ipfix": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofp_actions": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "xenserver": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ovs_rcu": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "vswitchd": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofproto_dpif_upcall" "level": "INFO", "console": "OFF", "syslog": "INFO"}, "hmap": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "fatal_signal": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "dpif_linux": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netlink": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "socket_util_unix": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "dpif_netdev": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ovs_thread": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "signals": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "coverage": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofp_msgs": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "vlandev": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "daemon_unix": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "socket_util": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "tunnel": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "daemon": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "collectors": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "vconn_stream": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "stream_ssl": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "stream_unix": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "bond": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "memory": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "stream": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "stream_tcp": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "fail_open": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "ofproto_dpif_xlate": "level": "INFO", "console": "OFF", "syslog": "INFO"}, "pcap": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "netdev_linux": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "dpif": { "level": "INFO", "console": "OFF", "syslog": "INFO"}, "odp_util": { "level": "INFO", "console": "OFF", "syslog": "INFO"}} ```
About
Open vSwitch
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 89.8%
- Python 8.0%
- C++ 1.4%
- Other 0.8%