...
|
...
|
@@ -93,6 +93,9 @@ public class TopoSwitchCtrl { |
|
|
List<String> serverList = (List<String>) apiMap.get("server");
|
|
|
if (serverList.get(0).startsWith("10")) {
|
|
|
awsGrayNginx = "qq";
|
|
|
logger.error("awsgrayapigateway is === "+serverList.get(0));
|
|
|
}else{
|
|
|
awsGrayNginx="aws";
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -109,6 +112,8 @@ public class TopoSwitchCtrl { |
|
|
List<String> serverList = (List<String>) apiMap.get("server");
|
|
|
if (serverList.get(0).startsWith("172")) {
|
|
|
qqGrayNginx = "aws";
|
|
|
}else{
|
|
|
logger.error("qqgrayapigateway is === "+serverList.get(0));
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|