Re: [P2PSIP] Jari Arkko's Discuss on draft-ietf-p2psip-diagnostics-19: (with DISCUSS)

"Songhaibin (A)" <haibin.song@huawei.com> Sat, 30 January 2016 06:47 UTC

Return-Path: <haibin.song@huawei.com>
X-Original-To: p2psip@ietfa.amsl.com
Delivered-To: p2psip@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB5021B3012; Fri, 29 Jan 2016 22:47:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham
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 oykDmM-v2dJ2; Fri, 29 Jan 2016 22:47:12 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65C4A1B3010; Fri, 29 Jan 2016 22:47:11 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CHR36722; Sat, 30 Jan 2016 06:47:07 +0000 (GMT)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.235.1; Sat, 30 Jan 2016 06:47:06 +0000
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.112]) by nkgeml412-hub.china.huawei.com ([10.98.56.73]) with mapi id 14.03.0235.001; Sat, 30 Jan 2016 14:46:59 +0800
From: "Songhaibin (A)" <haibin.song@huawei.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, Jari Arkko <jari.arkko@piuha.net>
Thread-Topic: [P2PSIP] Jari Arkko's Discuss on draft-ietf-p2psip-diagnostics-19: (with DISCUSS)
Thread-Index: AQHRSTbRdacASYAuakGMpQDKz6bJNp8TwUYg
Date: Sat, 30 Jan 2016 06:46:58 +0000
Message-ID: <E33E01DFD5BEA24B9F3F18671078951F65DB82BF@nkgeml513-mbx.china.huawei.com>
References: <20151217072025.29734.77582.idtracker@ietfa.amsl.com> <E33E01DFD5BEA24B9F3F18671078951F65DAC93C@nkgeml513-mbx.china.huawei.com> <11E81FFA-7187-43B4-BA99-40859D835FDD@piuha.net> <78ECC973-EF0E-40F1-8C26-F060F033563E@isode.com>
In-Reply-To: <78ECC973-EF0E-40F1-8C26-F060F033563E@isode.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.79.145]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.56AC5C6C.0016, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.1.112, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 99c68bdb8ca737a48f4d56189c9b31fc
Archived-At: <http://mailarchive.ietf.org/arch/msg/p2psip/KDhwYOO1-INlEHJt1-M8PcCxnLc>
Cc: "p2psip-chairs@ietf.org" <p2psip-chairs@ietf.org>, "draft-ietf-p2psip-diagnostics@ietf.org" <draft-ietf-p2psip-diagnostics@ietf.org>, The IESG <iesg@ietf.org>, "p2psip@ietf.org" <p2psip@ietf.org>
Subject: Re: [P2PSIP] Jari Arkko's Discuss on draft-ietf-p2psip-diagnostics-19: (with DISCUSS)
X-BeenThere: p2psip@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Peer-to-Peer SIP working group discussion list <p2psip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/p2psip>, <mailto:p2psip-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/p2psip/>
List-Post: <mailto:p2psip@ietf.org>
List-Help: <mailto:p2psip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/p2psip>, <mailto:p2psip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Jan 2016 06:47:15 -0000

Dear Alexey and Jari,

Accept the text what Jari suggested. And now it is clear.

BR,
-Haibin Song

