def getRms(ip): try: return rms.rms_product(ip) except Exception,e: return e
def rms_extra_keys(key_names_index, key): try: return (rms.rms_product(key[key_names_index['reqip']]), ) except: return 'None'