#NEWLINE# @ utils . synchronized ( 'l3-agent-pd' ) #NEWLINE# def disable_subnet( self , router_id , subnet_id ) : #NEWLINE# #INDENT# prefix_update = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# router = self . routers . get ( prefix_update ) #NEWLINE# if ( not router ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# pd_info = router [ 'subnets' ] . get ( subnet_id ) #NEWLINE# if ( not pd_info ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . _delete_pd ( router , pd_info ) #NEWLINE# prefix_update [ subnet_id ] = l3_constants . PROVISIONAL_IPV6_PD_PREFIX #NEWLINE# del router [ 'subnets' ] [ subnet_id ] #NEWLINE# LOG . debug ( 'Update server with prefixes: %s' , prefix_update ) #NEWLINE# self . notifier ( self . context , prefix_update )