> -----Original Message-----
> From: Alexey Melnikov [mailto:alexey.melnikov@isode.com]
> Sent: Thursday, January 07, 2016 6:36 PM
> To: Jari Arkko; Songhaibin (A)
> Cc: The IESG; p2psip-chairs@ietf.org; draft-ietf-p2psip-diagnostics@ietf.org;
> p2psip@ietf.org
> Subject: Re: [P2PSIP] Jari Arkko's Discuss on draft-ietf-p2psip-diagnostics-19:
> (with DISCUSS)
> 
> Hi,
> 
> > On 7 Jan 2016, at 00:34, Jari Arkko <jari.arkko@piuha.net> wrote:
> >
> >
> >> In Section 5.3, it says "The dMFlags field described above is a 64 bit field
> that allows initiator nodes to identify up to 62 items of base information to
> request in a request message (the first and last flags being reserved)." 62 bits
> can be used to indicate up to 62 diagnostic Kinds, but dMFlags reserves all "0"s
> that means nothing is requested, and all "1"s that means everything is
> requested. But at the same time, the first and last bits cannot be used for
> other purposes.
> >
> > Right. Can that be explained somewhere, and can Section 9.1 show the
> > two aspects? That is, the all 0s/1s *and* first and last bits being
> > reserved? The current text does not reserve the first and last bits.
> > It only reserves the all 0s and all 1s...
> 
> I thought the same.
> >
> >    +-------------------------+------------------------------+----------+
> >    |  diagnostic information |diagnostic flag in dMFlags    | RFC      |
> >    |-------------------------+------------------------------+----------|
> >    |Reserved                 | 0x 0000 0000 0000 0000
> |RFC-[TBDX]|
> >    |STATUS_INFO              | 0x 0000 0000 0000 0001
> |RFC-[TBDX]|
> >    |ROUTING_TABLE_SIZE       | 0x 0000 0000 0000 0002
> |RFC-[TBDX]|
> >    |PROCESS_POWER            | 0x 0000 0000 0000 0004
> |RFC-[TBDX]|
> >    |UPSTREAM_BANDWIDTH       | 0x 0000 0000 0000 0008
> |RFC-[TBDX]|
> >    |DOWNSTREAM_ BANDWIDTH    | 0x 0000 0000 0000 0010
> |RFC-[TBDX]|
> >    |SOFTWARE_VERSION         | 0x 0000 0000 0000 0020
> |RFC-[TBDX]|
> >    |MACHINE_UPTIME           | 0x 0000 0000 0000 0040
> |RFC-[TBDX]|
> >    |APP_UPTIME               | 0x 0000 0000 0000 0080
> |RFC-[TBDX]|
> >    |MEMORY_FOOTPRINT         | 0x 0000 0000 0000 0100
> |RFC-[TBDX]|
> >    |DATASIZE_STORED          | 0x 0000 0000 0000 0200
> |RFC-[TBDX]|
> >    |INSTANCES_STORED         | 0x 0000 0000 0000 0400
> |RFC-[TBDX]|
> >    |MESSAGES_SENT_RCVD       | 0x 0000 0000 0000 0800
> |RFC-[TBDX]|
> >    |EWMA_BYTES_SENT          | 0x 0000 0000 0000 1000
> |RFC-[TBDX]|
> >    |EWMA_BYTES_RCVD          | 0x 0000 0000 0000 2000
> |RFC-[TBDX]|
> >    |UNDERLAY_HOP             | 0x 0000 0000 0000 4000
> |RFC-[TBDX]|
> >    |BATTERY_STATUS           | 0x 0000 0000 0000 8000
> |RFC-[TBDX]|
> >    |Reserved                 | 0x FFFF FFFF FFFF FFFF
> |RFC-[TBDX]|
> >    +-------------------------+------------------------------+----+
> >
> > But maybe I'm missing something.
> >
> > I thought the text above should be something like this instead:
> 
> Exactly my point. If what Jari suggests is not true, then the text needs even
> more work.
> >
> >    +-------------------------+------------------------------+----------+
> >    |  diagnostic information |diagnostic flag in dMFlags    | RFC      |
> >    |-------------------------+------------------------------+----------|
> >    |Reserved All 0s value   | 0x 0000 0000 0000 0000
> |RFC-[TBDX]|
> >    |Reserved First Bit    | 0x 0000 0000 0000 0001       |RFC-[TBDX]|
> >    |STATUS_INFO              | 0x 0000 0000 0000 0002
> |RFC-[TBDX]|
> >    |ROUTING_TABLE_SIZE       | 0x 0000 0000 0000 0004
> |RFC-[TBDX]|
> >    |PROCESS_POWER            | 0x 0000 0000 0000 0008
> |RFC-[TBDX]|
> >    |UPSTREAM_BANDWIDTH       | 0x 0000 0000 0000 0010
> |RFC-[TBDX]|
> >    |DOWNSTREAM_ BANDWIDTH    | 0x 0000 0000 0000 0020
> |RFC-[TBDX]|
> >    |SOFTWARE_VERSION         | 0x 0000 0000 0000 0040
> |RFC-[TBDX]|
> >    |MACHINE_UPTIME           | 0x 0000 0000 0000 0080
> |RFC-[TBDX]|
> >    |APP_UPTIME               | 0x 0000 0000 0000 0100
> |RFC-[TBDX]|
> >    |MEMORY_FOOTPRINT         | 0x 0000 0000 0000 0200
> |RFC-[TBDX]|
> >    |DATASIZE_STORED          | 0x 0000 0000 0000 0400
> |RFC-[TBDX]|
> >    |INSTANCES_STORED         | 0x 0000 0000 0000 0800
> |RFC-[TBDX]|
> >    |MESSAGES_SENT_RCVD       | 0x 0000 0000 0000 1000
> |RFC-[TBDX]|
> >    |EWMA_BYTES_SENT          | 0x 0000 0000 0000 2000
> |RFC-[TBDX]|
> >    |EWMA_BYTES_RCVD          | 0x 0000 0000 0000 4000
> |RFC-[TBDX]|
> >    |UNDERLAY_HOP             | 0x 0000 0000 0000 8000
> |RFC-[TBDX]|
> >    |BATTERY_STATUS           | 0x 0000 0000 0001 0000
> |RFC-[TBDX]|
> >    |Reserved Last Bit              | 0x 8000 0000 0000 0000
> |RFC-[TBDX]|
> >    |Reserved All 1s Value       | 0x FFFF FFFF FFFF FFFF
> |RFC-[TBDX]|
> >    +-------------------------+------------------------------+----+
> >
> >>
> >>>
> >>> Also, Section 5.3 uses "delimited" when it probably should have said
> >>> "terminated", unless there's more substructure in the
> >>> SOFTWARE_VERSION string than is identified by the text.
> >>
> >> It is the language problem and accepted.
> >
> > Thanks!
> >
> > Jari
> >