Package io.fathom.cloud.compute.actions

Examples of io.fathom.cloud.compute.actions.ConfigureVirtualIp


        @Override
        public void attachVip(InstanceData instance, VirtualIp vip) throws CloudException {
            GawkerHost host = GawkerHost.this;

            VirtualIpMapper mapper = VirtualIpMapper.build(host, instance, vip);
            ConfigureVirtualIp configureVip = new ConfigureVirtualIp(host, applydContext);

            String hostIp = mapper.mapIp(host, instance, vip);
            updateApplyd |= configureVip.updateConfig(instance, vip, hostIp);
        }
View Full Code Here


        @Override
        public void detachVip(InstanceData instance, VirtualIp vip) throws CloudException {
            GawkerHost host = GawkerHost.this;

            VirtualIpMapper mapper = VirtualIpMapper.build(host, instance, vip);
            ConfigureVirtualIp configureVip = new ConfigureVirtualIp(host, applydContext);

            mapper.unmapIp(host, instance, vip);
            updateApplyd |= configureVip.removeConfig(vip);
        }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.compute.actions.ConfigureVirtualIp

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.