Пример #1
0
	def __eq__ (self, other):
		return \
			NLRI.__eq__(self,other) and \
			self.action == other.action and \
			self.nexthop == other.action and \
			self.origin == other.origin and \
			self.rt == other.rt
Пример #2
0
	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
Пример #3
0
 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
Пример #4
0
	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
Пример #5
0
 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
Пример #6
0
	def __eq__ (self, other):
		return \
			NLRI.__eq__(self,other) and \
			self.origin == other.origin and \
			self.rt == other.rt
Пример #7
0
	def __eq__ (self, other):
		return \
			NLRI.__eq__(self, other) and \
			self.cidr == other.cidr and \
			self.path_info == other.path_info and \
			self.nexthop == other.nexthop
Пример #8
0
 def __eq__(self, other):
     return \
      NLRI.__eq__(self, other) and \
      self.cidr == other.cidr and \
      self.path_info == other.path_info and \
      self.nexthop == other.nexthop
Пример #9
0
 def __eq__(self, other):
     return \
      NLRI.__eq__(self,other) and \
      self.origin == other.origin and \
      self.rt == other.rt
Пример #10
0
	def __eq__ (self, other):
		return \
			NLRI.__eq__(self,other) and \
			self.CODE == other.CODE and \
			self.packed == other.packed