Intents: Converted Switch/Port objects to longs for Plan calc
Also, added notification once flows are received and installed
Change-Id: I13f8d9de9dcbf9eff584532e1bf901e78a8dc53f
diff --git a/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java b/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java
index cb4ab9e..24f61f3 100755
--- a/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java
+++ b/src/test/java/net/onrc/onos/intent/runtime/UseCaseTest.java
@@ -138,7 +138,7 @@
IntentOperationList pathIntentOpList = runtime1.executeIntentOperations(opList);
// compile low-level intents into flow entry installation plan
- PlanCalcRuntime runtime2 = new PlanCalcRuntime(g);
+ PlanCalcRuntime runtime2 = new PlanCalcRuntime();
List<Set<FlowEntry>> plan = runtime2.computePlan(pathIntentOpList);
// show results
@@ -163,7 +163,7 @@
IntentOperationList pathIntentOpList = runtime1.executeIntentOperations(opList);
// compile low-level intents into flow entry installation plan
- PlanCalcRuntime runtime2 = new PlanCalcRuntime(g);
+ PlanCalcRuntime runtime2 = new PlanCalcRuntime();
List<Set<FlowEntry>> plan = runtime2.computePlan(pathIntentOpList);
// show results
@@ -188,7 +188,7 @@
IntentOperationList pathIntentOpList = runtime1.executeIntentOperations(opList);
// compile low-level intents into flow entry installation plan
- PlanCalcRuntime runtime2 = new PlanCalcRuntime(g);
+ PlanCalcRuntime runtime2 = new PlanCalcRuntime();
List<Set<FlowEntry>> plan = runtime2.computePlan(pathIntentOpList);
// show results
@@ -220,7 +220,7 @@
IntentOperationList pathIntentOpList = runtime1.executeIntentOperations(opList);
// compile low-level intents into flow entry installation plan
- PlanCalcRuntime runtime2 = new PlanCalcRuntime(g);
+ PlanCalcRuntime runtime2 = new PlanCalcRuntime();
List<Set<FlowEntry>> plan = runtime2.computePlan(pathIntentOpList);
// show results step1