Package brooklyn.location.jclouds.networking

Examples of brooklyn.location.jclouds.networking.JcloudsLocationSecurityGroupCustomizer


            if (!(getLocation() instanceof JcloudsSshMachineLocation)) {
                log.info("{} not running in a JcloudsSshMachineLocation, not configuring extra security groups", entity);
                return;
            }
            JcloudsSshMachineLocation location = (JcloudsSshMachineLocation) getLocation();
            JcloudsLocationSecurityGroupCustomizer customizer = JcloudsLocationSecurityGroupCustomizer.getInstance(getEntity().getApplicationId());
            Collection<IpPermission> permissions = getIpPermissions(customizer);
            log.debug("Applying custom security groups to {}: {}", location, permissions);
            customizer.addPermissionsToLocation(location, permissions);
        }
    }
View Full Code Here

TOP

Related Classes of brooklyn.location.jclouds.networking.JcloudsLocationSecurityGroupCustomizer

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.