Changed the way ProviderId is made to include URI scheme portion.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -48,7 +48,7 @@ import static org.onlab.onos.net.flow.FlowRuleEvent.Type.*; | ... | @@ -48,7 +48,7 @@ import static org.onlab.onos.net.flow.FlowRuleEvent.Type.*; |
48 | */ | 48 | */ |
49 | public class SimpleFlowRuleManagerTest { | 49 | public class SimpleFlowRuleManagerTest { |
50 | 50 | ||
51 | - private static final ProviderId PID = new ProviderId("foo"); | 51 | + private static final ProviderId PID = new ProviderId("of", "foo"); |
52 | private static final DeviceId DID = DeviceId.deviceId("of:001"); | 52 | private static final DeviceId DID = DeviceId.deviceId("of:001"); |
53 | private static final Device DEV = new DefaultDevice( | 53 | private static final Device DEV = new DefaultDevice( |
54 | PID, DID, Type.SWITCH, "", "", "", ""); | 54 | PID, DID, Type.SWITCH, "", "", "", ""); | ... | ... |
-
Please register or login to post a comment