public abstract class OFSessionUtil extends Object
Constructor and Description |
---|
OFSessionUtil() |
Modifier and Type | Method and Description |
---|---|
static SwitchConnectionDistinguisher |
createConnectionCookie(BigInteger datapathId,
short auxiliaryId,
int seed) |
static SwitchConnectionDistinguisher |
createConnectionCookie(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput features,
int seed) |
static SwitchSessionKeyOF |
createSwitchSessionKey(BigInteger datapathId) |
static String |
dumpDataPathId(BigInteger datapathId) |
static Collection<SessionContext> |
getAllSessions() |
static ExtensionConverterProvider |
getExtensionConvertorProvider() |
static Map<Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>,Collection<PopListener<org.opendaylight.yangtools.yang.binding.DataObject>>> |
getPopListenerMapping() |
static ConjunctSessionManager |
getSessionManager() |
static Map<TranslatorKey,Collection<IMDMessageTranslator<org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader,List<org.opendaylight.yangtools.yang.binding.DataObject>>>> |
getTranslatorMap() |
static SessionContext |
registerSession(ConnectionConductorImpl connectionConductor,
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput features,
short version) |
static void |
releaseSessionManager()
release session manager singleton instance
|
static void |
setRole(SessionContext sessionContext) |
public static SessionContext registerSession(ConnectionConductorImpl connectionConductor, org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput features, short version)
connectionConductor
- switch connection conductorfeatures
- switch feature outputversion
- openflow versionpublic static void setRole(SessionContext sessionContext)
public static String dumpDataPathId(BigInteger datapathId)
datapathId
- switch datapath idpublic static SwitchSessionKeyOF createSwitchSessionKey(BigInteger datapathId)
datapathId
- switch datapath idpublic static SwitchConnectionDistinguisher createConnectionCookie(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput features, int seed)
features
- switch feature outputseed
- seed valuecreateConnectionCookie(BigInteger,short, int)
public static SwitchConnectionDistinguisher createConnectionCookie(BigInteger datapathId, short auxiliaryId, int seed)
datapathId
- switch datapath idauxiliaryId
- connection aux idseed
- seed valuepublic static ConjunctSessionManager getSessionManager()
public static void releaseSessionManager()
public static Map<TranslatorKey,Collection<IMDMessageTranslator<org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader,List<org.opendaylight.yangtools.yang.binding.DataObject>>>> getTranslatorMap()
public static Map<Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>,Collection<PopListener<org.opendaylight.yangtools.yang.binding.DataObject>>> getPopListenerMapping()
public static ExtensionConverterProvider getExtensionConvertorProvider()
public static Collection<SessionContext> getAllSessions()
Copyright © 2018 OpenDaylight. All rights reserved.