Code refactoring and added new checks
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / openroadminterface / OpenRoadmOdu4Interface.java
diff --git a/renderer/src/main/java/org/opendaylight/transportpce/renderer/openroadminterface/OpenRoadmOdu4Interface.java b/renderer/src/main/java/org/opendaylight/transportpce/renderer/openroadminterface/OpenRoadmOdu4Interface.java
new file mode 100644 (file)
index 0000000..17a1b29
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright © 2017 AT&T and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.opendaylight.transportpce.renderer.openroadminterface;
+
+import org.opendaylight.controller.md.sal.binding.api.DataBroker;
+import org.opendaylight.controller.md.sal.binding.api.MountPointService;
+
+public class OpenRoadmOdu4Interface extends OpenRoadmInterfaces {
+
+    public OpenRoadmOdu4Interface(DataBroker db, MountPointService mps, String nodeId, String logicalConnPoint) {
+        super(db, mps, nodeId, logicalConnPoint);
+
+    }
+
+    /**
+     * This methods creates an ODU interface on the given termination point.
+     *
+     *
+     * @return Name of the interface if successful, otherwise return null.
+     */
+
+    public String createInterface() {
+        // TODO:implement this method
+        return null;
+    }
+}