On 4/9/12 5:09 PM, Nikhil wrote:
Hello Friends,


Kindly help me in understanding how OpenvSwtich Quantum Plugin gets MAC address?

I checked the '/ovs_quantum'/ database, none of the tables persist MAC address. Where as OVS do have this information (Interface table ofexternal_ids). Please explain me where its gets this information.


As per my understanding, OpenStack Nova creates MAC address for VM and OVS Quantum plugin talks only with Quantum. So how is it getting MAC address.

I recommend using the disc...@openvswitch.org for better responses about this.

Anyways, the Quantum OVS agent running in the Host fetches the MAC address from the OVS database and send to the Quantum.

Have a look in here (get_vif_ports):
https://github.com/openstack/quantum/blob/master/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py

--
Luiz Henrique Ozaki

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to