simple topology files with no additional parameters

Change-Id: Ie121994596424249b969bb3af94c81d768fb0fc4
This commit is contained in:
Chad Cothran authored and Saurab Dulal committed 2021-03-26 11:15:27 -08:00
1 parent ea2d5d6802
commit eef6ee890e
1 file changed
+2 -2
+2 -2
View File
@@ -145,7 +145,7 @@ class Minindn(object):
@staticmethod
def processTopo(topoFile):
config = configparser.ConfigParser(delimiters=' ')
config = configparser.ConfigParser(delimiters=' ', allow_no_value=True)
config.read(topoFile)
topo = Topo()
@@ -154,7 +154,7 @@ class Minindn(object):
for item in items:
name = item[0].split(':')[0]
if item[1] in coordinates:
if item[1] in coordinates and item[1] != '_':
error("FATAL: Duplicate Coordinate, \'{}\' used by multiple nodes\n" \
.format(item[1]))
sys.exit(1)