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:18:44 UTC
[incubator-dlab] branch DLAB-1911 updated: [DLAB-1911]: changed
inbound rules for ssn and edge in azure
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 434f844 [DLAB-1911]: changed inbound rules for ssn and edge in azure
434f844 is described below
commit 434f844fbbc64bb7c7836af2f79ffe88bd76495c
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Sep 29 15:18:26 2020 +0300
[DLAB-1911]: changed inbound rules for ssn and edge in azure
---
.../src/general/scripts/azure/project_prepare.py | 37 ++--------------------
.../src/general/scripts/azure/ssn_prepare.py | 4 +--
2 files changed, 4 insertions(+), 37 deletions(-)
diff --git a/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
index 6a74870..152d419 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/project_prepare.py
@@ -200,47 +200,14 @@ if __name__ == "__main__":
"name": "in-2",
"protocol": "Tcp",
"source_port_range": "*",
- "destination_port_range": "22",
- "source_address_prefix": project_conf['allowed_ip_cidr'],
+ "destination_port_ranges": ["3128", "80", "443", "22"],
+ "source_address_prefixes": project_conf['allowed_ip_cidr'],
"destination_address_prefix": "*",
"access": "Allow",
"priority": 110,
"direction": "Inbound"
},
{
- "name": "in-3",
- "protocol": "Tcp",
- "source_port_range": "*",
- "destination_port_range": "3128",
- "source_address_prefix": project_conf['allowed_ip_cidr'],
- "destination_address_prefix": "*",
- "access": "Allow",
- "priority": 120,
- "direction": "Inbound"
- },
- {
- "name": "in-4",
- "protocol": "Tcp",
- "source_port_range": "*",
- "destination_port_range": "80",
- "source_address_prefix": project_conf['allowed_ip_cidr'],
- "destination_address_prefix": "*",
- "access": "Allow",
- "priority": 130,
- "direction": "Inbound"
- },
- {
- "name": "in-5",
- "protocol": "Tcp",
- "source_port_range": "*",
- "destination_port_range": "443",
- "source_address_prefix": project_conf['allowed_ip_cidr'],
- "destination_address_prefix": "*",
- "access": "Allow",
- "priority": 140,
- "direction": "Inbound"
- },
- {
"name": "out-1",
"protocol": "Tcp",
"source_port_range": "*",
diff --git a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
index 1c41db5..2a2bf19 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
@@ -197,8 +197,8 @@ if __name__ == "__main__":
"name": "in-1",
"protocol": "Tcp",
"source_port_range": "*",
- "destination_port_range": ["80", "443", "22"],
- "source_address_prefix": ssn_conf['allowed_ip_cidr'],
+ "destination_port_ranges": ["80", "443", "22"],
+ "source_address_prefixes": ssn_conf['allowed_ip_cidr'],
"destination_address_prefix": "*",
"access": "Allow",
"priority": 100,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org