Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE: dummy pr build #2172

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions orchagent/routeorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,13 +457,15 @@ bool RouteOrch::invalidnexthopinNextHopGroup(const NextHopKey &nexthop, uint32_t
void RouteOrch::doTask(Consumer& consumer)
{
SWSS_LOG_ENTER();
SWSS_LOG_NOTICE("Route orch doTask enter");

if (!gPortsOrch->allPortsReady())
{
return;
}

string table_name = consumer.getTableName();
SWSS_LOG_NOTICE("Route orch doTask table %s", table_name.c_str());

if (table_name == APP_LABEL_ROUTE_TABLE_NAME)
{
Expand Down Expand Up @@ -491,6 +493,7 @@ void RouteOrch::doTask(Consumer& consumer)

string key = kfvKey(t);
string op = kfvOp(t);
SWSS_LOG_NOTICE("Route orch op %s for key %s", op.c_str(), key.c_str());

auto rc = toBulk.emplace(std::piecewise_construct,
std::forward_as_tuple(key, op),
Expand Down