tests,zebra: fix more startup topotest issues

Use the right list of daemons to avoid trying to start zebra twice.
Change a zebra log message to INFO level to avoid stderr check
failure.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
Mark Stapp 2020-07-04 12:25:10 -04:00
parent 807c31d582
commit cb3e512d97
2 changed files with 5 additions and 5 deletions

View File

@ -1242,7 +1242,7 @@ class Router(Node):
)
# Now start all the other daemons
for daemon in self.daemons:
for daemon in daemons_list:
# Skip disabled daemons and zebra
if self.daemons[daemon] == 0:
continue

View File

@ -976,10 +976,10 @@ static void zebra_nhg_set_unhashable(struct nhg_hash_entry *nhe)
SET_FLAG(nhe->flags, NEXTHOP_GROUP_UNHASHABLE);
SET_FLAG(nhe->flags, NEXTHOP_GROUP_INSTALLED);
flog_warn(
EC_ZEBRA_DUPLICATE_NHG_MESSAGE,
"Nexthop Group with ID (%d) is a duplicate, therefore unhashable, ignoring",
nhe->id);
flog(LOG_INFO,
EC_ZEBRA_DUPLICATE_NHG_MESSAGE,
"Nexthop Group with ID (%d) is a duplicate, therefore unhashable, ignoring",
nhe->id);
}
static void zebra_nhg_set_valid(struct nhg_hash_entry *nhe)