Cleaned up inconsistency in OpticalConnectivityIntent API.

Change-Id: I76b629aa8f4cf95a224da49780b3eca275b9acfc
diff --git a/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalConnectivityIntentCompiler.java b/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalConnectivityIntentCompiler.java
index 066d730..e5a1203 100644
--- a/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalConnectivityIntentCompiler.java
+++ b/core/net/src/main/java/org/onlab/onos/net/intent/impl/OpticalConnectivityIntentCompiler.java
@@ -65,9 +65,9 @@
                                 List<Intent> installable,
                                 Set<LinkResourceAllocations> resources) {
         // TODO: compute multiple paths using the K-shortest path algorithm
-        Path path = calculateOpticalPath(intent.getSrcConnectPoint(), intent.getDst());
+        Path path = calculateOpticalPath(intent.getSrc(), intent.getDst());
         Intent newIntent = new OpticalPathIntent(intent.appId(),
-                                                 intent.getSrcConnectPoint(),
+                                                 intent.getSrc(),
                                                  intent.getDst(),
                                                  path);
         return ImmutableList.of(newIntent);