protected String getDomRVersion(String routerIP) {
   final Script command = new Script(_getDomRVersionPath, _timeout, s_logger);
   final OutputInterpreter.OneLineParser parser = new OutputInterpreter.OneLineParser();
   command.add(routerIP);
   String result = command.execute(parser);
   if (result == null) {
     return parser.getLine();
   }
   return null;
 }
 public String getRouterStatus(String routerIP) {
   final Script command = new Script(_getRouterStatusPath, _timeout, s_logger);
   final OutputInterpreter.OneLineParser parser = new OutputInterpreter.OneLineParser();
   command.add(routerIP);
   String result = command.execute(parser);
   if (result == null) {
     return parser.getLine();
   }
   return null;
 }
 private boolean isBridgeExists(String bridgeName) {
   Script command = new Script("/bin/sh", _timeout);
   command.add("-c");
   command.add("brctl show|grep " + bridgeName);
   final OutputInterpreter.OneLineParser parser = new OutputInterpreter.OneLineParser();
   String result = command.execute(parser);
   if (result != null || parser.getLine() == null) {
     return false;
   } else {
     return true;
   }
 }