Interface EvpnRegistry
- All Known Implementing Classes:
SimpleEvpnNlriRegistry
@NonNullByDefault
public interface EvpnRegistry
-
Method Summary
Modifier and TypeMethodDescription@Nullable EvpnChoice
Decode input buffer to BGP Evpn.io.netty.buffer.ByteBuf
serializeEvpn
(EvpnChoice evpn, io.netty.buffer.ByteBuf common) Encode input BGP Evpn to output buffer.@Nullable EvpnChoice
serializeEvpnModel
(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Decode Evpn Model to Evpn.@Nullable EvpnChoice
serializeEvpnRouteKey
(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Create Route key from Evpn model.
-
Method Details
-
parseEvpn
Decode input buffer to BGP Evpn.- Parameters:
type
- Nlri Typebuffer
- encoded EvpnChoice body in Bytebuf- Returns:
- EvpnChoice
-
serializeEvpn
Encode input BGP Evpn to output buffer.- Parameters:
evpn
- EvpnChoicecommon
- encoded common Evpn- Returns:
- encoded EvpnChoice body in Bytebuf
-
serializeEvpnModel
@Nullable EvpnChoice serializeEvpnModel(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Decode Evpn Model to Evpn.- Parameters:
evpnChoice
- ChoiceNode containing Evpn- Returns:
- EvpnChoice
-
serializeEvpnRouteKey
@Nullable EvpnChoice serializeEvpnRouteKey(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Create Route key from Evpn model.- Parameters:
evpnChoice
- ChoiceNode containing Evpn- Returns:
- EvpnChoice
-