Search in sources :

Example 1 with StatsInfoJsonCodec

use of org.onosproject.openstacktelemetry.codec.rest.StatsInfoJsonCodec in project onos by opennetworkinglab.

the class OpenstackRestCodecRegister method activate.

@Activate
protected void activate() {
    codecService.registerCodec(StatsInfo.class, new StatsInfoJsonCodec());
    codecService.registerCodec(FlowInfo.class, new FlowInfoJsonCodec());
    codecService.registerCodec(StatsFlowRule.class, new StatsFlowRuleJsonCodec());
    codecService.registerCodec(TelemetryConfig.class, new TelemetryConfigJsonCodec());
    log.info("Started");
}
Also used : TelemetryConfigJsonCodec(org.onosproject.openstacktelemetry.codec.rest.TelemetryConfigJsonCodec) StatsInfoJsonCodec(org.onosproject.openstacktelemetry.codec.rest.StatsInfoJsonCodec) StatsFlowRuleJsonCodec(org.onosproject.openstacktelemetry.codec.rest.StatsFlowRuleJsonCodec) FlowInfoJsonCodec(org.onosproject.openstacktelemetry.codec.rest.FlowInfoJsonCodec) Activate(org.osgi.service.component.annotations.Activate)

Aggregations

FlowInfoJsonCodec (org.onosproject.openstacktelemetry.codec.rest.FlowInfoJsonCodec)1 StatsFlowRuleJsonCodec (org.onosproject.openstacktelemetry.codec.rest.StatsFlowRuleJsonCodec)1 StatsInfoJsonCodec (org.onosproject.openstacktelemetry.codec.rest.StatsInfoJsonCodec)1 TelemetryConfigJsonCodec (org.onosproject.openstacktelemetry.codec.rest.TelemetryConfigJsonCodec)1 Activate (org.osgi.service.component.annotations.Activate)1