[Engine-devel] Vm nic active boolean should be converted to status/state=active

Mike Kolesnik mkolesni at redhat.com
Thu Jun 14 07:34:32 UTC 2012


> Hi,
> I believe we should save the REST API behavior and keep using status
> object instead of <active>true</active> for vm nics.
> 
> We should use:
> <status>
>  <state>active<state>
> </status>

Active is a binary state, why would we need a multi-state representation for it?

> 
> 
> Many rest frameworks works around that <status> object in order to
> verify element state and we shouldn't change that behavior.
> 
> This is true also for hotplug disk
> 
> Avi Tal
> Red Hat tlv
> 
> 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Devel mailing list