Skip to content

Instantly share code, notes, and snippets.

@John-Lin
Created May 14, 2017 04:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save John-Lin/51def1a92a178326efd9b81bcc7688f7 to your computer and use it in GitHub Desktop.
Save John-Lin/51def1a92a178326efd9b81bcc7688f7 to your computer and use it in GitHub Desktop.
An overview of Open vSwitch implementation
+---------+ +-----------+
|ovs-ofctl| |sFlow Trend|
+----^----+ +-----^-----+
| | Remote
+-----------------------------------------------------------------------------------------------+
| |
| sFlow |
| | +---------+ +----------+ +---------+ +------------+
| | |ovs-dpctl| |ovs-appctl| |ovs-vsctl| |ovsdb-client|
| | +----+----+ +------^---+ +-----+---+ +-------^----+
| | | Command | | Config | DB operation
| | +----v---------------v--+ Unix socket +----v---------------v-+
| +--+ +---------------> |
|OpenFlow | ovsdb-vswitchd | | ovsdb-server | +----------+
+---------------+ <---------------+ | |ovsdb-tool|
+-----^------------+----+ Apply changes +------------^---------+ +----+-----+
| | | |
| | | |
| | +-----v-----+ |
upcall(netlink)| |netlink | ovsdb <----------+
| | +-----------+
+-----------------------------------------------------------------------------------------------+
| | Kernel space
+-----+------------v------+
|Openvswitch kernel module|
+-------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment