You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by dr...@apache.org on 2017/03/13 09:45:23 UTC
[1/2] brooklyn-docs git commit: Docs for
SharedLocationSecurityGroupCustomizer
Repository: brooklyn-docs
Updated Branches:
refs/heads/master 5c935ee8d -> 7d8508418
Docs for SharedLocationSecurityGroupCustomizer
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/f3eac3ae
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/f3eac3ae
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/f3eac3ae
Branch: refs/heads/master
Commit: f3eac3ae996467ae55962d96c3ad3cee1754a7b6
Parents: 5c935ee
Author: Ivana Yovcheva <iv...@gmail.com>
Authored: Tue Mar 7 12:07:51 2017 +0200
Committer: Ivana Yovcheva <iv...@gmail.com>
Committed: Fri Mar 10 18:47:21 2017 +0200
----------------------------------------------------------------------
guide/ops/locations/location-customizers.md | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/f3eac3ae/guide/ops/locations/location-customizers.md
----------------------------------------------------------------------
diff --git a/guide/ops/locations/location-customizers.md b/guide/ops/locations/location-customizers.md
index a0f21ed..405bb14 100644
--- a/guide/ops/locations/location-customizers.md
+++ b/guide/ops/locations/location-customizers.md
@@ -123,6 +123,23 @@ To register `JcloudsLocationCustomizer` instances programmatically, set the conf
config option when calling `location.obtain(options)`.
+The `SharedLocationSecurityGroupCustomizer` configures a shared security group on Jclouds locations.
+It only works on AWS and Azure ARM.
+
+To register a `SharedLocationSecurityGroupCustomizer` in YAML, you can use the config key `customizers`
+and configure it with `$brooklyn:object` and `object.fields`. For example:
+
+ location:
+ jclouds:aws-ec2:us-east-1:
+ customizers:
+ - $brooklyn:object:
+ type: org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer
+ object.fields: {locationName: "myloc", tcpPortRanges: ["22", "8080", "9443"], udpPortRanges: ["2001", "4013"], cidr: "82.40.153.101/24"}
+
+where `cidr` can be optionally set to restrict the range that the ports that are to be opened can be accessed from.
+
+
+
## Machine Location Customizers
*Warning: additional methods (i.e. customization hooks) may be added to the `MachineLocationCustomizer`
[2/2] brooklyn-docs git commit: This closes #152
Posted by dr...@apache.org.
This closes #152
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/7d850841
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/7d850841
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/7d850841
Branch: refs/heads/master
Commit: 7d85084189044fb1a070b4414f35a07e0f3b33d1
Parents: 5c935ee f3eac3a
Author: Duncan Godwin <dr...@googlemail.com>
Authored: Mon Mar 13 09:45:08 2017 +0000
Committer: Duncan Godwin <dr...@googlemail.com>
Committed: Mon Mar 13 09:45:08 2017 +0000
----------------------------------------------------------------------
guide/ops/locations/location-customizers.md | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
----------------------------------------------------------------------