flow problem solving at CiscoN7K Configuration

Change-Id: I13bde9fb563cf3da1a755c3abf0012ffce07263b
diff --git a/drivers/cisco/rest/src/main/java/org/onosproject/drivers/cisco/rest/ControllerConfigCiscoImpl.java b/drivers/cisco/rest/src/main/java/org/onosproject/drivers/cisco/rest/ControllerConfigCiscoImpl.java
index f62000e..437c80a 100644
--- a/drivers/cisco/rest/src/main/java/org/onosproject/drivers/cisco/rest/ControllerConfigCiscoImpl.java
+++ b/drivers/cisco/rest/src/main/java/org/onosproject/drivers/cisco/rest/ControllerConfigCiscoImpl.java
@@ -102,10 +102,10 @@
         if (checkSwitchN7K(handler)) {
             cmds.add(N7K_PIPELINE_CMD);
             log.info("This is N7K Switch");
+        } else {
+            cmds.add(N9K_PIPELINE_CMD);
+            log.info("This is N9K Switch");
         }
-        cmds.add(N9K_PIPELINE_CMD);
-        log.info("This is N9K Switch");
-
         // can configure up to eight controllers
         controllers.stream().limit(8).forEach(c -> cmds
                 .add(String.format(OF_CONTROLLER_CONF_CMD, c.ip().toString(), c.port(), "management")));