diff --git a/vmware_nsx/common/utils.py b/vmware_nsx/common/utils.py index 8f7370d98c..e17004aef7 100644 --- a/vmware_nsx/common/utils.py +++ b/vmware_nsx/common/utils.py @@ -76,6 +76,11 @@ def is_nsx_version_2_0_0(nsx_version): version.LooseVersion(v3_const.NSX_VERSION_2_0_0)) +def is_nsx_version_2_1_0(nsx_version): + return (version.LooseVersion(nsx_version) >= + version.LooseVersion(v3_const.NSX_VERSION_2_1_0)) + + def is_nsxv_version_6_2(nsx_version): return (version.LooseVersion(nsx_version) >= version.LooseVersion('6.2'))