예제 #1
0
파일: rtc.py 프로젝트: tomwalsh/exabgp
	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
파일: mpls.py 프로젝트: Shmuma/exabgp
	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
파일: mpls.py 프로젝트: Shmuma/exabgp
	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
파일: rtc.py 프로젝트: CadeLaRen/exabgp
	def __eq__ (self, other):
		return \
			NLRI.__eq__(self,other) and \
			self.origin == other.origin and \
			self.rt == other.rt
예제 #7
0
파일: inet.py 프로젝트: benagricola/exabgp
	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
파일: inet.py 프로젝트: doddt/exabgp
 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
파일: nlri.py 프로젝트: yokoi-h/exabgp
	def __eq__ (self, other):
		return \
			NLRI.__eq__(self,other) and \
			self.CODE == other.CODE and \
			self.packed == other.packed