[ovs-dev] [PATCH v1] xenserver: Add vm-id to the external_ids.

Ben Pfaff blp at nicira.com
Tue Mar 6 20:51:45 UTC 2012


On Tue, Mar 06, 2012 at 11:46:54AM -0800, Gurucharan Shetty wrote:
> The vm-id external id in the interface table will uniquely identify a VM
> that is connected to a bridge through that interface.
> 
> In xenserver, this will have the same value as the external id - xs-vm-uuid
> and can be overridden by setting the nicira-vm-id key in the other_config
> field of VM record of XAPI.
> 
> Bug #10020.
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

This looks good to me, but I would guess that we should cache the
xs-vm-uuid to vm-id mapping in the same way that we currently cache the
xs-vif-uuid to iface-id mapping.  Did you consider that?

Thanks,

Ben.



More information about the dev mailing list