5.6.5.10. vlcp.service.sdn.ofpmanager

Note

This document is generated from the source file.

View Source on GitHub

Created on 2016/2/19

author:hubo
class vlcp.service.sdn.ofpmanager.FlowInitialize(*args, **kwargs)
class vlcp.service.sdn.ofpmanager.OpenflowManager(server)

Manage Openflow Connections

__init__(server)

Constructor

acquiretable(modulename)

Start to acquire tables for a module on module loading.

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.

getconnection(datapathid, auxiliaryid=0, vhost='')

Get current connection of datapath

getconnections(datapathid, vhost='')

Return all connections 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

lastacquiredtables(vhost='')

Get acquired table IDs

load(container)

Load module

unacquiretable(modulename)

When module is unloaded, stop acquiring tables for this module.

unload(container, force=False)

Unload module

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

Wait for a datapath connection

class vlcp.service.sdn.ofpmanager.TableAcquireDelayEvent(*args, **kwargs)
class vlcp.service.sdn.ofpmanager.TableAcquireUpdate(*args, **kwargs)