Juan Hernandez has posted comments on this change.

Change subject: restapi: Add REST API support for iSCSI multipathing
......................................................................


Patch Set 3:

(3 comments)

What about the tests for the resources and the mapper?

http://gerrit.ovirt.org/#/c/26225/3/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
File 
backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd:

Line 4101:   <xs:complexType name="IscsiBond">
Line 4102:     <xs:complexContent>
Line 4103:         <xs:extension base="BaseResource">
Line 4104:             <xs:sequence>
Line 4105:                 <xs:element ref="data_center" minOccurs="0"/>
What is the default "maxOccurs"? Can you make it explicit?
Line 4106:                 <xs:element ref="storage_connection" minOccurs="1" 
maxOccurs="unbounded" />
Line 4107:                 <xs:element ref="network" minOccurs="1" 
maxOccurs="unbounded" />
Line 4108:             </xs:sequence>
Line 4109:         </xs:extension>


Line 4122:                 <xs:element ref="iscsi_bond" minOccurs="0" 
maxOccurs="unbounded" />
Line 4123:             </xs:sequence>
Line 4124:         </xs:extension>
Line 4125:     </xs:complexContent>
Line 4126:   </xs:complexType>
Please use two spaces for indentation, in all levels.
Line 4127: 
Line 4128:   <xs:element name="iscsi_bond" type="IscsiBond"/>
Line 4129: 
Line 4130:   <xs:element name="iscsi_bonds" type="IscsiBonds"/>


http://gerrit.ovirt.org/#/c/26225/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 4924:     body:
Line 4925:      parameterType: IscsiBond
Line 4926:      signatures:
Line 4927:      - mandatoryArguments: {}
Line 4928:        optionalArguments: {}
No parameters for update? Parameters that aren't documented here won't be 
reflected in the documentation of the Python SDK, and thus they won't be 
available in the command line interface.
Line 4929:        description: update the specified iSCSI Bond
Line 4930:     urlparams: {}
Line 4931:     headers:
Line 4932:       Content-Type: {value: application/xml|json, required: true}


-- 
To view, visit http://gerrit.ovirt.org/26225
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id8881110cbeb163e9fc09e98bf4497d894f40490
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to