Starting with the Havana release, the Neutron Metering resides beside
neutron-l3-agent
.
Procedure 7.14. To install the metering agent and configure the node
Install the agent by running:
# apt-get install neutron-metering-agent
Package name prior to Icehouse In releases of Neutron prior to Icehouse, this package was named neutron-plugin-metering-agent.
If you use one of the following plugins, you need to configure the metering agent with these lines as well:
An OVS-based plug-in such as OVS, NSX, Ryu, NEC, BigSwitch/Floodlight:
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
A plug-in that uses LinuxBridge:
interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
To use the reference implementation, you must set:
driver = neutron.services.metering.drivers.iptables.iptables_driver.IptablesMeteringDriver
Set this parameter in the
neutron.conf
file on the host that runsneutron-server
:service_plugins = neutron.services.metering.metering_plugin.MeteringPlugin