25107447 extend security group rules to include solaris admin ports
authorVardhnee Ramanujam Ravi <vardhnee.ramanujam.ravi@oracle.com>
Tue, 22 Nov 2016 12:30:56 -0800
changeset 7373 43fd8b285254
parent 7372 4d6f8093de18
child 7374 dbcebcd93e38
25107447 extend security group rules to include solaris admin ports
components/openstack/horizon/files/solaris_security_group_rules.py
components/openstack/horizon/horizon.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/openstack/horizon/files/solaris_security_group_rules.py	Tue Nov 22 12:30:56 2016 -0800
@@ -0,0 +1,23 @@
+# Extend default set of security group rules that comes with Openstack
+# to include Solaris admin ports.
+
+SECURITY_GROUP_RULES.update({
+    'rad_tls': {
+        'name': 'RAD TLS',
+        'ip_protocol': 'tcp',
+        'from_port': '12302',
+        'to_port': '12302',
+    },
+    'rad_gss': {
+        'name': 'RAD GSS',
+        'ip_protocol': 'tcp',
+        'from_port': '6789',
+        'to_port': '6789',
+    },
+    'analytics_bui': {
+        'name': 'Analytics BUI',
+        'ip_protocol': 'tcp',
+        'from_port': '6787',
+        'to_port': '6787',
+    },
+})
--- a/components/openstack/horizon/horizon.p5m	Tue Nov 22 07:30:22 2016 -0800
+++ b/components/openstack/horizon/horizon.p5m	Tue Nov 22 12:30:56 2016 -0800
@@ -47,6 +47,8 @@
     path=etc/openstack_dashboard/local_settings.d/_10_set_custom_theme.py.example
 file openstack_dashboard/local/local_settings.d/_20_integration_tests_scaffolds.py.example \
     path=etc/openstack_dashboard/local_settings.d/_20_integration_tests_scaffolds.py.example
+file files/solaris_security_group_rules.py \
+    path=etc/openstack_dashboard/local_settings.d/solaris_security_group_rules.py
 file files/local_settings.py path=etc/openstack_dashboard/local_settings.py \
     mode=0644 overlay=allow pkg.tmp.autopyc=false preserve=renameold
 file files/horizon.auth_attr \