Re: [forces] [Sdnp] a few initial comments on draft-haleplidis-forces-openflow-lib-00

"Haleplidis Evangelos" <ehalep@gmail.com> Wed, 30 May 2012 22:40 UTC

Return-Path: <ehalep@gmail.com>
X-Original-To: forces@ietfa.amsl.com
Delivered-To: forces@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62E0E11E8073 for <forces@ietfa.amsl.com>; Wed, 30 May 2012 15:40:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.224
X-Spam-Level:
X-Spam-Status: No, score=-2.224 tagged_above=-999 required=5 tests=[AWL=-1.375, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_LOW=-1]
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 6Q4I7qmKxcTl for <forces@ietfa.amsl.com>; Wed, 30 May 2012 15:40:19 -0700 (PDT)
Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by ietfa.amsl.com (Postfix) with ESMTP id F1A7121F85C5 for <forces@ietf.org>; Wed, 30 May 2012 15:40:16 -0700 (PDT)
Received: by wgbdr13 with SMTP id dr13so213909wgb.13 for <forces@ietf.org>; Wed, 30 May 2012 15:40:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; bh=6juJlYBfwaQE6OzY7TSpWRHx4Gyd1q7iONBRLt8A6Ww=; b=Sf5lUodnMzHs5jD1EGgxSvr1jMs/d8tJP0hPwgPT/TwPlAnqY51MR0DjQmX72D8uTG uAVuLpZFZV3BZxrHUcBv2Z25K9NkBpKct43JidbjnCUEwRwcWyNmAhfp3wXo6AHLfCwn shVxBMNl8DNOx0f54CjQpz3RLZZ7bIQFw5+EkZk5I8MCkC5R1EEze0pxdPxRnd2izmQx JvdITZCZZi5oVP8Hs6uivZMBfsvdmtzb2iwKMpKBXnIXMI+HtoKIFJkMSaDIIcwT7Ufv /eeVS5SjLcXW4SwgSYbOmWYkwzCDY+on233zi3hlGhlj/srUErDtNtAmD7rwpHi3mKag WDew==
Received: by 10.216.195.74 with SMTP id o52mr10630678wen.178.1338417615224; Wed, 30 May 2012 15:40:15 -0700 (PDT)
Received: from EhalepXPS (ppp046177009001.dsl.hol.gr. [46.177.9.1]) by mx.google.com with ESMTPS id ei4sm3590784wid.5.2012.05.30.15.40.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 May 2012 15:40:13 -0700 (PDT)
From: Haleplidis Evangelos <ehalep@gmail.com>
To: 'Zoltán Lajos Kis' <zoltan.lajos.kis@ericsson.com>, forces@ietf.org
References: <CAHiKxWgHzbhrDCb9=d_z+k5nZxutBo4VkLdrGLGm1j1h29NCTA@mail.gmail.com> <010f01cd3df4$6773f6a0$365be3e0$@com> <3A92A63EBFD41F4196707AF266E1CDA550CB1ABC18@ESESSCMS0361.eemea.ericsson.se>
In-Reply-To: <3A92A63EBFD41F4196707AF266E1CDA550CB1ABC18@ESESSCMS0361.eemea.ericsson.se>
Date: Thu, 31 May 2012 01:40:10 +0300
Message-ID: <00dd01cd3eb5$2cb75ef0$86261cd0$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac06nxM0hIc/S7aHTbGmAq/Rp2ZmxQDSzMYgABaPTiAAG/EvsA==
Content-Language: el
Cc: sdnp@lucidvision.com
Subject: Re: [forces] [Sdnp] a few initial comments on draft-haleplidis-forces-openflow-lib-00
X-BeenThere: forces@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: ForCES WG mailing list <forces.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/forces>, <mailto:forces-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/forces>
List-Post: <mailto:forces@ietf.org>
List-Help: <mailto:forces-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/forces>, <mailto:forces-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 May 2012 22:40:20 -0000

Greetings,

Thanks for the clarification. This probably isn't the best place for this
kind of question, but since it may affect the model, I have a small
clarification question.

I understand what you said about the group. In the OF specs it says:
"If the action list list contains an output action, a copy of the packet is
forwarded in its current state to the desired port. If the list contains a
group actions, a copy of the packet in its current state is processed by the
relevant group buckets"

So from what I understand a copy of the packet is sent to the port or the
group (and never returns). What happens to the original packet? Will it
continue or will it be dropped?

A bit later from the above text it says:
"After the execution of the action list in an Apply-Actions instruction,
pipeline execution continues on the modified packet".

>From what I understand, after the copy has been done to either the group or
the output the original packet will continue on the pipeline.

Did I understood it correctly?

Regards,
Evangelos Haleplidis.

