#NEWLINE# def _update_ha_redundancy_level( self , context , logical_global_router , delta ) : #NEWLINE# #INDENT# with context . session . begin ( subtransactions = True ) : #NEWLINE# #INDENT# log_g_router_db = self . _l3_plugin . _get_router ( context , logical_global_router [ 'id' ] ) #NEWLINE# log_g_router_db . ha_settings . redundancy_level += delta #NEWLINE# context . session . add ( log_g_router_db . ha_settings )