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

Bail on static-old routing instead of silent ignore.

parent 85f4b4fd
#!/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
#
......@@ -232,6 +232,10 @@ for child in tree.getroot():
pass
elif element.tag == "routertype" and element.text:
routertype = element.text
if routertype == "static-old":
Fatal("Unsupported routertype static-old on node " +
vname + ": " + element.text)
pass
if routertype == "static-ddijk":
routertype = "static"
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