@profiler.trace
@memoized_with_request(novaclient)
def list_extensions(nova_api):
 blacklist = set(getattr(settings, 'OPENSTACK_NOVA_EXTENSIONS_BLACKLIST', []))
 return tuple((extension for extension in nova_list_extensions.ListExtManager(nova_api).show_all() if (extension.name not in blacklist)))

@ profiler . trace @ memoized_with_request ( novaclient ) def list_extensions ( nova_api ) : blacklist = set ( getattr ( settings , 'OPENSTACK_NOVA_EXTENSIONS_BLACKLIST' , [ ] ) ) return tuple ( ( extension for extension in nova_list_extensions . ListExtManager ( nova_api ) . show_all ( ) if ( extension . name not in blacklist ) ) )
list all nova extensions .