Commit 2e48bc41 authored by wutu's avatar wutu

测试远程vxlan功能模块

parent f72edd6a
......@@ -77,7 +77,7 @@ public class TopologyServiceImpl implements TopologyService {
flag++;
// 创建对应的虚拟交换机
// 在创建前需要检查,是否已经创建过对应的交换机
if(!ovsService.isBridge(appName1)) {
if(!appName1.contains("remote") && !ovsService.isBridge(appName1.substring(3))) {
LOG.info("Create Ovs Bridge!");
ovsService.addBridge(appName1.substring(3));
}
......@@ -87,7 +87,7 @@ public class TopologyServiceImpl implements TopologyService {
if(appName2.startsWith("br:")) {
flag++;
// 创建对应的虚拟交换机
if(!ovsService.isBridge(appName2.substring(3))) {
if(!appName2.contains("remote") && !ovsService.isBridge(appName2.substring(3))) {
LOG.info("Create Ovs Bridge!");
ovsService.addBridge(appName2.substring(3));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment