[Dime] discuss encoding of bulk commands /RE: very drafty IETF#83 meeting minutes uploaded

Marco Liebsch <Marco.Liebsch@neclab.eu> Tue, 10 April 2012 14:07 UTC

Return-Path: <Marco.Liebsch@neclab.eu>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59F0421F8644 for <dime@ietfa.amsl.com>; Tue, 10 Apr 2012 07:07:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZGy5IGZ3Ng2S for <dime@ietfa.amsl.com>; Tue, 10 Apr 2012 07:07:06 -0700 (PDT)
Received: from mailer1.neclab.eu (mailer1.neclab.eu [195.37.70.40]) by ietfa.amsl.com (Postfix) with ESMTP id 6237A21F8643 for <dime@ietf.org>; Tue, 10 Apr 2012 07:07:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailer1.neclab.eu (Postfix) with ESMTP id BC560100C19; Tue, 10 Apr 2012 16:06:15 +0200 (CEST)
X-Virus-Scanned: Amavisd on Debian GNU/Linux (netlab.nec.de)
Received: from mailer1.neclab.eu ([127.0.0.1]) by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6VYCifc0Y-Cq; Tue, 10 Apr 2012 16:06:15 +0200 (CEST)
Received: from METHONE.office.hd (methone.office.hd [192.168.24.54]) by mailer1.neclab.eu (Postfix) with ESMTP id A42D2100C1C; Tue, 10 Apr 2012 16:06:05 +0200 (CEST)
Received: from Polydeuces.office.hd ([169.254.3.36]) by METHONE.office.hd ([192.168.24.54]) with mapi id 14.01.0323.003; Tue, 10 Apr 2012 16:06:55 +0200
From: Marco Liebsch <Marco.Liebsch@neclab.eu>
To: jouni korhonen <jouni.nospam@gmail.com>, "dime@ietf.org" <dime@ietf.org>
Thread-Topic: discuss encoding of bulk commands /RE: [Dime] very drafty IETF#83 meeting minutes uploaded
Thread-Index: Ac0XIvgjWikHGYgeT82w7wee0wt8Vw==
Date: Tue, 10 Apr 2012 14:06:54 +0000
Message-ID: <69756203DDDDE64E987BC4F70B71A26D24D8F56B@Polydeuces.office.hd>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.1.6.1]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [Dime] discuss encoding of bulk commands /RE: very drafty IETF#83 meeting minutes uploaded
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Apr 2012 14:07:07 -0000

Thanks for the meeting minutes. 

As the notes refer to a discussion about different means to signal bulk operation,
let's go through this exercise and evaluate the three candidates to signal
bulk commands.

Just to summarize the three alternatives according to Mark's presentation:
(a) New group commands
(b) Re-use existing commands and command codes, indicate group operation
on the attached context (AVPs) within the message, e.g. by adding group
identifier, flags, ..
(c) Single new bulk command (1 new command code), indicate Diameter command,
to which the group operation applies, within the message

Whereas I see (a) as straight forward method, a counterargument could be the
need of additional command codes for each command, which should be enabled
for group operation. Other SDOs, which specify new command codes, need
to follow the same rules and request new command codes for all existing commands
which should be bulk-operation enabled.

With (b), all existing messages could be re-used and potentially bulk operation enabled
by using a different application ID and adding an additional label to the message, e.g.
flags, Group session AVP, etc. Such approach allows much flexibil8ity, but we need
to ensure  compatibility with proxies etc, which are not bulk-operation enabled.
Possibly using a new application ID solves that issue already.

With (c), the DIME WG could specify a single dedicated command for bulk operations,
and the actual payload carries the command code of the Diameter message to be
executed as bulk operation (e.g. RAR, STR, ..) as well as the associated command's
AVP, plus a group identifier. Any existing and new command, which is so far used
for single session operations, can be bulk operation enabled. Formatting of such
bulk operation message is still open, maybe it has impact to existing applications'
command parser. If we find a suitable encoding scheme for such container message,
it's a concept that can be easily adopted by any Diameter command and application.

We'd be interested in more opinions about the different approaches and I hope that
this eMail can trigger such discussion.

marco

> -----Original Message-----
> From: dime-bounces@ietf.org [mailto:dime-bounces@ietf.org] On Behalf Of
> jouni korhonen
> Sent: Dienstag, 10. April 2012 11:53
> To: dime@ietf.org
> Subject: [Dime] very drafty IETF#83 meeting minutes uploaded
> 
> Folks,
> 
> They are up now for public review. Thanks to Shwetha for taking excellent
> minutes.
> 
> - Jouni
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime