mirror of https://github.com/apache/cloudstack.git
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description: Made changes to persist the vsm configuration after updating it.
This commit is contained in:
parent
b037147f98
commit
8d5a3276de
|
|
@ -126,7 +126,7 @@ public class NetconfHelper {
|
|||
while (true) {
|
||||
if (inputStream.available() == 0) {
|
||||
int conditions = _session.waitForCondition(ChannelCondition.STDOUT_DATA
|
||||
| ChannelCondition.STDERR_DATA | ChannelCondition.EOF, 500);
|
||||
| ChannelCondition.STDERR_DATA | ChannelCondition.EOF, 2000);
|
||||
|
||||
if ((conditions & ChannelCondition.TIMEOUT) != 0) {
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ public class VsmCommand {
|
|||
portProf.appendChild(state);
|
||||
|
||||
// Persist the configuration across reboots.
|
||||
// modeConfigure.appendChild(persistConfiguration(doc));
|
||||
modeConfigure.appendChild(persistConfiguration(doc));
|
||||
|
||||
return configure;
|
||||
}
|
||||
|
|
@ -301,7 +301,7 @@ public class VsmCommand {
|
|||
}
|
||||
|
||||
// Persist the configuration across reboots.
|
||||
// modeConfigure.appendChild(persistConfiguration(doc));
|
||||
modeConfigure.appendChild(persistConfiguration(doc));
|
||||
|
||||
return configure;
|
||||
}
|
||||
|
|
@ -328,7 +328,7 @@ public class VsmCommand {
|
|||
portDetails.appendChild(value);
|
||||
|
||||
// Persist the configuration across reboots.
|
||||
// modeConfigure.appendChild(persistConfiguration(doc));
|
||||
modeConfigure.appendChild(persistConfiguration(doc));
|
||||
|
||||
return configure;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue