Merge "NSXv3: Add util to check version 2.1.0"

This commit is contained in:
Jenkins 2017-06-18 13:10:13 +00:00 committed by Gerrit Code Review
commit b7a09fc0e8
1 changed files with 5 additions and 0 deletions

View File

@ -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'))