def list_names(self, listable_type):
        list_str = '%s list %s name' % (self.options, listable_type)
        (options, args) = self.parser.parse_args(shlex.split(list_str))
        mgmt = Management(options, args[1:])
        uri = mgmt.list_show_uri(LISTABLE, 'list', mgmt.args[1:])
        output_json = mgmt.get(uri)
        listables = simplejson.loads(output_json)
        return listables
dataset/ETHPy150Open ooici/pyon/putil/rabbithelper.py/RabbitManagementHelper.list_names/original