#NEWLINE# def _create_router_for_l3_agent_dvr_test( self , distributed = False , external_gw = None ) : #NEWLINE# #INDENT# router = self . _make_router ( self . fmt , tenant_id = str ( uuid . uuid4 ( ) ) , name = 'r1' ) #NEWLINE# router [ 'router' ] [ 'distributed' ] = self #NEWLINE# router [ 'router' ] [ 'external_gateway_info' ] = external_gw #NEWLINE# return router