Commit 242e972c authored by Leigh B Stoller's avatar Leigh B Stoller

Bail on static-old routing instead of silent ignore.

parent 85f4b4fd
#!/usr/local/bin/python #!/usr/local/bin/python
# #
# Copyright (c) 2005-2018 University of Utah and the Flux Group. # Copyright (c) 2005-2019 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -232,6 +232,10 @@ for child in tree.getroot(): ...@@ -232,6 +232,10 @@ for child in tree.getroot():
pass pass
elif element.tag == "routertype" and element.text: elif element.tag == "routertype" and element.text:
routertype = element.text routertype = element.text
if routertype == "static-old":
Fatal("Unsupported routertype static-old on node " +
vname + ": " + element.text)
pass
if routertype == "static-ddijk": if routertype == "static-ddijk":
routertype = "static" routertype = "static"
pass pass
......
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