Package io.fathom.cloud.compute.networks

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


        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

Related Classes of io.fathom.cloud.compute.networks.NetworkPool

Copyright © 2018 www.massapicom. 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.