def discover_meta(ipExpression=None, timeout=100): if ipExpression == None: nl = FederationServiceDiscovery.getInstance().discoverMeTA() else: inst = FederationServiceDiscovery.getInstance() inst.setTimeout(timeout) nl = inst.discoverMeTA(ipExpression) return arraylistToPylist(nl)
def list_meta(timeout=100): inst = FederationServiceDiscovery.getInstance() inst.setTimeout(timeout) return arraylistToPylist(inst.listMeTA())