> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/openstack_code_neutron/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/openstack_code_neutron/neutron/db/extensions/metering.md).

# metering

包括metering\_db.py和metering\_rpc.py。

前者跟firewall\_db.py类似，定义了metering的资源和操作实现类。

后者主要定义了MeteringRpcCallbacks类。
