diff --git a/vmware_nsxlib/v3/policy/core_defs.py b/vmware_nsxlib/v3/policy/core_defs.py index 808602e9..ee4274a0 100644 --- a/vmware_nsxlib/v3/policy/core_defs.py +++ b/vmware_nsxlib/v3/policy/core_defs.py @@ -1630,6 +1630,8 @@ class Condition(object): if self.scope_operator is not None: if (version.LooseVersion(self.nsx_version) >= version.LooseVersion(nsx_constants.NSX_VERSION_3_2_0)): + if self.scope_operator == 'NOTEQUALS': + del body['operator'] body['scope_operator'] = self.scope_operator else: LOG.warning(