commit 5f0eb2bc4cbe9100752c8399a03d23fdfdc09e58 from: mischa date: Fri Jul 08 20:16:16 2022 UTC added other FW exceptions to push-json.py, made panfwservices1.txt working (again) commit - fc5c1888d16ffb2630f2c06d2d971c3fd82a9079 commit + 5f0eb2bc4cbe9100752c8399a03d23fdfdc09e58 blob - d882d2839765cf229340b7daa5ed6a7495c62a8e blob + 1098232809613856f3e09846fc152aca1543f195 --- config/panfwservices1.txt +++ config/panfwservices1.txt @@ -4,7 +4,7 @@ "size": "LARGE", "segments": [ 1636, - 1673, + 1637, 1638 ], "billingTags": [ @@ -15,26 +15,16 @@ "maxInstanceCount": "1", "minInstanceCount": "1", "licenseType": "PAY_AS_YOU_GO", - "version": "9.1.3", + "version": "10.0.6", "tunnelProtocol": "IPSEC", "type": "VM-300", "credentialId": "", - "bundle": "PAN_VM_300_BUNDLE_1", + "bundle": "VM_SERIES_BUNDLE_2", "instances": [ { "name": "PAN-US-instance-1", "hostName": "PAN-US-instance-1", "credentialId": "" } - ], - "segmentOptions": { - "1636": { - "segmentId": 1, - "zonesToGroups": { - "DEFAULT": [ - "Users" - ] - } - } - } + ] } blob - 9ea64ac22f8a9d1c94eafbec9af153e65c3678b5 blob + 7f35d97e2fdca9c40f8ba4ce03c29161e2f42349 --- push-json.py +++ push-json.py @@ -87,29 +87,30 @@ headers = {'Content-Type': "application/json"} url_exceptions = { "saas": "internet", "pan": "panfw", - "ftntfwservices": "ftnt-fw-services", "chkpfwservices": "chkp-fw-services", - "ocivcnconnectors": "oci-vcn-connectors", "ftntfwservices": "ftnt-fw-services", + "ocivcnconnectors": "oci-vcn-connectors", "remoteaccessconnectors": "alkira-remote-access-connector-templates" } # URL Exceptions creating credentials service_credentials = { - "panfwservices": "pan", + "chkpfwservices": "chkp-fw", "ftntfwservices": "ftntfw", - "chkpfwservices": "chkp-fw" + "panfwservices": "pan" } # URL Exceptions creating instance credentials service_instance_credentials = { - "ftntfwservices": "ftntfw-", - "chkpfwservices": "chkp-fw-" + "chkpfwservices": "chkp-fw-", + "ftntfwservices": "ftntfw-" } # Global CIDR service_global_cidr = [ - "chkpfwservices" + "chkpfwservices", + "ftntfwservices", + "panfwservices" ] # Credential Types