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

Ben Pfaff blp at nicira.com
Mon Mar 5 23:29:20 UTC 2012


[adding Dan since he pushed a lot of this configurability originally]

On Mon, Mar 05, 2012 at 11:17:27AM -0800, Gurucharan Shetty wrote:
> The vm-uuid 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.

When we designed the various "id" members, we ended up with:

    - system-id, which is the host-uuid from XAPI on XenServer.

    - iface-id, which defaults to xs-vif-uuid on XenServer but the
      administrator can override via XAPI with
      other-config:nicira-iface-id.

    - bridge-id, which defaults to xs-network-uuids on XenServer but
      the administrator can override via XAPI with nicira-bridge-id. 

    - xs-vif-uuid on XenServer.

This changes the latter to:

    - vif-uuid, which is xs-vif-uuid on XenServer.

So, for symmetry, should we:

    1. Use "vif-id" as the name (instead of "vif-uuid").

    2. Add a way to override the vif-(uu)id on XenServer via XAPI with
       other-config:nicira-vif-id?

Thanks,

Ben.



More information about the dev mailing list