コード例 #1
0
ファイル: web_cluster.py プロジェクト: oberstet/cfxdb
 def __eq__(self, other):
     if not isinstance(other, self.__class__):
         return False
     if not Cluster.__eq__(self, other):
         return False
     if other.tcp_version != self.tcp_version:
         return False
     if other.tcp_port != self.tcp_port:
         return False
     if other.tcp_shared != self.tcp_shared:
         return False
     if other.tcp_interface != self.tcp_interface:
         return False
     if other.tcp_backlog != self.tcp_backlog:
         return False
     if other.tls_key != self.tls_key:
         return False
     if other.tls_certificate != self.tls_certificate:
         return False
     if other.tls_chain_certificates != self.tls_chain_certificates:
         return False
     if other.tls_ca_certificates != self.tls_ca_certificates:
         return False
     if other.tls_dhparam != self.tls_dhparam:
         return False
     if other.tls_ciphers != self.tls_ciphers:
         return False
     if other.http_client_timeout != self.http_client_timeout:
         return False
     if other.http_hsts != self.http_hsts:
         return False
     if other.http_hsts_max_age != self.http_hsts_max_age:
         return False
     if other.http_access_log != self.http_access_log:
         return False
     if other.http_display_tracebacks != self.http_display_tracebacks:
         return False
     return True
コード例 #2
0
 def __eq__(self, other):
     if not isinstance(other, self.__class__):
         return False
     if not Cluster.__eq__(self, other):
         return False
     return True