Skip to content

Commit

Permalink
Revise fat tree topology to get rid of duplicate core switches.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhijiaCHEN committed Jun 19, 2018
1 parent 4c28486 commit b4688ed
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 394 deletions.
4 changes: 2 additions & 2 deletions apps/fw.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def do_addflow(self, line):
try:
self.db.cursor.execute("INSERT INTO FW_policy_acl VALUES "
"({0},{1},1);"
.format(src, dst));
.format(src, dst))
except Exception, e:
print "Failure: flow not added --", e
return
Expand All @@ -91,7 +91,7 @@ def do_delflow(self, line):
try:
self.db.cursor.execute("DELETE FROM FW_policy_acl VALUES WHERE "
"end1={0} AND end2={1};"
.format(src, dst));
.format(src, dst))
except Exception, e:
print "Failure: flow not removed --", e
return
Expand Down
263 changes: 0 additions & 263 deletions apps/orch.py

This file was deleted.

114 changes: 0 additions & 114 deletions apps/orch.sql

This file was deleted.

Loading

0 comments on commit b4688ed

Please sign in to comment.