8283848586878889909192
} logger.info("Adding VMM node " + hostname); try { final ResourcepoolEntry entry = nodeManagement.addNode(hostname, node.getPoolName(), node.getNetworkAssociations(), node.getMemory(), node.isActive());
148149150151152153154155156157158
} logger.debug("Listing VMM node " + hostname); final ResourcepoolEntry entry; try { entry = nodeManagement.getNode(hostname); } catch (NodeManagementDisabled e) { throw new RemoteException(e.getMessage()); } catch (WorkspaceDatabaseException e) {
188189190191192193194195196197198
} logger.info("Updating VMM node: " + hostname); try { final ResourcepoolEntry entry; try { entry = nodeManagement.updateNode( hostname, pool, networks, memory, active); } catch (NodeManagementDisabled e) { throw new RemoteException(e.getMessage());
21242125212621272128212921302131213221332134
} List<ResourcepoolEntry> list = new ArrayList<ResourcepoolEntry>(); do { final ResourcepoolEntry entry = new ResourcepoolEntry(rs.getString(1), rs.getString(2), rs.getInt(4), rs.getInt(5), rs.getInt(7), rs.getString(3),
21742175217621772178217921802181218221832184
if (rs == null || !rs.next()) { return null; } return new ResourcepoolEntry(rs.getString(1), rs.getString(2), rs.getInt(4), rs.getInt(5), rs.getInt(7), rs.getString(3),
257325742575257625772578257925802581258225832584
if (assocs == null) { logger.error("assocs cannot be null for resource pool entry"); continue; } ResourcepoolEntry entry = new ResourcepoolEntry(name, hostname, rs.getInt(4), rs.getInt(5), rs.getInt(7), assocs,