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