> 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/plugins/openvswitch/ovs_models_v2py.md).

# ovs\_models\_v2.py

定义了继承自model\_base.BASEV2的四个类。

* NetworkBinding代表虚拟网和物理网的绑定。
* TunnelAllocation代表隧道id的分配状态。
* TunnelEndpoint代表隧道的一个端点。
* VlanAllocation代表物理网上的vlan id的分配状态。

这些模型类供ovs\_db\_v2.py进行使用。
