don't process node roles for missing nodes
@@ -3463,11 +3463,12 @@ public class Batfish extends PluginConsumer implements AutoCloseable, IBatfish {
if (config == null) {
veae.setValid(false);
veae.getUndefinedNodeRoleSpecifierNodes().add(hostname);
- }
+ } else {
SortedSet<String> roles = nodeRolesEntry.getValue();
config.setRoles(roles);
}
}
+ }
private Topology processTopologyFile(Path topologyFilePath) {
Topology topology = parseTopology(topologyFilePath);
