struct iface *local_iface = NULL;
uint8_t ea[8];
uint64_t dpid;
+ struct svec nf_hosts;
for (j = 0; j < port->n_ifaces; ) {
struct iface *iface = port->ifaces[j];
}
ofproto_set_datapath_id(br->ofproto, dpid);
+ /* Set NetFlow configuration on this bridge. */
+ svec_init(&nf_hosts);
+ cfg_get_all_keys(&nf_hosts, "netflow.%s.host", br->name);
+ svec_print(&nf_hosts, "Netflow");
+ if (ofproto_set_netflow(br->ofproto, &nf_hosts)) {
+ VLOG_ERR("bridge %s: problem setting netflow collectors",
+ br->name);
+ }
+
/* Set the controller. (It would be more straightforward to do
* this in bridge_reconfigure_one(), but then the
* ofproto_set_datapath_id() above would disconnect right away, and