<s> from neutron_lib . api import converters <EOL> from neutron_lib import constants <EOL> from neutron . api import extensions <EOL> from neutron . api . v2 import attributes <EOL> EXTENDED_ATTRIBUTES_2_0 = { <EOL> attributes . SUBNETS : { <EOL> '<STR_LIT>' : { '<STR_LIT>' : True , <EOL> '<STR_LIT>' : False , <EOL> '<STR_LIT:default>' : False , <EOL> '<STR_LIT>' : converters . convert_to_boolean , <EOL> '<STR_LIT>' : False , } , <EOL> } , <EOL> } <EOL> class Default_subnetpools ( extensions . ExtensionDescriptor ) : <EOL> """<STR_LIT>""" <EOL> @ classmethod <EOL> def get_name ( cls ) : <EOL> return "<STR_LIT>" <EOL> @ classmethod <EOL> def get_alias ( cls ) : <EOL> return "<STR_LIT>" <EOL> @ classmethod <EOL> def get_description ( cls ) : <EOL> return "<STR_LIT>" <EOL> @ classmethod <EOL> def get_updated ( cls ) : <EOL> return "<STR_LIT>" <EOL> def get_required_extensions ( self ) : <EOL> return [ constants . SUBNET_ALLOCATION_EXT_ALIAS ] <EOL> def get_extended_resources ( self , version ) : <EOL> if version == "<STR_LIT>" : <EOL> return EXTENDED_ATTRIBUTES_2_0 <EOL> else : <EOL> return { } </s>
