[ODTN] OpenConfig device discovery

Change-Id: Iac2917ac8a65de662b55b238b920936635fc45f4
diff --git a/apps/odtn/BUCK b/apps/odtn/BUCK
index eef902a..9408d9b 100644
--- a/apps/odtn/BUCK
+++ b/apps/odtn/BUCK
@@ -7,7 +7,7 @@
 
     # strictly speaking following are not mandatory
     'org.onosproject.restconf',
-    'org.onosproject.drivers.netconf',
+    'org.onosproject.drivers.netconf',# probably don't need this
     'org.onosproject.netconf',
     'org.onosproject.configsync-netconf',
     'org.onosproject.protocols.restconfserver'
diff --git a/apps/odtn/src/main/java/org/onosproject/odtn/behaviour/OdtnDeviceDescriptionDiscovery.java b/apps/odtn/src/main/java/org/onosproject/odtn/behaviour/OdtnDeviceDescriptionDiscovery.java
new file mode 100644
index 0000000..025f1c5
--- /dev/null
+++ b/apps/odtn/src/main/java/org/onosproject/odtn/behaviour/OdtnDeviceDescriptionDiscovery.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2018-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.onosproject.odtn.behaviour;
+
+import java.util.List;
+
+import org.onosproject.net.device.DeviceDescriptionDiscovery;
+import org.onosproject.net.device.PortDescription;
+
+/**
+ * DeviceDescriptionDiscovery used in ODTN.
+ *
+ * Certain Annotations will be required.
+ */
+public interface OdtnDeviceDescriptionDiscovery
+        extends DeviceDescriptionDiscovery {
+
+    /**
+     * Annotations key, which stores OpenConfig component name.
+     */
+    String OC_NAME = "oc-name";
+
+    /**
+     * Annotations key, which stores OpenConfig component type.
+     */
+    String OC_TYPE = "oc-type";
+
+    // overriding just to make checkstyle happy
+    @Override
+    List<PortDescription> discoverPortDetails();
+
+}