There is an option to run a L3 metering agent that will enable layer 3 traffic metering. In general case the metering agent should be launched on all nodes that run the L3 agent:
neutron-metering-agent --config-file <neutron config> --config-file <l3 metering config>
A driver needs to be configured that matches the plug-in running on the service. The driver is used to add metering to the routing interface.
Parameter | Value |
---|---|
Open vSwitch | |
interface_driver ($NEUTRON_CONF_DIR/metering_agent.ini) | neutron.agent.linux.interface.OVSInterfaceDriver |
Linux Bridge | |
interface_driver ($NEUTRON_CONF_DIR/metering_agent.ini) | neutron.agent.linux.interface.BridgeInterfaceDriver |