Ask Your Question
0

Port and VIF association

asked 2012-07-10 23:48:01 -0500

Hi, in the v2 resource model, the port has an attribute device_id which refers to the VM. Is there a way on the Quantum side to find out which VIF this port is associated with?

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2012-08-07 03:23:53 -0500

neelugaddam gravatar image

Hi,

Is the MAC address unique across different tenants/networks?

thanks

edit flag offensive delete link more
0

answered 2012-07-11 08:13:41 -0500

Thanks Salvatore and Dan for your answers.

edit flag offensive delete link more
0

answered 2012-07-11 00:00:13 -0500

salvatore-orlando gravatar image

Hi Sumit,

at the moment the Quantum v2 API does not store the nova-side uuid of the VIF plugged in a particular port. However, Quantum API generates, and stores, the MAC that will be assigned to such VIF - so you can probably use the MAC to associate Quantum ports to instances' VIFs.

edit flag offensive delete link more
0

answered 2012-07-11 00:11:40 -0500

danwent gravatar image

Yes, MAC should be unique on the VM.

Sumit, are you talking from the perspective of code that is running within Nova, or as a tenant? If its the former, I believe the current quantum/nova implementation populates the vif-id in the nw-info object using the quantum port-uuid.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-07-10 23:48:01 -0500

Seen: 32 times

Last updated: Aug 07 '12