@bottle.route(url_base + '/<tenant_id>/vim/<datacenter_id>/<item>', method='GET')
@bottle.route(url_base + '/<tenant_id>/vim/<datacenter_id>/<item>/<name>', method='GET')
def http_get_vim_items(tenant_id, datacenter_id, item, name=None):
    result, data = nfvo.vim_action_get(mydb, tenant_id, datacenter_id, item, name)
    if result < 0:
        print "http_get_vim_items error %d %s" % (-result, data)
        bottle.abort(-result, data)
    else:
        return format_out(data)
dataset/ETHPy150Open nfvlabs/openmano/openmano/httpserver.py/http_get_vim_items/original