Search in sources :

Example 11 with OneSwitchFlowInstallCommand

use of org.openkilda.floodlight.command.flow.ingress.OneSwitchFlowInstallCommand in project open-kilda by telstra.

the class OneSwitchFlowInstallFlowModFactoryTest method makeDefaultPortForwardMessageMessageMeteredZeroToSingle.

// --- makeDefaultPortForwardMessage
@Test
public void makeDefaultPortForwardMessageMessageMeteredZeroToSingle() {
    OneSwitchFlowInstallCommand command = makeCommand(endpointZeroVlan, egressEndpointSingleVlan, meterConfig);
    testMakeDefaultPortForwardMessageMessage(command);
}
Also used : OneSwitchFlowInstallCommand(org.openkilda.floodlight.command.flow.ingress.OneSwitchFlowInstallCommand) Test(org.junit.Test)

Aggregations

OneSwitchFlowInstallCommand (org.openkilda.floodlight.command.flow.ingress.OneSwitchFlowInstallCommand)11 Test (org.junit.Test)8 FlowEndpoint (org.openkilda.model.FlowEndpoint)4 EffectiveIds (org.openkilda.floodlight.model.EffectiveIds)2 RoutingMetadata (org.openkilda.floodlight.utils.metadata.RoutingMetadata)2 OFFlowAdd (org.projectfloodlight.openflow.protocol.OFFlowAdd)2 FlowSegmentWrapperCommand (org.openkilda.floodlight.command.flow.FlowSegmentWrapperCommand)1 RulesContext (org.openkilda.floodlight.model.RulesContext)1 MeterConfig (org.openkilda.model.MeterConfig)1 OFMeterConfig (org.projectfloodlight.openflow.protocol.OFMeterConfig)1