Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/brooklyn-docs/pull/119#discussion_r86766927
  
    --- Diff: guide/ops/locations/customizing_location_ports.md ---
    @@ -0,0 +1,34 @@
    +---
    +title: Customizing Location Ports
    +layout: website-normal
    +---
    +
    +## Opening ports during startup.
    +
    +Use the 
`org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer`
 location customizer.
    +Example:
    +
    +    name: ports @ AWS
    +    location:
    +      jclouds:aws-ec2:us-west-2:
    +        customizers:
    +        - $brooklyn:object:
    +            type: 
org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer
    +            object.fields: {tcpPortRanges: ["900-910", "915", "22"], 
udpPortRanges: ["100","200-300"], cidr: "82.40.153.101/24"}
    +        - $brooklyn:object:
    +            type: 
org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer
    +            object.fields: {tcpPortRanges: ["900-910", "915", "22"], 
udpPortRanges: ["100","200-300"], cidr: "10.40.153.101/16"}
    --- End diff --
    
    Perhaps just show the one example `SharedLocationSecurityGroupCustomizer`. 
The duplication (to open it to the second cird, with all the same ports) looks 
cumbersome and is probably not the most common pattern.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to