OVS Orbit

Introduction to OVSDB, Part 2

01.01.2019 - By Ben PfaffPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

This episode, recorded in April 2018, was the third in a series of

internal VMware tech talks about Open vSwitch. This episode is

particularly about OVSDB, the Open vSwitch Database, and particularly

about OVSDB from the viewpoint of the client. It talks about the C

client library, including how it represents data, the usual way to work

with it, and how it interacts with the OVSDB server. It also covers how

the C client library supports preparing transactions to send to the

server.

Part of the talk dissects and explains an OVSDB JSON-RPC transaction

created by ovs-vsctl. You can see a similar transaction by

running make sandbox in an OVS tree, then ovs-vsctl

-vjsonrpc add-br br0 inside the sandbox. Look for the

transact operation, Or look at this

example, which has been put through a JSON pretty-printer for

legibility.

The talk concludes with several minutes of questions. One of the

questions discusses the C IDL's rendering of the AutoAttach table. You

can find this at the top of the file here.

Part 1, in episode 55, covered OVSDB from the server

and network protocol point of view.

OVS Orbit is produced by Ben Pfaff. The

intro music in this episode is Drive,

featuring cdk and DarrylJ, copyright 2013, 2016 by Alex. The bumper

music is Yeah Ant

featuring Wired Ant and Javolenus, copyright 2013 by Speck. The outro

music is Space

Bazooka featuring Doxen Zsigmond, copyright 2013 by Kirkoid. All

content is licensed under a Creative Commons Attribution 3.0

Unported (CC BY 3.0) license.

More episodes from OVS Orbit