Moti Asayag has posted comments on this change.

Change subject: restapi: Extend VM with provider id
......................................................................


Patch Set 3:

(2 comments)

> (2 comments)
 > 
 > Are all kinds of external host providers supposed to provide hosts
 > and also errata? Foreman, for example, doesn't provide errata. Can
 > a VM be provisioned by one system (Foreman for example) and get
 > errata from a different one? If the answer to any of these
 > questions is yes then there should be two elements, not one:
 > 
 > <vm>
 > ...
 > <external_host_provider id="a" href="..."/>
 > </katello_errata_provider id="b" href="..."/>
 > </vm>
 > 
 > There should also be a top level collection for errata providers.

Foreman was an inaccurate description of that entity and it was selected so 
users will be able to understand what stands behind 'host-external-provider'. 
On top of Foreman, there is the Katello system, which is a Foreman plugin. 
Also, there is the Satellite which is the d/s of Katello. From that point, it 
is less reasonable to have two systems installed, one for provisioning and the 
second for content-management services. The host/vm life-cycle should be 
managed by a single system which can be Foreman or Katello/Satellite, but not 
both at the same time. So, either the user has Foreman only, which is used for 
provisioning hosts/vms or Katello/Satellite for doing both provisioning and 
content management.

https://gerrit.ovirt.org/#/c/40719/3//COMMIT_MSG
Commit Message:

Line 13: (Foreman/Satellite).
Line 14: 
Line 15:   <vm>
Line 16:     ...
Line 17:     <provider id="..." href="..." />
> Should be "external_host_provider", like in the rest of the patch?
Done
Line 18:   </vm>
Line 19: 
Line 20: Change-Id: Ia923483e6ff8de8dc16dde84e61818472f59a944
Line 21: Bug-Url: https://bugzilla.redhat.com/1157377


https://gerrit.ovirt.org/#/c/40719/3/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
File 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml:

Line 98:           vm.start_paused: xs:boolean
Line 99:           vm.cpu_profile.id: xs:string
Line 100:           vm.migration.auto_converge: xs:string
Line 101:           vm.migration.compressed: xs:string
Line 102:           vm.external_host_provider.id: 'xs:string'
> Avoid the quotes around xs:string.
Done
Line 103:         description: update the virtual machine in the system for the 
given virtual machine id with the values specified in the request
Line 104: - name: /vms/{vm:id}/applications|rel=get
Line 105:   description: get all the applications installed on the vm 
identified by the given id
Line 106:   request:


-- 
To view, visit https://gerrit.ovirt.org/40719
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia923483e6ff8de8dc16dde84e61818472f59a944
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Ori Liel <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to