diff --git a/magnumclient/common/apiclient/base.py b/magnumclient/common/apiclient/base.py index 72754410..f291a1e1 100644 --- a/magnumclient/common/apiclient/base.py +++ b/magnumclient/common/apiclient/base.py @@ -521,6 +521,9 @@ class Resource(object): return self.id == other.id return self._info == other._info + def __ne__(self, other): + return not self.__eq__(other) + def is_loaded(self): return self._loaded