Feature request: bandwidth accounting on selected bridges only

We offer some customers 2 network interfaces on their VMs: one connected to a "public" switch with a public (routable) IP address, another connected to a "private" switch which has no WAN uplink and uses private IP space (eg. 10.1.2.3/24)

Each interface is connected to a different bridge on the XenServer host, in our case xenbr2 is "public" and xenbr3 is "private". xapi1 is our storage network.

Output of brctl show:

bridge name bridge id STP enabled interfaces
xapi1 0000.001d92eeef45 no bond0
eth1
eth0
xenbr2 0000.001b21ce0133 no eth2
vif1.0
vif2.0
vif4.0
vif5.0
vif6.0
vif7.0
vif8.0
vif8.1
vif9.0
vif10.0
xenbr3 0000.001d92eeef46 no eth3
vif5.1
vif9.1

What we would like is for the bandwidth accounting script to only collect stats for interfaces which are connected to xenbr2 ("public") - this way we can offer unlimited transfer on the private IP network.

Ideally the bridges to include in the bandwidth stats would be selectable on the host configuration page under Network options.

Status: 
Closed (fixed)

Comments

Oops. Just found the "Bandwidth collection options" form on the Network Interfaces page... I think that will do the trick :-)

Cool .. I was just about to suggest you use those options.

Why was this feature removed?

It was never removed - although you won't see the option on a VM with only one interface.