Interface EvpnSerializer
-
@NonNullByDefault public interface EvpnSerializer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EvpnChoice
createRouteKey(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode evpn)
create Route key from Evpn model.io.netty.buffer.ByteBuf
serializeEvpn(EvpnChoice evpn, io.netty.buffer.ByteBuf buffer)
Serialize Evpn.EvpnChoice
serializeEvpnModel(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode evpn)
Serialize Evpn Model.
-
-
-
Method Detail
-
serializeEvpn
io.netty.buffer.ByteBuf serializeEvpn(EvpnChoice evpn, io.netty.buffer.ByteBuf buffer)
Serialize Evpn.- Parameters:
evpn
- Evpnbuffer
- Encode common Evpn parts to output buffer- Returns:
- Encode Evpn to output buffer
-
serializeEvpnModel
EvpnChoice serializeEvpnModel(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode evpn)
Serialize Evpn Model.- Parameters:
evpn
- ChoiceNode containing Evpn- Returns:
- Evpn
-
createRouteKey
EvpnChoice createRouteKey(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode evpn)
create Route key from Evpn model.- Parameters:
evpn
- ContainerNode containing Evpn- Returns:
- Evpn
-
-