Пример #1
0
 def __str__(self):
     return "MP_UNREACH_NLRI Family %s %d NLRI(s)" % (Address.__str__(
         self.routes[0]), len(self.routes))
Пример #2
0
	def __str__ (self):
		return "MP_UNREACH_NLRI Family %s %d NLRI(s)" % (Address.__str__(self.routes[0]),len(self.routes))
Пример #3
0
 def __init__(self, nlri):
     self.nlri = nlri
     self.__address = Address(nlri.afi, nlri.safi)
     self.attributes = Attributes()
Пример #4
0
	def __str__ (self):
		return "%s %s%s" % (Address.__str__(self.nlri),str(self.nlri),str(self.attributes))
Пример #5
0
	def __init__ (self,afi,safi):
		Attributes.__init__(self)
		Address.__init__(self,afi,safi)
		self.rules = {}
Пример #6
0
	def __init__ (self,afi,safi):
		Address.__init__(self,AFI(afi),SAFI(safi))
Пример #7
0
 def __str__(self):
     return "%s %s%s" % (Address.__str__(self.nlri), str(
         self.nlri), str(self.attributes))
Пример #8
0
 def __init__(self, afi, safi):
     Attributes.__init__(self)
     Address.__init__(self, afi, safi)
     self.rules = {}