#NEWLINE# def _apply_provider_rule( self , context , ports ) : #NEWLINE# #INDENT# network_ids = self . _select_network_ids ( ports ) #NEWLINE# ips_dhcp = self . _select_dhcp_ips_for_network_ids ( context , network_ids ) #NEWLINE# ips_ra = self . _select_ra_ips_for_network_ids ( context , network_ids ) #NEWLINE# for port in ports . values ( ) : #NEWLINE# #INDENT# self . _add_ingress_ra_rule ( port , ips_ra ) #NEWLINE# self . _add_ingress_dhcp_rule ( port , ips_dhcp )