def __eq__ (self, other): return \ NLRI.__eq__(self, other) and \ CIDR.__eq__(self, other) and \ self.path_info == other.path_info and \ self.labels == other.labels and \ self.rd == other.rd and \ self.nexthop == other.nexthop and \ self.action == other.action
def __eq__(self, other): return \ NLRI.__eq__(self, other) and \ CIDR.__eq__(self, other) and \ self.path_info == other.path_info and \ self.labels == other.labels and \ self.rd == other.rd and \ self.nexthop == other.nexthop and \ self.action == other.action
def __eq__(self, other): # Note: BaGPipe needs an advertise and a withdraw for the same # RD:prefix to result in objects that are equal for Python, # this is why the test below does not look at self.labels nor # self.nexthop or self.action return \ NLRI.__eq__(self, other) and \ CIDR.__eq__(self, other) and \ self.path_info == other.path_info and \ self.rd == other.rd
def __eq__ (self, other): return \ NLRI.__eq__(self, other) and \ CIDR.__eq__(self, other) and \ self.path_info == other.path_info and \ self.nexthop == other.nexthop