Renamed SDN-IP packages and classes.

The code use to use the name 'BgpRoute' in a number of places, which is not
descriptive and doesn't map to how we talk about SDN-IP (we always call it
SDN-IP in all other documents/presentations).

Details of changes are as follows:

net.onrc.onos.apps.bgproute -> net.onrc.onos.apps.sdnip
    BgpRoute.java -> SdnIp.java
    IBgpRouteService.java -> ISdnIpService.java

created new package for web classes: net.onrc.onos.apps.sdnip.web
    BgpRouteResource.java -> IncomingRequestResource.java
    BgpRouteResourceSynch.java -> OutgoingRequestResource.java
    BgpRouteWebRoutable.java -> SdnIpWebRoutable.java

Change-Id: Ie6b1cbe4e95736d4cbd53b9f4def7cc3e0b46132
diff --git a/src/main/java/net/onrc/onos/apps/sdnip/PushedFlowMod.java b/src/main/java/net/onrc/onos/apps/sdnip/PushedFlowMod.java
new file mode 100644
index 0000000..38ac37f
--- /dev/null
+++ b/src/main/java/net/onrc/onos/apps/sdnip/PushedFlowMod.java
@@ -0,0 +1,46 @@
+package net.onrc.onos.apps.sdnip;
+
+import org.openflow.protocol.OFFlowMod;
+
+// TODO This functionality should be handled by ONOS's flow layer in future.
+/**
+ * Collects together the DPID and OFFlowMod of a pushed flow mod. This
+ * information is used if the flow mod has to be deleted in the future.
+ */
+public class PushedFlowMod {
+    private final long dpid;
+    private OFFlowMod flowMod;
+
+    /**
+     * Class constructor, taking a DPID and a flow mod.
+     *
+     * @param dpid the DPID of the switch the flow mod was pushed to
+     * @param flowMod the OFFlowMod that was pushed to the switch
+     */
+    public PushedFlowMod(long dpid, OFFlowMod flowMod) {
+        this.dpid = dpid;
+        try {
+            this.flowMod = flowMod.clone();
+        } catch (CloneNotSupportedException e) {
+            this.flowMod = flowMod;
+        }
+    }
+
+    /**
+     * Gets the DPID of the switch the flow mod was pushed to.
+     *
+     * @return the DPID of the switch
+     */
+    public long getDpid() {
+        return dpid;
+    }
+
+    /**
+     * Gets the OFFlowMod that was pushed to the switch.
+     *
+     * @return the OFFlowMod object
+     */
+    public OFFlowMod getFlowMod() {
+        return flowMod;
+    }
+}