Interface ExtendedCommunityRegistry


  • public interface ExtendedCommunityRegistry
    The Extended Communities registry.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.ExtendedCommunities parseExtendedCommunity​(io.netty.buffer.ByteBuf buffer)
      Parses the Extended Community.
      void serializeExtendedCommunity​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.ExtendedCommunities extendedCommunity, io.netty.buffer.ByteBuf byteAggregator)
      Serializes the Extended Community.
    • Method Detail

      • parseExtendedCommunity

        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.ExtendedCommunities parseExtendedCommunity​(io.netty.buffer.ByteBuf buffer)
                                                                                                                                                              throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException,
                                                                                                                                                                     org.opendaylight.protocol.bgp.parser.BGPParsingException
        Parses the Extended Community.
        Parameters:
        buffer - ByteBuf
        Returns:
        Decoded ExtendedCommunity or null if the parser for such Extended Community type/sub-type is not present.
        Throws:
        org.opendaylight.protocol.bgp.parser.BGPDocumentedException
        org.opendaylight.protocol.bgp.parser.BGPParsingException
      • serializeExtendedCommunity

        void serializeExtendedCommunity​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.ExtendedCommunities extendedCommunity,
                                        io.netty.buffer.ByteBuf byteAggregator)
        Serializes the Extended Community.
        Parameters:
        extendedCommunity - ExtendedCommunity to be encoded.
        byteAggregator - ByteBuf, where the Extended Community is serialized, if a serialized is not present for such Extended Community type, no bytes are written into output buffer.