5.6.5.12. vlcp.service.sdn.ovsdbmanager

Note

This document is generated from the source file.

View Source on GitHub

Created on 2016/2/19

author:hubo
exception vlcp.service.sdn.ovsdbmanager.OVSDBBridgeNotAppearException
class vlcp.service.sdn.ovsdbmanager.OVSDBBridgeSetup(*args, **kwargs)
class vlcp.service.sdn.ovsdbmanager.OVSDBConnectionSetup(*args, **kwargs)
class vlcp.service.sdn.ovsdbmanager.OVSDBManager(server)

Manage Openflow Connections

__init__(server)

Constructor

getallbridges(vhost=None)

Get all (dpid, name, _uuid) tuple for all connections, optionally filtered by vhost

getallconnections(vhost='')

Get all connections from vhost. If vhost is None, return all connections from any host

getalldatapathids()

Get all datapath IDs from any vhost. Return (vhost, datapathid) pair.

getallendpoints()

Get all endpoints from any vhost. Return (vhost, endpoint) pairs.

getallsystemids()

Get all system-ids from any vhost. Return (vhost, system-id) pair.

getbridge(connection, name)

Get datapath ID on this connection with specified name

getbridgebyuuid(connection, uuid)

Get datapath ID of bridge on this connection with specified _uuid

getbridgeinfo(datapathid, vhost='')

Get (bridgename, systemid, bridge_uuid) tuple from bridge datapathid

getbridges(connection)

Get all (dpid, name, _uuid) tuple on this connection

getconnection(datapathid, vhost='')

Get current connection of datapath

getconnectionsbyendpoint(endpoint, vhost='')

Get connection by endpoint address (IP, IPv6 or UNIX socket address)

getconnectionsbyendpointname(name, vhost='', timeout=30)

Get connection by endpoint name (Domain name, IP or IPv6 address)

getdatapathids(vhost='')

Get All datapath IDs

getendpoints(vhost='')

Get all endpoints for vhost

getsystemids(vhost='')

Get All system-ids

waitbridge(connection, name, timeout=30)

Wait for bridge with specified name appears and return the datapath-id

waitbridgebyuuid(connection, uuid, timeout=30)

Wait for bridge with specified _uuid appears and return the datapath-id

waitbridgeinfo(datapathid, timeout=30, vhost='')

Wait for bridge with datapathid, and return (bridgename, systemid, bridge_uuid) tuple

waitconnection(datapathid, timeout=30, vhost='')

Wait for a datapath connection

waitconnectionbysystemid(systemid, timeout=30, vhost='')

Wait for a connection with specified system-id