#NEWLINE# def check_neutron_networking_parameters( self , floating_ranges ) : #NEWLINE# #INDENT# cluster = self . env . create_cluster ( api = False , net_provider = consts . CLUSTER_NET_PROVIDERS . neutron ) #NEWLINE# self . db . delete ( cluster . network_config ) #NEWLINE# self . network_config [ 'floating_ranges' ] = floating_ranges #NEWLINE# self . network_config [ 'cluster_id' ] = cluster . id #NEWLINE# nc = NeutronConfig ( ** self . network_config ) #NEWLINE# self . db . add ( nc ) #NEWLINE# self . db . flush ( ) #NEWLINE# self . db . refresh ( cluster ) #NEWLINE# nw_params = NeutronNetworkConfigurationSerializer . serialize_network_params ( cluster ) #NEWLINE# self . network_config . pop ( 'cluster_id' ) #NEWLINE# self . assertItemsEqual ( nw_params , self . network_config )