commit | 63192b0912583d5a71b0f9038243e3e2cc2f6239 | [log] [tgz] |
---|---|---|
author | sdn <jy0624.seo@samsung.com> | Mon Jul 09 11:24:35 2018 +0900 |
committer | Yuta HIGUCHI <y-higuchi@opennetworking.org> | Tue Jul 10 12:35:41 2018 +0000 |
tree | 54e4341bcbee3c6805523052aee89f21bfa29d45 | |
parent | f7934d53597ec280e05c3a4a22c4ab4c2d8b0cc9 [diff] |
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")));