#NEWLINE# def test_neutron_networking_parameters_baremetal( self ) : #NEWLINE# #INDENT# attributes_metadata = '\n            editable:\n                additional_components:\n                    ironic:\n                        value: %r\n                        type: "checkbox"\n        ' #NEWLINE# cluster = self . env . create_cluster ( api = False , net_provider = consts . CLUSTER_NET_PROVIDERS . neutron ) #NEWLINE# nw_params = NeutronNetworkConfigurationSerializer . serialize_network_params ( self ) #NEWLINE# self . assertNotIn ( 'baremetal_gateway' , nw_params ) #NEWLINE# self . assertNotIn ( 'baremetal_range' , nw_params ) #NEWLINE# Cluster . patch_attributes ( cluster , yaml . load ( ( attributes_metadata % True ) ) ) #NEWLINE# self . db . refresh ( cluster ) #NEWLINE# nw_params = NeutronNetworkConfigurationSerializer . serialize_network_params ( cluster ) #NEWLINE# self . assertIn ( 'baremetal_gateway' , nw_params ) #NEWLINE# self . assertIn ( 'baremetal_range' , nw_params )