#NEWLINE# def _configure_network_feature_enabled( self , section_name = 'network-feature-enabled' ) : #NEWLINE# #INDENT# if ( 'neutron' in self . available_services ) : #NEWLINE# #INDENT# neutronclient = self . clients . neutron ( ) #NEWLINE# cl_ver = nc_version . __version__ #NEWLINE# if ( version . StrictVersion ( cl_ver ) >= version . StrictVersion ( '4.1.0' ) ) : #NEWLINE# #INDENT# extensions = neutronclient . list_ext ( 'extensions' , '/extensions' , retrieve_all = True ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# extensions = neutronclient . list_ext ( '/extensions' ) #NEWLINE# #UNINDENT# aliases = [ aliases_str [ 'alias' ] for ext in extensions [ 'extensions' ] ] #NEWLINE# aliases_str = ',' . join ( aliases ) #NEWLINE# self . conf . set ( section_name , 'api_extensions' , aliases_str )