mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
bond: Reduce log level from WARN to INFO for interface status updates.
An interface coming up or going down isn't a big deal. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -1266,12 +1266,12 @@ bond_enable_slave(struct bond_slave *slave, bool enable, struct tag_set *tags)
|
|||||||
if (enable != slave->enabled) {
|
if (enable != slave->enabled) {
|
||||||
slave->enabled = enable;
|
slave->enabled = enable;
|
||||||
if (!slave->enabled) {
|
if (!slave->enabled) {
|
||||||
VLOG_WARN("interface %s: disabled", slave->name);
|
VLOG_INFO("interface %s: disabled", slave->name);
|
||||||
if (tags) {
|
if (tags) {
|
||||||
tag_set_add(tags, slave->tag);
|
tag_set_add(tags, slave->tag);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
VLOG_WARN("interface %s: enabled", slave->name);
|
VLOG_INFO("interface %s: enabled", slave->name);
|
||||||
slave->tag = tag_create_random();
|
slave->tag = tag_create_random();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1437,7 +1437,7 @@ bond_choose_active_slave(struct bond *bond, struct tag_set *tags)
|
|||||||
|
|
||||||
bond->send_learning_packets = true;
|
bond->send_learning_packets = true;
|
||||||
} else if (old_active_slave) {
|
} else if (old_active_slave) {
|
||||||
VLOG_WARN_RL(&rl, "bond %s: all interfaces disabled", bond->name);
|
VLOG_INFO_RL(&rl, "bond %s: all interfaces disabled", bond->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user