Skip to content

Commit ca1d1fe

Browse files
committed
normalize security-zone
1 parent a74c98a commit ca1d1fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

roles/importer/files/importer/checkpointR8x/cp_network.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ def collect_nw_objects(object_table, nw_objects, debug_level=0, mgm_id=0):
7171
obj_type = 'group'
7272
# TODO: handle exclusion groups correctly
7373

74+
if obj_type == 'security-zone':
75+
first_ip = '0.0.0.0/32'
76+
last_ip = '255.255.255.255/32'
77+
obj_type = 'network'
78+
7479
if obj_type == 'group':
7580
first_ip = None
7681
last_ip = None

0 commit comments

Comments
 (0)