Package io.fathom.cloud.compute.actions

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


        }

        @Override
        public void configureFirewall(InstanceData instance, List<SecurityGroupData> securityGroups)
                throws CloudException {
            ConfigureFirewall configureFirewall = new ConfigureFirewall(GawkerHost.this, applydContext);

            // Write the security groups first, in case we have an error or
            // concurrent operation
            // (instances rules depend on security groups)
            for (SecurityGroupData securityGroup : securityGroups) {
                updateApplyd |= configureFirewall.updateConfig(securityGroup);
            }

            if (instance != null) {
                updateApplyd |= configureFirewall.updateConfig(instance);
            }
        }
View Full Code Here


            sftp.close();
        }

        @Override
        public void removeFirewallConfig(InstanceData instance) throws CloudException {
            ConfigureFirewall configureFirewall = new ConfigureFirewall(GawkerHost.this, applydContext);
            updateApplyd |= configureFirewall.removeConfig(instance);
        }
View Full Code Here

TOP

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

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.