Examples of NetworkPool


Examples of io.fathom.cloud.compute.networks.NetworkPool

        asyncTasks.detachFloatingIp(project, instance, new VirtualIp(vip.getPoolData(), updated));
    }

    public VirtualIp allocateFloatingIp(Project project, VirtualIpPoolData poolData) throws CloudException {
        NetworkPool pool = networkPools.buildPool(poolData);

        NetworkPoolAllocation allocation = networkPools.allocateIp(project, pool);

        return ((MappableIpNetworkPool.Allocation) allocation).getVirtualIp();
    }
View Full Code Here

Examples of io.fathom.cloud.compute.networks.NetworkPool

        if (vip.getData().hasInstanceId()) {
            // TODO: Auto-detach?
            throw new WebApplicationException(Status.CONFLICT);
        }

        NetworkPool pool = networkPools.buildPool(vip.getPoolData());
        pool.markIpNotAllocated(vip);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.