Ejemplo n.º 1
0
 def __eq__(self, other):
     """
     @summary: Overrides the default equals
     @param other: Flavor object to compare with
     @type other: Flavor
     @return: True if Flavor objects are equal, False otherwise
     @rtype: bool
     """
     return EqualityTools.are_objects_equal(self, other)
Ejemplo n.º 2
0
 def __eq__(self, other):
     """
     @summary: Overrides the default equals
     @param other: Server object to compare with
     @type other: Server
     @return: True if Server objects are equal, False otherwise
     @rtype: bool
     """
     return EqualityTools.are_objects_equal(self, other, ["admin_pass", "updated", "progress"])
Ejemplo n.º 3
0
 def __eq__(self, other):
     """
     @summary: Overrides the default equals
     @param other: Image object to compare with
     @type other: Image
     @return: True if Image objects are equal, False otherwise
     @rtype: bool
     """
     return EqualityTools.are_objects_equal(self, other)
Ejemplo n.º 4
0
 def __eq__(self, other):
     """
     :summary: Overrides the default equals
     :param other: Links object to compare with
     :type other: Links
     :return: True if Links objects are equal, False otherwise
     :rtype: bool
     """
     return EqualityTools.are_objects_equal(self, other)
Ejemplo n.º 5
0
 def __eq__(self, other):
     """
     :summary: Overrides the default equals
     :param other: Links object to compare with
     :type other: Links
     :return: True if Links objects are equal, False otherwise
     :rtype: bool
     """
     return EqualityTools.are_objects_equal(self, other)
Ejemplo n.º 6
0
 def __eq__(self, other):
     """
     @summary: Overrides the default equals
     @param other: Server object to compare with
     @type other: Server
     @return: True if Server objects are equal, False otherwise
     @rtype: bool
     """
     return EqualityTools.are_objects_equal(
         self, other, ['admin_pass', 'updated', 'progress'])
Ejemplo n.º 7
0
 def __ne__(self, other):
     """
     @summary: Overrides the default not-equals
     @param other: SecurityGroupRule object to compare with
     @type other: SecurityGroupRule
     @return: True if SecurityGroupRule objects
      are not equal, False otherwise
     @rtype: bool
     """
     return not EqualityTools.are_objects_equal(self, other)
Ejemplo n.º 8
0
 def __eq__(self, other):
     return EqualityTools.are_objects_equal(self, other)
Ejemplo n.º 9
0
 def __eq__(self, other):
     return EqualityTools.are_objects_equal(self, other,
                                            ['admin_pass', 'updated',
                                             'progress'])
Ejemplo n.º 10
0
 def __eq__(self, other):
     return EqualityTools.are_objects_equal(self, other, ["admin_pass", "updated", "progress"])