#NEWLINE# def start( self ) : #NEWLINE# #INDENT# server = hub . listen ( ( self . _address , self . _port ) ) #NEWLINE# key = ( self . CONF . ovsdb . mngr_privkey or self . CONF . ctl_privkey ) #NEWLINE# cert = ( self . CONF . ovsdb . mngr_cert or self . CONF . ctl_cert ) #NEWLINE# if ( ( key is not None ) and ( cert is not None ) ) : #NEWLINE# #INDENT# ssl_kwargs = dict ( keyfile = key , certfile = cert , server_side = True ) #NEWLINE# if ( self . CONF . ca_certs is not None ) : #NEWLINE# #INDENT# ssl_kwargs [ 'cert_reqs' ] = ssl . CERT_REQUIRED #NEWLINE# ssl_kwargs [ 'ca_certs' ] = self . CONF . ca_certs #NEWLINE# #UNINDENT# server = ssl . wrap_socket ( key , ** ssl_kwargs ) #NEWLINE# #UNINDENT# self . _server = server #NEWLINE# self . logger . info ( ( 'Listening on %s:%s for clients' % ( self . _address , self . _port ) ) ) #NEWLINE# t = hub . spawn ( self . _accept , self . _server ) #NEWLINE# super ( OVSDB , self ) . start ( ) #NEWLINE# return t