bridge: Log port destruction
authorJustin Pettit <jpettit@nicira.com>
Thu, 21 Oct 2010 22:37:57 +0000 (15:37 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 21 Oct 2010 22:43:06 +0000 (15:43 -0700)
We log when we create a port, so let's log when we destroy one for
parity.

vswitchd/bridge.c

index 24c36405c051499fd34a77f13e53305d9d4b00e3..aee84d8a6e3870564fc0de3e13b62e706fa91423 100644 (file)
@@ -3564,6 +3564,8 @@ port_destroy(struct port *port)
         del = br->ports[port->port_idx] = br->ports[--br->n_ports];
         del->port_idx = port->port_idx;
 
+        VLOG_INFO("destroyed port %s on bridge %s", port->name, br->name);
+
         netdev_monitor_destroy(port->monitor);
         free(port->ifaces);
         bitmap_free(port->trunks);