Merge "NSXv3: Add util to check version 2.1.0"
This commit is contained in:
commit
b7a09fc0e8
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user