X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fflow-management-compatibility%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Ffrm%2Fcompatibility%2FFlowConfigMapping.xtend;h=c567dc00973e6ac50f69e8c1bcccda23dfc4f586;hp=602b626452b66be4678a727112515f58c59e1070;hb=d23124e814e435b60e98a4b6f49433853a97a40f;hpb=31c8f18732b81576823b7b7172969ed207b07cc7 diff --git a/opendaylight/md-sal/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/FlowConfigMapping.xtend b/opendaylight/md-sal/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/FlowConfigMapping.xtend index 602b626452..c567dc0097 100644 --- a/opendaylight/md-sal/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/FlowConfigMapping.xtend +++ b/opendaylight/md-sal/flow-management-compatibility/src/main/java/org/opendaylight/controller/md/frm/compatibility/FlowConfigMapping.xtend @@ -16,16 +16,15 @@ import org.opendaylight.yangtools.yang.binding.Identifiable class FlowConfigMapping { static def toConfigurationFlow(FlowConfig sourceCfg) { - val it = new FlowBuilder(); val source = flowAdded(sourceCfg.flow); - - action = source.action; + val it = new FlowBuilder(); + instructions = source.instructions; cookie = source.cookie; hardTimeout = source.hardTimeout idleTimeout = source.idleTimeout match = source.match node = source.node - key = new FlowKey(sourceCfg.name, node) + key = new FlowKey(sourceCfg.name,node); return it.build(); }