Skip to content

Instantly share code, notes, and snippets.

@rodolfovalentim
rodolfovalentim / ovsdb.py
Created February 2, 2019 20:11 — forked from ashw7n/ovsdb.py
ovsdb-python-client
import collections
import threading
__author__ = 'ashw7n'
import socket
import json
import logging
logging.basicConfig(level=logging.DEBUG)
@rodolfovalentim
rodolfovalentim / ovs-cheat.md
Created September 3, 2018 15:43 — forked from djoreilly/ovs-cheat.md
OVS cheat sheet

DB

ovs-vsctl list open_vswitch
ovs-vsctl list interface
ovs-vsctl --columns=ofport,name list Interface
ovs-vsctl --columns=ofport,name --format=table list Interface
ovs-vsctl --format=table --columns=name,mac_in_use find Interface name=br-dpdk1
ovs-vsctl get interface vhub656c3cb-23 name

ovs-vsctl set port vlan1729 tag=1729