X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=renderers%2Fofoverlay%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fgroupbasedpolicy%2Frenderer%2Fofoverlay%2Fflow%2FDestinationMapper.java;h=8bdc97691a0fe5e6d659331b0e141ac7b34ca205;hb=8e06c107791d70e4bf0a7088249910a1fa9637c1;hp=25c3985a4a35aee9cf31f629ddd02f105d058c04;hpb=ced9c03f303c0e301e59437d6cd32f70ced14b1e;p=groupbasedpolicy.git diff --git a/renderers/ofoverlay/src/main/java/org/opendaylight/groupbasedpolicy/renderer/ofoverlay/flow/DestinationMapper.java b/renderers/ofoverlay/src/main/java/org/opendaylight/groupbasedpolicy/renderer/ofoverlay/flow/DestinationMapper.java index 25c3985a4..8bdc97691 100755 --- a/renderers/ofoverlay/src/main/java/org/opendaylight/groupbasedpolicy/renderer/ofoverlay/flow/DestinationMapper.java +++ b/renderers/ofoverlay/src/main/java/org/opendaylight/groupbasedpolicy/renderer/ofoverlay/flow/DestinationMapper.java @@ -378,19 +378,7 @@ public class DestinationMapper extends FlowTable { return null; } - /* - // commented out because of the new FlowId implementation - FlowId flowid = new FlowId(new StringBuilder().append(Integer.toString(epFwdCtxOrds.getL3Id())) - .append("|l3prefix|") - .append(ikey) - .append("|") - .append(destSubnetGatewayMac) - .append("|") - .append(nextHop) - .toString()); - */ MatchBuilder mb = new MatchBuilder().setEthernetMatch(ethernetMatch(null, null, etherType)); -// MatchBuilder mb = new MatchBuilder();//.setLayer3Match(m); addNxRegMatch(mb, RegMatch.of(NxmNxReg6.class, Long.valueOf(epFwdCtxOrds.getL3Id()))); Match match = mb.build(); FlowId flowid = FlowIdUtils.newFlowId(TABLE_ID, "L3prefix", match); @@ -602,15 +590,8 @@ public class DestinationMapper extends FlowTable { } OfOverlayContext ofc = destEp.getAugmentation(OfOverlayContext.class); - // //////////////////////////////////////////////////////////////////////////////////////// - /* - * NOT HANDLING EXTERNALS TODO: alagalah Li: External Gateway - * functionality needed here. - */ if (LocationType.External.equals(ofc.getLocationType())) { - // XXX - TODO - perform NAT and send to the external network - // TODO: Use case neutron gateway interface - LOG.warn("External endpoints not yet supported"); + LOG.error("syncEp(): External endpoints should not be seen here."); return; }