From 3ee12ec0adb868a17f5d4fdee2d6cb7e21b25967 Mon Sep 17 00:00:00 2001 From: asarfaty Date: Mon, 14 Sep 2020 15:36:40 +0200 Subject: [PATCH] MP2Policy migration: update limits Change-Id: I04a34d5f97d9df7205956b04ff69ecd7d07277ee --- vmware_nsx/shell/admin/plugins/nsxv3/resources/migration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vmware_nsx/shell/admin/plugins/nsxv3/resources/migration.py b/vmware_nsx/shell/admin/plugins/nsxv3/resources/migration.py index c0aeed9597..8857c31cb5 100644 --- a/vmware_nsx/shell/admin/plugins/nsxv3/resources/migration.py +++ b/vmware_nsx/shell/admin/plugins/nsxv3/resources/migration.py @@ -75,7 +75,7 @@ MIGRATE_LIMIT_SWITCH_PROFILE = 1500 MIGRATE_LIMIT_LOGICAL_SWITCH = 500 MIGRATE_LIMIT_LOGICAL_PORT = 1500 MIGRATE_LIMIT_NS_GROUP = 2000 -MIGRATE_LIMIT_SECTION_AND_RULES = 1500 +MIGRATE_LIMIT_DFW_SECTION = 3000 MIGRATE_LIMIT_LB_SERVICE = 2000 MIGRATE_LIMIT_LB_VIRTUAL_SERVER = 2000 MIGRATE_LIMIT_LB_MONITOR = 1500 @@ -1046,8 +1046,8 @@ def migrate_dfw_sections(nsxlib, nsxpolicy, plugin): policy_id_callback=get_policy_id_callback, metadata_callback=add_metadata) migrate_resource(nsxlib, 'DFW_SECTION', entries, - MIGRATE_LIMIT_SECTION_AND_RULES, - count_internals=True) + MIGRATE_LIMIT_DFW_SECTION, + count_internals=False) def migrate_edge_firewalls(nsxlib, nsxpolicy, plugin):