Re: [clue] AD Review: draft-ietf-clue-protocol-13

Simon Pietro Romano <spromano@unina.it> Fri, 07 September 2018 12:38 UTC

Return-Path: <spromano@unina.it>
X-Original-To: clue@ietfa.amsl.com
Delivered-To: clue@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54587130DD3 for <clue@ietfa.amsl.com>; Fri, 7 Sep 2018 05:38:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iqXcd7FTaEAd for <clue@ietfa.amsl.com>; Fri, 7 Sep 2018 05:38:43 -0700 (PDT)
Received: from unina.it (fmvip.unina.it [IPv6:2001:760:3403:ffff::7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E421312872C for <clue@ietf.org>; Fri, 7 Sep 2018 05:38:42 -0700 (PDT)
Received: from smtp1.unina.it (smtp1.unina.it [192.132.34.61]) by leas1.unina.it with ESMTP id w87CcVsE015373-w87CcVsG015373 (version=TLSv1.0 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Sep 2018 14:38:31 +0200
Received: from 10-20-48-102.0200.fed.it.iosda.org ([143.225.56.164]) (authenticated bits=0) by smtp1.unina.it (8.14.4/8.14.4) with ESMTP id w87CcUGs001820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Sep 2018 14:38:31 +0200
From: Simon Pietro Romano <spromano@unina.it>
Message-Id: <B878D489-4AF6-40D1-8F0D-A99588EA6249@unina.it>
Content-Type: multipart/signed; boundary="Apple-Mail=_C2DF7914-3FDA-45E0-8032-6B3D54E76DA9"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Fri, 07 Sep 2018 14:38:27 +0200
In-Reply-To: <6E58094ECC8D8344914996DAD28F1CCD8BB684@DGGEMM506-MBX.china.huawei.com>
Cc: "clue@ietf.org" <clue@ietf.org>, Adam Roach <adam@nostrum.com>, Roberta Presta <roberta.presta@unina.it>
To: "Roni Even (A)" <roni.even@huawei.com>
References: <a30828ea-1db8-fccd-9c2b-ddc0a1dcb08d@nostrum.com> <8D2EDAF8-014E-477A-AECD-79D944EA4503@unina.it> <ac30c041-b269-484f-023a-0e8723133a5c@nostrum.com> <216405E3-5A89-4FF2-9C89-CEDA03BF6A04@unina.it> <3fdd8d7e-fcc6-7bac-0d03-3873973a875d@nostrum.com> <8DAFF0AE-34FC-473E-B9F0-31DA32ED22BF@unina.it> <6E58094ECC8D8344914996DAD28F1CCD8BB398@DGGEMM506-MBX.china.huawei.com> <8CE6B2EA-1B7E-453C-9ACD-C2377C879358@unina.it> <6E58094ECC8D8344914996DAD28F1CCD8BB684@DGGEMM506-MBX.china.huawei.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/clue/-qW0xGaloGVtnJoDEzWKRTREAzQ>
Subject: Re: [clue] AD Review: draft-ietf-clue-protocol-13
X-BeenThere: clue@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CLUE - ControLling mUltiple streams for TElepresence <clue.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/clue>, <mailto:clue-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/clue/>
List-Post: <mailto:clue@ietf.org>
List-Help: <mailto:clue-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/clue>, <mailto:clue-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Sep 2018 12:38:49 -0000

Dear Roni,

you’re actually right.

A <configuredContent> element is used in a configure message to specify the content of a requested MCC both at a <sceneViewIDREF> level and at a <mediaCaptureIDREF> level. This means we might encounter the issue also with the xs:IDREF type of the  <mediaCaptureIDREF> element.

The quickest solution is to change the type of both <sceneViewIDREF> and <mediaCaptureIDREF> into xs:string in the <configuredContent> type definition (i.e. in the definition of type “contentType”).
Otherwise (and perhaps more properly), a new content type for <configuredContent> can be introduced, having this time <sceneViewIDREF> and <mediaCaptureIDREF> as xs:string.

We’re ok with either of the above and ready to make the necessary modifications to the data model.

Thanks for the feedback!

Simon


                     				            _\\|//_
                           				   ( O-O )
      ~~~~~~~~~~~~~~~~~~~~~~o00~~(_)~~00o~~~~~~~~~~~~~~~~~~~~~~~~
                    				Simon Pietro Romano
             				 Universita' di Napoli Federico II
                		     Computer Engineering Department
	             Phone: +39 081 7683823 -- Fax: +39 081 7683816
                                           e-mail: spromano@unina.it

		    <<Molti mi dicono che lo scoraggiamento è l'alibi degli
		    idioti. Ci rifletto un istante; e mi scoraggio>>. Magritte.
               			                     oooO
       ~~~~~~~~~~~~~~~~~~~~~~~(   )~~~ Oooo~~~~~~~~~~~~~~~~~~~~~~~~~
					                 \ (            (   )
			                                  \_)          ) /
                                                                       (_/



> Il giorno 12 ago 2018, alle ore 09:05, Roni Even (A) <roni.even@huawei.com> ha scritto:
> 
> Hi Simon,
> Just to clarify the issue you pointed out in the configure message about
> 
>            <configuredContent>
>            <sceneViewIDREF>SE1</sceneViewIDREF>
>            </configuredContent>
> 
> Your suggestion is to  change the <sceneViewIDREF> from  type “IDREF” to type “xs:string”.
> 
> 
> In the data model  captureEncoding  which is part of the configure message includes
> 
> <xs:element name="configuredContent" type="contentType"   minOccurs="0"/>
> 
> And
> 
> <!-- CONTENT TYPE -->
> <xs:complexType name="contentType">
> <xs:sequence>
>   <xs:element name="mediaCaptureIDREF" type="xs:IDREF"
>   minOccurs="0" maxOccurs="unbounded"/>
>   <xs:element name="sceneViewIDREF" type="xs:IDREF"
>   minOccurs="0" maxOccurs="unbounded"/>
>   <xs:any namespace="##other" processContents="lax" minOccurs="0"
>   maxOccurs="unbounded"/>
> </xs:sequence>
> <xs:anyAttribute namespace="##other" processContents="lax"/>
> </xs:complexType>
> 
> 
> 
> So is the proposal to change it to
> 
> 
> <!-- CONTENT TYPE -->
> <xs:complexType name="contentType">
> <xs:sequence>
>   <xs:element name="mediaCaptureIDREF" type="xs:IDREF"
>   minOccurs="0" maxOccurs="unbounded"/>
>   <xs:element name="sceneViewIDREF" type="xs:string"
>   minOccurs="0" maxOccurs="unbounded"/>
>   <xs:any namespace="##other" processContents="lax" minOccurs="0"
>   maxOccurs="unbounded"/>
> </xs:sequence>
> <xs:anyAttribute namespace="##other" processContents="lax"/>
> </xs:complexType>
> 
> 
> Or since sceneViewIDREF appears in other places in the data model change to:
> 
> <!-- CONTENT TYPE -->
> <xs:complexType name="contentType">
> <xs:sequence>
>   <xs:element name="mediaCaptureIDREF" type="xs:IDREF"
>   minOccurs="0" maxOccurs="unbounded"/>
>   <xs:element name="sceneViewID" type="xs:string"
>   minOccurs="0" maxOccurs="unbounded"/>
>   <xs:any namespace="##other" processContents="lax" minOccurs="0"
>   maxOccurs="unbounded"/>
> </xs:sequence>
> <xs:anyAttribute namespace="##other" processContents="lax"/>
> </xs:complexType>
> 
> 
> The other question was about the other element in the contetType mediaCaptureIDREF defined as
> 
> <xs:element name="mediaCaptureIDREF" type="xs:IDREF"   minOccurs="0" maxOccurs="unbounded"/>
> 
> Is there a problem with it too?
> 
> Thanks
> Roni
> 
> 
> -----Original Message-----
> From: Simon Pietro Romano [mailto:spromano@unina.it]
> Sent: Friday, August 10, 2018 3:00 AM
> To: Roni Even (A)
> Cc: clue@ietf.org; Adam Roach
> Subject: Re: [clue] AD Review: draft-ietf-clue-protocol-13
> 
> Hello Roni,
> 
>> Are you suggesting a change in the CLUE data model draft the configuredContent?
> 
> 
> No, we would just like to change the <sceneViewIDREF> form type “IDREF” to type “xs:string”.
> 
> Cheers,
> 
> Simon
>                     				            _\\|//_
>                           				   ( O-O )
>      ~~~~~~~~~~~~~~~~~~~~~~o00~~(_)~~00o~~~~~~~~~~~~~~~~~~~~~~~~
>                    				Simon Pietro Romano
>             				 Universita' di Napoli Federico II
>                		     Computer Engineering Department
> 	             Phone: +39 081 7683823 -- Fax: +39 081 7683816
>                                           e-mail: spromano@unina.it
> 
> 		    <<Molti mi dicono che lo scoraggiamento è l'alibi degli
> 		    idioti. Ci rifletto un istante; e mi scoraggio>>. Magritte.
>               			                     oooO
>       ~~~~~~~~~~~~~~~~~~~~~~~(   )~~~ Oooo~~~~~~~~~~~~~~~~~~~~~~~~~
> 					                 \ (            (   )
> 			                                  \_)          ) /
>                                                                       (_/
> 
> 
> 
>> Il giorno 09 ago 2018, alle ore 03:29, Roni Even (A) <roni.even@huawei.com> ha scritto:
>> 
>> Hi Simon,
>> Are you suggesting a change in the CLUE data model draft the configuredContent?
>> In this case I was wondering since the configuredContent is of type contentType which also has mediaCaptureIDREF which will not parse in configure message.
>> Can you please explain?
>> 
>> Roni Even as individual
>> 
>> 
>> 
>> 
>> From: clue [mailto:clue-bounces@ietf.org] On Behalf Of Simon Pietro
>> Romano
>> Sent: Monday, August 06, 2018 1:09 PM
>> To: Adam Roach
>> Cc: clue@ietf.org
>> Subject: Re: [clue] AD Review: draft-ietf-clue-protocol-13
>> 
>> Hello Adam!
>> 
>> version -16 of the draft had just been posted. You’ll find there a whole new section (section 10) about the requested call flow. We have added validated excerpts of all of the messages.
>> You’ll notice that we put the following note at the end of the introductory part of section 10:
>> 
>> [[NOTE TO IANA/RFC-EDITOR: For sections 10.1 through 10.9, please
>> replace the clue-protocol xsi:schemaLocation URL (which is currently
>> set to
>> http://wpage.unina.it/spromano/clue-protocol-15-schema-file..xsd) with
>> the right (and final) URL for this specification. The URL ib question
>> is a temporary one, which was published on-line in order to allow for
>> proper validation of the XML excerpts contained in the call flow
>> sections.]]
>> 
>> This was needed because we had to refer to the clue protocol schema file in order to validate the messages.
>> 
>> Please read below for a further (minor) issue we encountered…
>> 
>> **********************************************************************
>> ******************************************************************
>> NOTE TO THE GROUP, DATA MODEL RELATED:
>> 
>> While doing the call flow homework, we realized there’s a minor modification that would be desirable inside the data model schema. Namely, there is a “sceneViewIDREF” field that we defined ad IDREF (In terms of XML datatypes). This seemed OK at that time. Though, we now realized that it prevents correct validation of CONFIGURE messages, An example of the mentioned issue can be found in the (NOT currently valid) “Conf+Ack” excerpt I am attaching g below (where the culprit is in bold):
>> 
>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:configure
>> xmlns="urn:ietf:params:xml:ns:clue-info"
>> xmlns:ns2="urn:ietf:params:xml:ns:clue-protocol"
>> xmlns:ns3="urn:ietf:params:xml:ns:vcard-4.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="urn:ietf:params:xml:ns:clue-protocol http://wpage.unina.it/spromano/clue-protocol-15-schema-file.xsd"
>> protocol="CLUE" v="2.7">
>>    <ns2:clueId>CP2</ns2:clueId>
>>    <ns2:sequenceNr>22</ns2:sequenceNr>
>>    <ns2:advSequenceNr>11</ns2:advSequenceNr>
>>    <ns2:ack>200</ns2:ack>
>>    <ns2:captureEncodings>
>>        <captureEncoding ID="ce123">
>>           <captureID>AC0</captureID>
>>           <encodingID>ENC4</encodingID>
>>        </captureEncoding>
>>        <captureEncoding ID="ce223">
>>           <captureID>VC3</captureID>
>>           <encodingID>ENC1</encodingID>
>>           <configuredContent>
>>              <sceneViewIDREF>SE1</sceneViewIDREF>
>>           </configuredContent>
>>       </captureEncoding>
>>    </ns2:captureEncodings>
>> </ns2:configure>
>> 
>> In order to sort this issue out, it would be sufficient to modify the above mentioned IDREF type and let it become a simpler xs:string. With this modification, we might seamlessly reuse such a data model structure inside CLUE Configure messages (and not just inside Advertisements when describing MCC captures). Do you all agree on this proposal?
>> 
>> **********************************************************************
>> ******************************************************************
>> 
>> Cheers,
>> 
>> Simon
>> 
>> 
>> 
>> 
>>                                                                        _\\|//_
>>                                                                           ( O-O )
>>      ~~~~~~~~~~~~~~~~~~~~~~o00~~(_)~~00o~~~~~~~~~~~~~~~~~~~~~~~~
>>                                                            Simon Pietro Romano
>>                                                             Universita' di Napoli Federico II
>>                                         Computer Engineering Department
>>                         Phone: +39 081 7683823 -- Fax: +39 081 7683816
>>                                           e-mail: spromano@unina.it
>> 
>>                            <<Molti mi dicono che lo scoraggiamento è l'alibi degli
>>                            idioti. Ci rifletto un istante; e mi scoraggio>>. Magritte.
>>                                                                     oooO
>>       ~~~~~~~~~~~~~~~~~~~~~~~(   )~~~ Oooo~~~~~~~~~~~~~~~~~~~~~~~~~
>>                                                                             \ (            (   )
>>                                                                      \_)          ) /
>> 
>> (_/
>> 
>> 
>> 
>> 
>> Il giorno 18 mag 2018, alle ore 04:54, Adam Roach <adam@nostrum.com> ha scritto:
>> 
>> [re-sending due to an IETF mailing list server outage]
>> 
>> On 4/11/18 12:31 PM, Simon Pietro Romano wrote:
>> 
>> Hello Adam!
>> 
>> We finally managed to get our review done. Please find our answers in-line, [SPR]-prefixed, as usual.
>> 
>> ...
>> 
>> 
>> [SPR] We have not yet added this consideration to the draft. I personally believe this makes sense. Do you think we should add this as a general consideration when introducing the overall state machines?
>> 
>> That would probably be an improvement, yes.
>> 
>> ...
>> 
>> 
>> [SPR] We will keep this as an Action Point for us, to be fulfilled before submitting the very last version of the draft.
>> 
>> 
>> Just a heads up that I'm waiting for the document to incorporate these two open items before progressing it. Thanks!
>> 
>> /a
>