#NEWLINE# def initialize( self , connection , driver_type , agent_api = None ) : #NEWLINE# #INDENT# 'Initialize enabled L2 agent extensions.\n\n        :param connection: RPC connection that can be reused by extensions to\n                           define their RPC endpoints\n        :param driver_type: a string that defines the agent type to the\n                            extension. Can be used by the extension to choose\n                            the right backend implementation.\n        :param agent_api: an AgentAPI instance that provides an API to\n                          interact with the agent that the manager\n                          is running in.\n        ' #NEWLINE# for extension in self : #NEWLINE# #INDENT# LOG . info ( _LI ( "Initializing agent extension '%s'" ) , extension . name ) #NEWLINE# extension . obj . consume_api ( agent_api ) #NEWLINE# extension . obj . initialize ( connection , connection )