<html><head></head><body bgcolor="#FFFFFF"><div><div style="text-align: left;direction: ltr; ">+1</div><div style="text-align: left;direction: ltr; "><br></div><div style="text-align: left;direction: ltr; ">Long ago it was not enforced and then changed.</div><div style="text-align: left;direction: ltr; ">The motivation for the enforcing as I recall was that for VMs this was also the guest system ID. I don't know if this is the case now days.</div><br><div style="text-align: left;direction: ltr; "><br></div><div style="text-align: left;direction: ltr; ">Regards,</div><div style="text-align: left;direction: ltr; ">Simon</div><div style="text-align: left;direction: ltr; "><br></div><div style="text-align: left;direction: ltr; ">Sent from my iPhone, please excuse any typos.</div></div><div><br>ב-31 באוג 2012, בשעה 00:19, Saggi Mizrahi <<a href="mailto:smizrahi@redhat.com">smizrahi@redhat.com</a>> כתב/ה:<br><br></div><div></div><blockquote type="cite"><div><span>Hi, in the API a lot of IDs get passed around are UUIDs.</span><br><span>The point is that as long as you are not the entity generating the UUIDs the fact that these are UUIDs have no real significance to you.</span><br><span>I suggest removing the validation of UUIDs from the receiving end. There is no real reason to make sure these are real UUIDs.</span><br><span>It's another restriction we can remove from the interface simplifying the code and the interface.</span><br><span></span><br><span>Just to be clear I'm not saying that we should stop using UUIDs.</span><br><span>For example, vdsm will keep generating task IDs as UUIDs. But the documentation will state that it could be *any* string value.</span><br><span>If for some reason we choose to change the format of task IDs. There will be no need to change the interface.</span><br><span></span><br><span>The same goes for VM IDs. Currently the engine uses UUIDs but there is no reason for VDSM to enforce this and limit the engine from ever changing it in the future and using other string values.</span><br><span>_______________________________________________</span><br><span>Arch mailing list</span><br><span><a href="mailto:Arch@ovirt.org">Arch@ovirt.org</a></span><br><span><a href="http://lists.ovirt.org/mailman/listinfo/arch">http://lists.ovirt.org/mailman/listinfo/arch</a></span><br></div></blockquote></body></html>