[mpls] PW Gen FEC (129) AII Type-1 and Type-2 packet format and configuration for static/signalling

venkatesan mahalingam <venkatflex@gmail.com> Thu, 02 September 2010 09:43 UTC

Return-Path: <venkatflex@gmail.com>
X-Original-To: mpls@core3.amsl.com
Delivered-To: mpls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DD5DB3A6A99; Thu, 2 Sep 2010 02:43:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.57
X-Spam-Level:
X-Spam-Status: No, score=-1.57 tagged_above=-999 required=5 tests=[AWL=-0.725, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Hmfg1AgKoqR; Thu, 2 Sep 2010 02:43:09 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by core3.amsl.com (Postfix) with ESMTP id CFB963A6A97; Thu, 2 Sep 2010 02:38:15 -0700 (PDT)
Received: by ywk9 with SMTP id 9so120686ywk.31 for <multiple recipients>; Thu, 02 Sep 2010 02:37:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=/lquRWlyDwWIp0Phth7AGjcM1YszqRbwjlmyFwrUl0s=; b=KU1ql8FBe6Cc7tJ8ClOhEnYjIL+hNdqkFFYcAroS3P3EUOnjVbduqv34+2t3GjmvEy o117Vp7e6X1xJsLhYQ05id1gur8FeUkGHZI0OvzfJmd2kQHiuYdaZpnJJYBdVNPB+6Iv VgnDT0eXBAsgJAL9x29CYV3XbYqbekkggrzMw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XO1nhiEy7oPyZMp2fhndTATMy1MlDJF6EzRPvypvkHldOtdwldgVaZnVFZROq7JhSZ HWck6hzZGLfkbi7BzXC1s5rNNLIX8g91jkdM+UQcEV2WmAz5JpitfaWEcUZdot4sams4 6MsrEOpREGXTosAA17YKj1bmgkfALzrRmHQvs=
MIME-Version: 1.0
Received: by 10.101.87.12 with SMTP id p12mr9803223anl.73.1283420268941; Thu, 02 Sep 2010 02:37:48 -0700 (PDT)
Received: by 10.100.96.2 with HTTP; Thu, 2 Sep 2010 02:37:48 -0700 (PDT)
Date: Thu, 02 Sep 2010 15:07:48 +0530
Message-ID: <AANLkTi=A3N8C+zkZx6XH-Qxr7VzkFyTDeitozk5_aGxz@mail.gmail.com>
From: venkatesan mahalingam <venkatflex@gmail.com>
To: pwe3@ietf.org, mpls-tp@ietf.org, mpls <mpls@ietf.org>, Thomas Nadeau <tnadeau@lucidvision.com>
Content-Type: multipart/alternative; boundary="001636ed75ab3a534b048f43918b"
Subject: [mpls] PW Gen FEC (129) AII Type-1 and Type-2 packet format and configuration for static/signalling
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mpls>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Sep 2010 09:43:12 -0000

Hi,

*Query-1:*
As per RFC-4446, RFC-4447 and RFC-5003, packet formats for PW GEN type-1 and
type-2 are derived below for GenFEC (129 FEC) TLV.

*For PW Gen FEC AII Type-1:*

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |Gen PWid (0x81)|C|         PW Type             |PW info Length |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   AGI Type *(1)*    |    Length *(8 bytes)*     |
Value                    |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                    AGI  Value (contd.)                        ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   AII Type *(1)*    |    Length *(4 bytes)*     |      SAII
Value                       |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                   SAII  Value (contd.)                        ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   AII Type *(1)*    |    Length* (4 bytes)*     |      TAII
Value                          |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                   TAII Value (contd.)                         ~
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*For PW Gen FEC AII Type-2:*

 0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |Gen PWid (0x81)|C|         PW Type             |PW info Length |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   AGI Type *(1)*    |    Length *(8 bytes)*    |
Value                    |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~                    AGI  Value (contd.)                        ~
   |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+++
   |  AII Type=*02*  |    Length *(12 bytes)*     |        Src-Global
ID           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |       Src-Global ID (contd.)      |
Src-Prefix                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |       Src-Prefix (contd.)         |        Src-AC
ID                              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      Src-AC ID                    |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  AII Type=*02*  |    Length *(12 bytes)*       |        Dst-Global
ID                           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |       Dst-Global ID (contd.)      |
Dst-Prefix                            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |       Dst-Prefix (contd.)            |        Dst-AC
ID                              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      Dst-AC ID                         |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*Gen FEC AII Type-1 (MIB objects configuration)*
   pwGenAGIType = 1,
   pwGenLocalAIIType = 1,
   pwGenRemoteAIIType = 1,
   pwGroupAttachmentID  = <8 bytes AGI value>
   pwLocalAttachmentID  = <4 bytes SAII value)
   pwRemoteAttachmentID = <4 bytes TAII value)
*Gen FEC AII Type-2 signalling (MIB objects configuration)*
   pwGenAGIType = 1,
   pwGenLocalAIIType = 2,
   pwGenRemoteAIIType = 2,
   pwGroupAttachmentID  = <8 bytes AGI value>
   pwLocalAttachmentID  = SAII - 32 bytes [Src-Global-id (4 bytes) +
Src-Node-id (4 bytes) + Src-Ac-id (4 bytes)]
   pwRemoteAttachmentID = TAII - 32 bytes [Dst-Global-id (4 bytes) +
Dst-Node-id (4 bytes) + Dst-Ac-id (4 bytes)]
   pwOutboundVcLabel   =  0xFFFF, -- Will be received by
                                    -- signaling protocol
   pwInboundVcLabel    =  0xFFFF, -- Will be set by signaling
                                    -- protocol
*Gen FEC AII Type-2 static (MIB objects configuration)*
    pwGenAGIType = 1,
   pwGenLocalAIIType = 2,
   pwGenRemoteAIIType = 2,
   pwGroupAttachmentID  = <8 bytes AGI value>
   pwLocalAttachmentID  = SAII - 32 bytes [Src-Global-id (4 bytes) +
Src-Node-id (4 bytes) + Src-Ac-id (4 bytes)]
   pwRemoteAttachmentID = TAII - 32 bytes [Dst-Global-id (4 bytes) +
Dst-Node-id (4 bytes) + Dst-Ac-id (4 bytes)]
   pwOutboundVcLabel  = 100 (label configured by user explicitly)
   pwInboundVcLabel = 200 (label configured by user explicitly)
Is the above configuration/packet formats correct?

*Query-2:*
Can the mib objects (pwOutboundLabel, pwInboundLabel) be set valid label
values for PW GEN FEC signalling?

It seems that, as per MPLS TP-identifiers draft version 02, GEN FEC (129)
TLV is used for MPLS-TP networks.

It seems that the pwOutboundLabel, pwInboundLabel labels are valid to be
configured for manual PW.

Static MPLS-TP case, Static gen FEC PW should be used so, do we allow
pwOutboundLabel, pwInboundLabel labels configuration in the mib objects
irrespective of the PW owner?

Am I missing something here?

-- 
Best Regards,
Venkatesan Mahalingam.