use of org.onosproject.cfm.web.ComponentCodec in project onos by opennetworkinglab.
the class CfmWebComponent method activate.
/**
* On activation of this component register these codecs with the codec service.
*/
@Activate
public void activate() {
codecService.registerCodec(MaintenanceDomain.class, new MaintenanceDomainCodec());
codecService.registerCodec(MaintenanceAssociation.class, new MaintenanceAssociationCodec());
codecService.registerCodec(org.onosproject.incubator.net.l2monitoring.cfm.Component.class, new ComponentCodec());
codecService.registerCodec(VlanId.class, new VidCodec());
codecService.registerCodec(Mep.class, new MepCodec());
codecService.registerCodec(MepEntry.class, new MepEntryCodec());
codecService.registerCodec(MepLbCreate.class, new MepLbCreateCodec());
codecService.registerCodec(MepLbEntry.class, new MepLbEntryCodec());
codecService.registerCodec(MepLtCreate.class, new MepLtCreateCodec());
codecService.registerCodec(RemoteMepEntry.class, new RemoteMepEntryCodec());
codecService.registerCodec(FngAddress.class, new FngAddressCodec());
codecService.registerCodec(DelayMeasurementCreate.class, new DmCreateCodec());
codecService.registerCodec(DelayMeasurementEntry.class, new DmEntryCodec());
codecService.registerCodec(DelayMeasurementStat.class, new DelayMeasurementStatCodec());
codecService.registerCodec(DelayMeasurementStatCurrent.class, new DelayMeasurementStatCurrentCodec());
codecService.registerCodec(DelayMeasurementStatHistory.class, new DelayMeasurementStatHistoryCodec());
codecService.registerCodec(MeasurementOption.class, new DmMeasurementOptionCodec());
codecService.registerCodec(LossMeasurementCreate.class, new LmCreateCodec());
codecService.registerCodec(LossMeasurementThreshold.class, new LossMeasurementThresholdCodec());
codecService.registerCodec(LossMeasurementEntry.class, new LmEntryCodec());
codecService.registerCodec(LossMeasurementStat.class, new LossMeasurementStatCodec());
codecService.registerCodec(LossMeasurementStatCurrent.class, new LossMeasurementStatCurrentCodec());
codecService.registerCodec(LossMeasurementStatHistory.class, new LossMeasurementStatHistoryCodec());
codecService.registerCodec(LossAvailabilityStat.class, new LossAvailabilityStatCodec());
codecService.registerCodec(LossAvailabilityStatCurrent.class, new LossAvailabilityStatCurrentCodec());
codecService.registerCodec(LossAvailabilityStatHistory.class, new LossAvailabilityStatHistoryCodec());
codecService.registerCodec(CounterOption.class, new LmCounterOptionCodec());
codecService.registerCodec(LossMeasurementThreshold.ThresholdOption.class, new LmThresholdOptionCodec());
codecService.registerCodec(StartTime.class, new StartTimeCodec());
codecService.registerCodec(StopTime.class, new StopTimeCodec());
log.info("CFM Web Component Started");
}
Aggregations