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