Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openXG-WIC-Cnf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alex037yang
openXG-WIC-Cnf
Commits
3100dd01
Commit
3100dd01
authored
Jun 14, 2020
by
Elf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不使用IPtables来创造容器之间断路,改为直接在容器转发是构建路由算法
parent
83eeee8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
bishe-edge-center/src/main/java/top/ninwoo/edgecenter/service/impl/LogicTopoServiceImpl.java
.../ninwoo/edgecenter/service/impl/LogicTopoServiceImpl.java
+6
-0
No files found.
bishe-edge-center/src/main/java/top/ninwoo/edgecenter/service/impl/LogicTopoServiceImpl.java
View file @
3100dd01
...
...
@@ -54,6 +54,7 @@ public class LogicTopoServiceImpl implements LogicTopoService {
return
;
}
/*
// 这里声明:cNames中不包含ovs虚拟机,仅包含docker容器组成的逻辑拓扑
for (int i = 1; i < cNames.length; i++) {
for (int j = 0; j < i; j++) {
...
...
@@ -65,6 +66,8 @@ public class LogicTopoServiceImpl implements LogicTopoService {
}
}
*/
clustersTopo
.
put
(
clusterId
,
logictopo
);
}
...
...
@@ -111,6 +114,7 @@ public class LogicTopoServiceImpl implements LogicTopoService {
return
"拓扑大小不一致"
;
}
/*
//System.out.println("终于要更新网络了啦");
// 更新网络拓扑
for (int i = 1; i < newTopoArr.length; i++) {
...
...
@@ -127,6 +131,8 @@ public class LogicTopoServiceImpl implements LogicTopoService {
}
}
}
*/
clustersTopo
.
put
(
clusterId
,
logictopo
);
return
"success"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment