add checking intents function
1. check both MultiPointToSinglePointIntent and PointToPointIntent
2. does not including check the ICMP path PointToPointIntent
3. check MultiPointToSinglePointIntent and PointToPointIntent seperately
4. we generate the all the expected intents base on the sdnip.json
5. after geting all the intents from ONOS CLI, then extract
MultiPointToSinglePointIntent and PointToPointIntent seperately and
change all intents into the same formats of intents we generated.
The two types of intents use different formats.
diff --git a/TestON/tests/SdnIpTest/addresses.json b/TestON/tests/SdnIpTest/addresses.json
new file mode 100644
index 0000000..f7eb983
--- /dev/null
+++ b/TestON/tests/SdnIpTest/addresses.json
@@ -0,0 +1,36 @@
+{
+ "addresses" : [
+ {
+ "dpid" : "00:00:00:00:00:00:00:a3",
+ "port" : "1",
+ "ips" : ["192.168.10.0/24"],
+ "mac" : "00:00:00:00:00:01"
+
+ },
+ {
+ "dpid" : "00:00:00:00:00:00:00:a5",
+ "port" : "1",
+ "ips" : ["192.168.20.0/24"],
+ "mac" : "00:00:00:00:00:01"
+ },
+ {
+ "dpid" : "00:00:00:00:00:00:00:a2",
+ "port" : "1",
+ "ips" : ["192.168.30.0/24"],
+ "mac" : "00:00:00:00:00:01"
+ },
+ {
+ "dpid" : "00:00:00:00:00:00:00:a6",
+ "port" : "1",
+ "ips" : ["192.168.40.0/24"],
+ "mac" : "00:00:00:00:00:01"
+ },
+ {
+ "dpid" : "00:00:00:00:00:00:00:a4",
+ "port" : "4",
+ "ips" : ["192.168.60.0/24"],
+ "mac" : "00:00:00:00:00:01"
+ }
+
+ ]
+}
\ No newline at end of file