Class SimpleEvpnNlriRegistry
java.lang.Object
org.opendaylight.protocol.bgp.evpn.impl.nlri.SimpleEvpnNlriRegistry
- All Implemented Interfaces:
EvpnRegistry
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull SimpleEvpnNlriRegistry
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.serializeEvpnModel
(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Decode Evpn Model to Evpn.serializeEvpnRouteKey
(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Create Route key from Evpn model.
-
Method Details
-
getInstance
-
parseEvpn
Description copied from interface:EvpnRegistry
Decode input buffer to BGP Evpn.- Specified by:
parseEvpn
in interfaceEvpnRegistry
- Parameters:
type
- Nlri Typebuffer
- encoded EvpnChoice body in Bytebuf- Returns:
- EvpnChoice
-
serializeEvpn
Description copied from interface:EvpnRegistry
Encode input BGP Evpn to output buffer.- Specified by:
serializeEvpn
in interfaceEvpnRegistry
- Parameters:
evpn
- EvpnChoicecommon
- encoded common Evpn- Returns:
- encoded EvpnChoice body in Bytebuf
-
serializeEvpnModel
public EvpnChoice serializeEvpnModel(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Description copied from interface:EvpnRegistry
Decode Evpn Model to Evpn.- Specified by:
serializeEvpnModel
in interfaceEvpnRegistry
- Parameters:
evpnChoice
- ChoiceNode containing Evpn- Returns:
- EvpnChoice
-
serializeEvpnRouteKey
public EvpnChoice serializeEvpnRouteKey(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice) Description copied from interface:EvpnRegistry
Create Route key from Evpn model.- Specified by:
serializeEvpnRouteKey
in interfaceEvpnRegistry
- Parameters:
evpnChoice
- ChoiceNode containing Evpn- Returns:
- EvpnChoice
-