Search in sources :

Example 1 with K8sHostCodec

use of org.onosproject.k8snode.codec.K8sHostCodec in project onos by opennetworkinglab.

the class K8sNodeCodecRegister method activate.

@Activate
protected void activate() {
    codecService.registerCodec(K8sNode.class, new K8sNodeCodec());
    codecService.registerCodec(K8sApiConfig.class, new K8sApiConfigCodec());
    codecService.registerCodec(HostNodesInfo.class, new HostNodesInfoCodec());
    codecService.registerCodec(K8sHost.class, new K8sHostCodec());
    log.info("Started");
}
Also used : K8sApiConfigCodec(org.onosproject.k8snode.codec.K8sApiConfigCodec) K8sNodeCodec(org.onosproject.k8snode.codec.K8sNodeCodec) K8sHostCodec(org.onosproject.k8snode.codec.K8sHostCodec) HostNodesInfoCodec(org.onosproject.k8snode.codec.HostNodesInfoCodec) Activate(org.osgi.service.component.annotations.Activate)

Aggregations

HostNodesInfoCodec (org.onosproject.k8snode.codec.HostNodesInfoCodec)1 K8sApiConfigCodec (org.onosproject.k8snode.codec.K8sApiConfigCodec)1 K8sHostCodec (org.onosproject.k8snode.codec.K8sHostCodec)1 K8sNodeCodec (org.onosproject.k8snode.codec.K8sNodeCodec)1 Activate (org.osgi.service.component.annotations.Activate)1