You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/09/29 12:47:45 UTC

[incubator-dlab] branch DLAB-1911 updated: [DLAB-1911]: changed azure ssn and edge sg rules

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DLAB-1911
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1911 by this push:
     new 7246869  [DLAB-1911]: changed azure ssn and edge sg rules
7246869 is described below

commit 7246869b55c727b3752985f0ba244d8dbb950cff
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Sep 29 15:47:31 2020 +0300

    [DLAB-1911]: changed azure ssn and edge sg rules
---
 .../src/general/scripts/azure/ssn_prepare.py       | 25 ++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
index 8dd4032..faf7819 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
@@ -197,15 +197,36 @@ if __name__ == "__main__":
                     "name": "in-1",
                     "protocol": "Tcp",
                     "source_port_range": "*",
-                    "DestinationPortRanges": ["80", "443", "22"],
+                    "destination_port_range": "80",
                     "source_address_prefixes": ssn_conf['allowed_ip_cidr'],
-                    "source_address_prefix": "*",
                     "destination_address_prefix": "*",
                     "access": "Allow",
                     "priority": 100,
                     "direction": "Inbound"
                 },
                 {
+                    "name": "in-2",
+                    "protocol": "Tcp",
+                    "source_port_range": "*",
+                    "destination_port_range": "443",
+                    "source_address_prefixes": ssn_conf['allowed_ip_cidr'],
+                    "destination_address_prefix": "*",
+                    "access": "Allow",
+                    "priority": 110,
+                    "direction": "Inbound"
+                },
+                {
+                    "name": "in-3",
+                    "protocol": "Tcp",
+                    "source_port_range": "*",
+                    "destination_port_range": "22",
+                    "source_address_prefixes": ssn_conf['allowed_ip_cidr'],
+                    "destination_address_prefix": "*",
+                    "access": "Allow",
+                    "priority": 120,
+                    "direction": "Inbound"
+                },
+                {
                     "name": "out-1",
                     "protocol": "*",
                     "source_port_range": "*",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org