Atom feed of this document
  
 

 Configure metering agent

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

  1. Install the agent by running:

    # apt-get install neutron-metering-agent
    [Note]Package name prior to Icehouse

    In releases of Neutron prior to Icehouse, this package was named neutron-plugin-metering-agent.

  2. 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
  3. To use the reference implementation, you must set:

    driver = neutron.services.metering.drivers.iptables.iptables_driver.IptablesMeteringDriver
  4. Set this parameter in the neutron.conf file on the host that runs neutron-server:

    service_plugins = neutron.services.metering.metering_plugin.MeteringPlugin
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...