def __str__(self): return "MP_UNREACH_NLRI Family %s %d NLRI(s)" % (Address.__str__( self.routes[0]), len(self.routes))
def __str__ (self): return "MP_UNREACH_NLRI Family %s %d NLRI(s)" % (Address.__str__(self.routes[0]),len(self.routes))
def __init__(self, nlri): self.nlri = nlri self.__address = Address(nlri.afi, nlri.safi) self.attributes = Attributes()
def __str__ (self): return "%s %s%s" % (Address.__str__(self.nlri),str(self.nlri),str(self.attributes))
def __init__ (self,afi,safi): Attributes.__init__(self) Address.__init__(self,afi,safi) self.rules = {}
def __init__ (self,afi,safi): Address.__init__(self,AFI(afi),SAFI(safi))
def __str__(self): return "%s %s%s" % (Address.__str__(self.nlri), str( self.nlri), str(self.attributes))
def __init__(self, afi, safi): Attributes.__init__(self) Address.__init__(self, afi, safi) self.rules = {}