@Test public void testArpFlow_noAugmentation() { EndpointL3 testEndpointL3 = new EndpointL3Builder().build(); flows.createArpFlow(getTestIndexedTenant(), testEndpointL3, 60, ofWriter); verifyZeroInteractions(ctx); verifyZeroInteractions(ofWriter); }
void createArpFlow(IndexedTenant tenant, EndpointL3 l3Ep, int priority, OfWriter ofWriter) { NatAddress natAugL3Endpoint = l3Ep.getAugmentation(NatAddress.class); if (natAugL3Endpoint == null || natAugL3Endpoint.getNatAddress() == null) { return; } if (l3Ep.getIpAddress() != null) { Flow flow = createOutsideArpFlow(tenant, priority, natAugL3Endpoint.getNatAddress(), l3Ep.getMacAddress(), nodeId); if (flow != null) { ofWriter.writeFlow(nodeId, tableId, flow); } } }
IngressNatMapperFlows { void createArpFlow(IndexedTenant tenant, EndpointL3 l3Ep, int priority, OfWriter ofWriter) { NatAddress natAugL3Endpoint = l3Ep.getAugmentation(NatAddress.class); if (natAugL3Endpoint == null || natAugL3Endpoint.getNatAddress() == null) { return; } if (l3Ep.getIpAddress() != null) { Flow flow = createOutsideArpFlow(tenant, priority, natAugL3Endpoint.getNatAddress(), l3Ep.getMacAddress(), nodeId); if (flow != null) { ofWriter.writeFlow(nodeId, tableId, flow); } } } }
IngressNatMapperFlows { void createArpFlow(IndexedTenant tenant, EndpointL3 l3Ep, int priority, OfWriter ofWriter) { NatAddress natAugL3Endpoint = l3Ep.getAugmentation(NatAddress.class); if (natAugL3Endpoint == null || natAugL3Endpoint.getNatAddress() == null) { return; } if (l3Ep.getIpAddress() != null) { Flow flow = createOutsideArpFlow(tenant, priority, natAugL3Endpoint.getNatAddress(), l3Ep.getMacAddress(), nodeId); if (flow != null) { ofWriter.writeFlow(nodeId, tableId, flow); } } } IngressNatMapperFlows(NodeId nodeId, short tableId); }
IngressNatMapperFlows { void createArpFlow(IndexedTenant tenant, EndpointL3 l3Ep, int priority, OfWriter ofWriter) { NatAddress natAugL3Endpoint = l3Ep.getAugmentation(NatAddress.class); if (natAugL3Endpoint == null || natAugL3Endpoint.getNatAddress() == null) { return; } if (l3Ep.getIpAddress() != null) { Flow flow = createOutsideArpFlow(tenant, priority, natAugL3Endpoint.getNatAddress(), l3Ep.getMacAddress(), nodeId); if (flow != null) { ofWriter.writeFlow(nodeId, tableId, flow); } } } IngressNatMapperFlows(NodeId nodeId, short tableId);  }
IngressNatMapperFlows { void createArpFlow(IndexedTenant tenant, EndpointL3 l3Ep, int priority, OfWriter ofWriter) { NatAddress natAugL3Endpoint = l3Ep.getAugmentation(NatAddress.class); if (natAugL3Endpoint == null || natAugL3Endpoint.getNatAddress() == null) { return; } if (l3Ep.getIpAddress() != null) { Flow flow = createOutsideArpFlow(tenant, priority, natAugL3Endpoint.getNatAddress(), l3Ep.getMacAddress(), nodeId); if (flow != null) { ofWriter.writeFlow(nodeId, tableId, flow); } } } IngressNatMapperFlows(NodeId nodeId, short tableId);   }