<s> from neutron_lib . api import converters <EOL> from neutron_lib import exceptions as nexception <EOL> from neutron . _i18n import _ <EOL> from neutron . api import extensions <EOL> class ExternalNetworkInUse ( nexception . InUse ) : <EOL> message = _ ( "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> EXTERNAL = '<STR_LIT>' <EOL> EXTENDED_ATTRIBUTES_2_0 = { <EOL> '<STR_LIT>' : { EXTERNAL : { '<STR_LIT>' : True , <EOL> '<STR_LIT>' : True , <EOL> '<STR_LIT:default>' : False , <EOL> '<STR_LIT>' : True , <EOL> '<STR_LIT>' : converters . convert_to_boolean , <EOL> '<STR_LIT>' : True , <EOL> '<STR_LIT>' : True } } } <EOL> class External_net ( extensions . ExtensionDescriptor ) : <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_extended_resources ( self , version ) : <EOL> if version == "<STR_LIT>" : <EOL> return EXTENDED_ATTRIBUTES_2_0 <EOL> else : <EOL> return { } </s>
