Tap Port implementation in VPP renderer
[groupbasedpolicy.git] / renderers / vpp / src / main / java / org / opendaylight / groupbasedpolicy / renderer / vpp / commands / ConfigCommand.java
index cd8b690fd142a9aed7899d09444adc72290e3876..e76c2cef26b327dac58346d5c802b41f74419f4a 100644 (file)
@@ -1,22 +1,29 @@
-/*\r
- * Copyright (c) 2016 Cisco Systems. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.groupbasedpolicy.renderer.vpp.commands;\r
-\r
-import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;\r
-\r
-public interface ConfigCommand {\r
-\r
-    /**\r
-     * Execute command using a given data modification transaction\r
-     *\r
-     * @param readWriteTransaction Transaction for command execution\r
-     */\r
-    void execute(ReadWriteTransaction readWriteTransaction);\r
-\r
-}\r
+/*
+ * Copyright (c) 2016 Cisco Systems. 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.groupbasedpolicy.renderer.vpp.commands;
+
+import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;
+import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceBuilder;
+
+public interface ConfigCommand {
+
+    /**
+     * Execute command using a given data modification transaction.
+     *
+     * @param readWriteTransaction Transaction for command execution
+     */
+    void execute(ReadWriteTransaction readWriteTransaction);
+
+    /**
+     * Creates Interface Builder with proper augmentations.
+     *
+     * @return InterfaceBuilder for this command with proper augmentations
+     */
+    InterfaceBuilder getInterfaceBuilder();
+}