Class LUNlriParser

    • Constructor Detail

      • LUNlriParser

        public LUNlriParser()
    • Method Detail

      • serializeNlri

        protected static void serializeNlri​(List<CLabeledUnicastDestination> dests,
                                            boolean isUnreachNlri,
                                            io.netty.buffer.ByteBuf buffer)
      • serializeLabelStackEntries

        public static void serializeLabelStackEntries​(List<LabelStack> stack,
                                                      boolean isUnreachNlri,
                                                      io.netty.buffer.ByteBuf buffer)
      • serializePrefixField

        public static void serializePrefixField​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix prefix,
                                                io.netty.buffer.ByteBuf buffer)
      • getPrefixLength

        public static int getPrefixLength​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix prefix)
      • parseIpPrefix

        public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix parseIpPrefix​(io.netty.buffer.ByteBuf nlri,
                                                                                                                                int prefixLen,
                                                                                                                                Class<? extends AddressFamily> afi)
      • parseLabel

        public static List<LabelStack> parseLabel​(io.netty.buffer.ByteBuf nlri)