libfluid
The ONF OpenFlow driver
Classes | Functions
fluid_base Namespace Reference

Classes

class  BaseOFConnection
 
class  BaseOFHandler
 
class  BaseOFServer
 
class  EventLoop
 
class  OFConnection
 
class  OFHandler
 
class  OFServer
 
class  OFServerSettings
 

Functions

void libfluid_tls_init (const char *cert, const char *privkey, const char *trustedcert)
 
void libfluid_tls_clear ()
 

Detailed Description

Classes for creating an OpenFlow server that listens to connections and handles events.

Function Documentation

void fluid_base::libfluid_tls_init ( const char *  cert,
const char *  privkey,
const char *  trustedcert 
)

Initialize SSL parameters. You must call this function before asking any object to communicate in a secure manner.

Parameters
certThe controller's certificate signed by a CA
privkeyThe controller's private key to be used with the certificate
trustedcertA CA certificate that signs certificates of trusted switches
void fluid_base::libfluid_tls_clear ( )

Free SSL data. You must call this function after you don't need secure communication anymore.