parameters: (self, **kwargs)
docstring: Show implemented commands for the OSD id
docstring_summary: Show implemented commands for the OSD id
docstring_tokens: Show implemented commands for the OSD id
function: def get(self, **kwargs):
          """
          Show implemented commands for the OSD id
          """
          osd = context.instance.get_osd_by_id(self.osd_id)
  
          if not osd:
              response.status = 500
              return {'message': 'Failed to identify the OSD id "{}"'.format(self.osd_id)}
  
          if osd['up']:
              return common.OSD_IMPLEMENTED_COMMANDS
          else:
              return []
function_tokens: def get ( self , * * kwargs ) : osd = context . instance . get_osd_by_id ( self . osd_id ) if not osd : response . status = 500 return { 'message' : 'Failed to identify the OSD id "{}"' . format ( self . osd_id ) } if osd [ 'up' ] : return common . OSD_IMPLEMENTED_COMMANDS else : return [ ]