def _get_vadapter_values(output, mode, vadapter_id): # Get all the attributes from the database ad if vadapter_id != "ALL": input = {'id' : int(vadapter_id)} elif vadapter_id == "ALL": input = {} try: print input vadapter_info = vfm.py_vfm_vadapter_select_inventory(input) #print vadapter_info except e: print e for (id, value) in vadapter_info.items(): _vadapter_spec(output, id, value) return output
def inventory(): try: result = vfm.py_vfm_vadapter_select_inventory({}) print result except StandardError, e: print e
def inventory(): try: result = vfm.py_vfm_vadapter_select_inventory({}) print result except StandardError, e: print e