MP2Policy migration: update limits

Change-Id: I04a34d5f97d9df7205956b04ff69ecd7d07277ee
This commit is contained in:
asarfaty 2020-09-14 15:36:40 +02:00 committed by Adit Sarfaty
parent 50afa71853
commit 3ee12ec0ad

View File

@ -75,7 +75,7 @@ MIGRATE_LIMIT_SWITCH_PROFILE = 1500
MIGRATE_LIMIT_LOGICAL_SWITCH = 500 MIGRATE_LIMIT_LOGICAL_SWITCH = 500
MIGRATE_LIMIT_LOGICAL_PORT = 1500 MIGRATE_LIMIT_LOGICAL_PORT = 1500
MIGRATE_LIMIT_NS_GROUP = 2000 MIGRATE_LIMIT_NS_GROUP = 2000
MIGRATE_LIMIT_SECTION_AND_RULES = 1500 MIGRATE_LIMIT_DFW_SECTION = 3000
MIGRATE_LIMIT_LB_SERVICE = 2000 MIGRATE_LIMIT_LB_SERVICE = 2000
MIGRATE_LIMIT_LB_VIRTUAL_SERVER = 2000 MIGRATE_LIMIT_LB_VIRTUAL_SERVER = 2000
MIGRATE_LIMIT_LB_MONITOR = 1500 MIGRATE_LIMIT_LB_MONITOR = 1500
@ -1046,8 +1046,8 @@ def migrate_dfw_sections(nsxlib, nsxpolicy, plugin):
policy_id_callback=get_policy_id_callback, policy_id_callback=get_policy_id_callback,
metadata_callback=add_metadata) metadata_callback=add_metadata)
migrate_resource(nsxlib, 'DFW_SECTION', entries, migrate_resource(nsxlib, 'DFW_SECTION', entries,
MIGRATE_LIMIT_SECTION_AND_RULES, MIGRATE_LIMIT_DFW_SECTION,
count_internals=True) count_internals=False)
def migrate_edge_firewalls(nsxlib, nsxpolicy, plugin): def migrate_edge_firewalls(nsxlib, nsxpolicy, plugin):