Merge "Update NSX ver 3.0 features"
This commit is contained in:
commit
aa3508fdc0
@ -146,7 +146,6 @@ NSX_VERSION_2_2_0 = '2.2.0'
|
||||
NSX_VERSION_2_3_0 = '2.3.0'
|
||||
NSX_VERSION_2_4_0 = '2.4.0'
|
||||
NSX_VERSION_2_5_0 = '2.5.0'
|
||||
NSX_VERSION_2_6_0 = '2.6.0'
|
||||
NSX_VERSION_3_0_0 = '3.0.0'
|
||||
|
||||
# Features available depending on the NSX Manager backend version
|
||||
|
@ -161,10 +161,11 @@ class NsxPolicyLib(lib.NsxLibBase):
|
||||
if (feature == nsx_constants.FEATURE_ENS_WITH_QOS):
|
||||
return True
|
||||
|
||||
if (version.LooseVersion(self.get_version()) >=
|
||||
version.LooseVersion(nsx_constants.NSX_VERSION_2_6_0)):
|
||||
if feature == nsx_constants.FEATURE_PARTIAL_UPDATES:
|
||||
return True
|
||||
# TODO(asarfaty): Uncomment this once partial updates are supported
|
||||
# if (version.LooseVersion(self.get_version()) >=
|
||||
# version.LooseVersion(nsx_constants.NSX_VERSION_3_0_0)):
|
||||
# if feature == nsx_constants.FEATURE_PARTIAL_UPDATES:
|
||||
# return True
|
||||
|
||||
return (feature == nsx_constants.FEATURE_NSX_POLICY)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user