You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2020/09/30 07:45:52 UTC
[incubator-datalab] branch DLAB-1911 updated: [DLAB-1911]: tmp
commented creation of all ssn sg rules but one
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-datalab.git
The following commit(s) were added to refs/heads/DLAB-1911 by this push:
new c011087 [DLAB-1911]: tmp commented creation of all ssn sg rules but one
c011087 is described below
commit c0110879f5e3b4dfed31199fb0606e8e9de78470
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Sep 30 10:45:37 2020 +0300
[DLAB-1911]: tmp commented creation of all ssn sg rules but one
---
.../src/general/scripts/azure/ssn_prepare.py | 66 +++++++++++-----------
1 file changed, 32 insertions(+), 34 deletions(-)
diff --git a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
index 518cdcc..45fad8b 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_prepare.py
@@ -203,40 +203,38 @@ if __name__ == "__main__":
"access": "Allow",
"priority": 100,
"direction": "Inbound"
- },
- {
- "name": "in-2",
- "protocol": "Tcp",
- "source_port_range": "*",
- "destination_port_range": "443",
- "source_address_prefix": "*",
- "destination_address_prefix": "*",
- "access": "Allow",
- "priority": 110,
- "direction": "Inbound"
- },
- {
- "name": "in-3",
- "protocol": "Tcp",
- "source_port_range": "*",
- "destination_port_range": "22",
- "source_address_prefix": "*",
- "destination_address_prefix": "*",
- "access": "Allow",
- "priority": 120,
- "direction": "Inbound"
- },
- {
- "name": "out-1",
- "protocol": "*",
- "source_port_range": "*",
- "destination_port_range": "*",
- "source_address_prefix": "*",
- "destination_address_prefix": "*",
- "access": "Allow",
- "priority": 100,
- "direction": "Outbound"
- }
+ }#,
+ #{
+ # "name": "in-2",
+ # "protocol": "Tcp",
+ # "source_port_range": "*",
+ # "destination_port_range": "443",
+ # "source_address_prefix": "*",
+ # "destination_address_prefix": "*",
+ # "access": "Allow",
+ # "priority": 110,
+ # "direction": "Inbound"
+ #},
+ #{
+ # "source_port_range": "*",
+ # "destination_port_range": "22",
+ # "source_address_prefix": "*",
+ # "destination_address_prefix": "*",
+ # "access": "Allow",
+ # "priority": 120,
+ # "direction": "Inbound"
+ #},
+ #{
+ # "name": "out-1",
+ # "protocol": "*",
+ # "source_port_range": "*",
+ # "destination_port_range": "*",
+ # "source_address_prefix": "*",
+ # "destination_address_prefix": "*",
+ # "access": "Allow",
+ # "priority": 100,
+ # "direction": "Outbound"
+ #}
]
params = "--resource_group_name {} --security_group_name {} --region {} --tags '{}' --list_rules '{}'".\
format(ssn_conf['resource_group_name'], ssn_conf['security_group_name'], ssn_conf['region'],
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org