def serialize_tail(self):
        head = bytearray(struct.pack(self._PACK_STR, self.flags, 0,
                         len(self.links)))
        try:
            return head + reduce(lambda a, b: a + b,
                                 (link.serialize() for link in self.links))
        except __HOLE__:
            return head
dataset/ETHPy150Open osrg/ryu/ryu/lib/packet/ospf.py/RouterLSA.serialize_tail