Re: [mpls] Mode negotiation for PSC

"Eric Osborne (eosborne)" <eosborne@cisco.com> Fri, 16 August 2013 20:48 UTC

Return-Path: <eosborne@cisco.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4D6E11E8187 for <mpls@ietfa.amsl.com>; Fri, 16 Aug 2013 13:48:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.399
X-Spam-Level:
X-Spam-Status: No, score=-9.399 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_13=0.6, J_CHICKENPOX_14=0.6, RCVD_IN_DNSWL_HI=-8]
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 V9P-htXN9xWC for <mpls@ietfa.amsl.com>; Fri, 16 Aug 2013 13:48:51 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id 434CC11E8175 for <mpls@ietf.org>; Fri, 16 Aug 2013 13:48:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1960; q=dns/txt; s=iport; t=1376686131; x=1377895731; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=kORNrB6It08jUCcA3qlOYc4WdV/rqFU+0jXuk4qb6PY=; b=dP25Cba3jumKVAGQtaQvQ8a4J3WmDSIu1h/6ZnHc7AfxRsTi4dd407oF 1nUMPQFkvX4namlUR5Q0FD+JfKKv4A2N0jPr8Ctf7TEbb1seF4v6v1ZD+ bxkXkPCbM+anl9IcX9m7k5wu7EP/F6CuWYsNodfc4haw0cm1l7/jnIYYc 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQFAM2PDlKtJV2a/2dsb2JhbABbgwaBBr8ggSsWdIIkAQEBBDoxDgwCAgIBCBEEAQEBChQJBxsXFAkIAQEEDgUIiAi5RwSOf4EcMQcGgxV3A5QNlSyDHIFxOQ
X-IronPort-AV: E=Sophos;i="4.89,897,1367971200"; d="scan'208";a="248399166"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-4.cisco.com with ESMTP; 16 Aug 2013 20:48:50 +0000
Received: from xhc-aln-x03.cisco.com (xhc-aln-x03.cisco.com [173.36.12.77]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id r7GKmnG7005080 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 16 Aug 2013 20:48:49 GMT
Received: from xmb-rcd-x09.cisco.com ([169.254.9.136]) by xhc-aln-x03.cisco.com ([173.36.12.77]) with mapi id 14.02.0318.004; Fri, 16 Aug 2013 15:48:49 -0500
From: "Eric Osborne (eosborne)" <eosborne@cisco.com>
To: Loa Andersson <loa@pi.nu>
Thread-Topic: [mpls] Mode negotiation for PSC
Thread-Index: Ac6ULYh0Wz1ulMCERKa7JFuZBxS/GADMiSEAAMqE0IA=
Date: Fri, 16 Aug 2013 20:48:49 +0000
Message-ID: <20ECF67871905846A80F77F8F4A27572102EB9BD@xmb-rcd-x09.cisco.com>
References: <20ECF67871905846A80F77F8F4A27572102C229B@xmb-rcd-x09.cisco.com> <52089C6A.1060104@pi.nu>
In-Reply-To: <52089C6A.1060104@pi.nu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.98.66.77]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "mpls@ietf.org" <mpls@ietf.org>
Subject: Re: [mpls] Mode negotiation for PSC
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Fri, 16 Aug 2013 20:48:56 -0000

Hi Loa- 

  See inline

> -----Original Message-----
> From: Loa Andersson [mailto:loa@pi.nu]
> Sent: Monday, August 12, 2013 1:27 AM
> To: Eric Osborne (eosborne)
> Cc: mpls@ietf.org
> Subject: Re: [mpls] Mode negotiation for PSC
> 
> Eric,
> 
> 
> 
> On 2013-08-08 14:34, Eric Osborne (eosborne) wrote:
> <snip>
> 
> > Example of method 2
> > -------------------
> > Both Node A and Node Z announce two things - Capabilities and Mask.
> > Capabilities is a bitmap of the capabilities that are supported.
> > Mask is a mask of don't-care bits against the Capabilities string.  A
> 0 in Mask means "I don't care if we do this capability or not", and a 1
> means "we must (or must not) agree on this capability in order to come
> up".
> >
> > A.capabilities = 00000
> > A.mask         = 00000
> 
> Why is this not
> 
>   A.capabilities = 11111
>   A.mask         = 00000
> 

Althought I didn't put it in my email, a capabilties of 1 and mask of 0 is illegal.  This is partly because it makes no sense ("I require this capability but I don't care if we do it or not") and partly because there's a case which doesn't converge right:

If I have 11111/00000 on one side and 00000/00000 on the other I end up with

A.cap = 11111, A.mask = 00000
Z.cap = 00000, Z.mask = 00000


res = (111111 & 00000) ^ (00000 & 00000)
res = 11111 ^ 00000 = 11111

and if res != 0 then the nodes can't converge on a common subset, even though there are 2^5 combinations that would work for both nodes.



eric

> ?
> 
> /Loa
> 
> >
> > This says "I am capable of supporting all capabilities and I don't
> care if we do any of them or not"
> <snip>
> 
> --
> 
> 
> Loa Andersson                        email: loa@mail01.huawei.com
> Senior MPLS Expert                          loa@pi.nu
> Huawei Technologies (consultant)     phone: +46 739 81 21 64