use of org.onosproject.drivers.lisp.extensions.codec.LispTeAddressCodec in project onos by opennetworkinglab.
the class LispMappingExtensionCodecRegistrator method activate.
@Activate
public void activate() {
registrator = new MappingCodecRegistrator();
registrator.codecService = codecService;
registrator.activate();
codecService.registerCodec(LispAppDataAddress.class, new LispAppDataAddressCodec());
codecService.registerCodec(LispAsAddress.class, new LispAsAddressCodec());
codecService.registerCodec(LispGcAddress.class, new LispGcAddressCodec());
codecService.registerCodec(LispListAddress.class, new LispListAddressCodec());
codecService.registerCodec(LispMulticastAddress.class, new LispMulticastAddressCodec());
codecService.registerCodec(LispNatAddress.class, new LispNatAddressCodec());
codecService.registerCodec(LispNonceAddress.class, new LispNonceAddressCodec());
codecService.registerCodec(LispSegmentAddress.class, new LispSegmentAddressCodec());
codecService.registerCodec(LispSrcDstAddress.class, new LispSrcDstAddressCodec());
codecService.registerCodec(LispTeAddress.class, new LispTeAddressCodec());
codecService.registerCodec(LispTeAddress.TeRecord.class, new LispTeRecordCodec());
log.info("Started");
}
Aggregations