@profiler.trace
def flavor_get_extras(request, flavor_id, raw=False, flavor=None):
 if (flavor is None):
  flavor = novaclient(request).flavors.get(flavor_id)
 extras = flavor.get_keys()
 if raw:
  return extras
 return [FlavorExtraSpec(flavor_id, key, value) for (key, value) in extras.items()]

@ profiler . trace def flavor_get_extras ( request , flavor_id , raw = False , flavor = None ) : if ( flavor is None ) : flavor = novaclient ( request ) . flavors . get ( flavor_id ) extras = flavor . get_keys ( ) if raw : return extras return [ FlavorExtraSpec ( flavor_id , key , value ) for ( key , value ) in extras . items ( ) ]
get flavor extra specs .