> -----Original Message-----
> From: forces-bounces@ietf.org [mailto:forces-bounces@ietf.org] On
> Behalf Of Zoltan Lajos Kis
> Sent: Wednesday, May 30, 2012 12:32 PM
> To: Haleplidis Evangelos; forces@ietf.org
> Cc: sdnp@lucidvision.com
> Subject: Re: [forces] [Sdnp] a few initial comments on draft-
> haleplidis-forces-openflow-lib-00
> 
> Hi, re. groups:
> 
> Yes, groups are terminal for packets. The OpenFlow pipeline consists of
> the flow tables only (but not the group table). At any point when a
> flow directs the packet to a port or a group, the packet leaves this
> pipeline and never returns. If the packet is sent to a group, the
> appropriate buckets are executed recursively until a bucket outputs the
> packet on a port.
> The intention of groups is to introduce a layer of indirection between
> flow entries and output ports. In cases when multiple flow entries
> would execute the same actions on a packet (including output), this can
> be defined in a group, so only the group buckets need to be changed,
> but not the flow entries themselves. Groups also provide "advanced"
> features that would be hard to describe with the OpenFlow protocol
> otherwise, like ECMP or fast failover.
> 
> Regards,
> Zoltan.
> 
> > -----Original Message-----
> > From: sdnp-bounces@lucidvision.com
> > [mailto:sdnp-bounces@lucidvision.com] On Behalf Of Haleplidis
> > Evangelos
> > Sent: Wednesday, May 30, 2012 1:40 AM
> > To: 'David Meyer'; forces@ietf.org
> > Cc: sdnp@lucidvision.com
> > Subject: Re: [Sdnp] [forces] a few initial comments on
> > draft-haleplidis-forces-openflow-lib-00
> >
> > Greetings,
> >
> > Thank you very much for your comments.
> >
> > Please see inline.
> >
> > Regards,
> > Evangelos Haleplidis.
> >
> > > -----Original Message-----
> > > From: forces-bounces@ietf.org [mailto:forces-bounces@ietf.org] On
> > > Behalf Of David Meyer
> > > Sent: Friday, May 25, 2012 8:48 PM
> > > To: forces@ietf.org
> > > Cc: sdnp@lucidvision.com
> > > Subject: [forces] a few initial comments on
> > draft-haleplidis-forces-
> > > openflow-lib-00
> > >
> > >         Great start folks. A few inital comments. General
> > >         comments here then search for dmm> in-line in the
> > attached...
> > >
> > >         Meta-comment: The document is perhaps overly perscriptive
> > >         with respect to how different functionality is
> > *implemented*.
> > >         See for example the description of Apply Actions in section
> > >         5.2.1, which is described in terms of which data structures
> > >         implement the functionality. You can see this again in the
> > >         description of FlowEntries in section 5.2.2. Other
> > high level
> > >         comments:
> > >
> > >
> > >         (i).    1.3 would be a better spec to target. I
> > >                 understand that 1.3 might not have been around
> > >                 when you started this work but it seems that 1.3
> > >                 will be the post 1.0 stable version (eventually).
> > >
> >
> > [ΕΗ] It is planned to model all current 1.x versions and as Jamal
> > pointed out, maybe not all in one document.
> >
> > >         (ii).   The modeling is in some places a little
> > >                 inaccurate (see my comments in-line), and perhaps
> > >                 a bit more complicated than necessary.
> > >
> > >         (iii).  The figures (e.g., Figure 2) are complicated and
> > >                 could use text explaining packet flow (and what
> > >                 the labels are)
> > >
> >
> > [ΕΗ] Yes, figure 2 is quite complicated. We're trying to make the
> > model less complex.
> >
> > >         (iv).   When talking about matching, it would be good to
> > >                 show explicitly how OXM match behavior is
> > >                 emulated. See the discussion of OFFlowTableLFB in
> > >                 section 5.2.1.
> > >
> >
> > [ΕΗ] A good suggestion. We will add some text. OXM as far as I
> > understand it, is mostly protocol-related. In the model, the match
> > fields of the flow table are the same. When with the protocol you
> omit
> > some match fields, it is implied that the rest of the fields are
> > consider to be wildcards. Or do I miss something?
> >
> > >         (v).    The discussion of groups in section 5.{2,3}.1 seems
> > >                 to indicate that packets can come back to the OF
> > >                 "pipeline" from a group; is that the intent (see
> > >                 my coments in-line on this).
> > >
> >
> > [ΕΗ] Yes that was the intent. The packet will come back to the OF
> > pipeline from where it came. Your comment in-line suggests that going
> > to a group is terminal for a packet.
> > However, in the 1.1 OF specification, I have found no explicit
> > indication. It does not says anywhere what happens to a packet when
> it
> > finishes processing the group, or have I missed it? Is it implied in
> > the following statement I found in the spec: "If the list contains a
> > group actions, a copy of the packet in its current state is processed
> > by the relevant group buckets"?
> >
> > >
> > >
> > >        Again, thnx for doing this work.
> > >
> > >         --dmm
> > >
> > > -
> >
> > _______________________________________________
> > SDNP mailing list
> > SDNP@lucidvision.com
> > http://lucidvision.com/mailman/listinfo/sdnp
> >
> _______________________________________________
> forces mailing list
> forces@ietf.org
> https://www.ietf.org/mailman/listinfo/forces