#NEWLINE# def _create_router_db( self , context , router , tenant_id ) : #NEWLINE# #INDENT# 'Create a router db object with dvr additions.' #NEWLINE# router [ 'distributed' ] = is_distributed_router ( router ) #NEWLINE# with context . session . begin ( subtransactions = True ) : #NEWLINE# #INDENT# router_db = super ( L3_NAT_with_dvr_db_mixin , self ) . _create_router_db ( context , router , tenant_id ) #NEWLINE# self . _process_extra_attr_router_create ( context , router_db , router ) #NEWLINE# return router_db