Re: [mpls] Request for comments on draft-malis-mpls-sfc-encapsulation-00.txt

Eric C Rosen <erosen@juniper.net> Mon, 25 June 2018 17:34 UTC

Return-Path: <erosen@juniper.net>
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 3158A130ECA; Mon, 25 Jun 2018 10:34:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 DB0BA2A1pYTm; Mon, 25 Jun 2018 10:34:29 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBA25130E13; Mon, 25 Jun 2018 10:34:29 -0700 (PDT)
Received: from pps.filterd (m0108159.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5PHT7R9013351; Mon, 25 Jun 2018 10:34:23 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=PPS1017; bh=6gzSCkTzkgeh116INy8mHF3ScTGRwlkUoOKGP0DLhK0=; b=Hh0pwpu/GWxaBPmo8td0ToLLfBHWicGvJlVCbNh5dnsGPLjW0V7NVpfeRFPhslb6NoH1 kPkv4j38p71S+ONuHsYqSQkg+BlNNE/+iuLLT9n1JIlvn9gAgT5AjS8MYVGL/Z/2UWpt 0VEdFQBDvugD+H/bp5LeDCASJwoZ24qznhM2yD2kY3yI8xN5LZzmBQxaC/mQhef2TR7g viOszUdE4F1xcnEukqa1ZZC2a+yZ8sW7y7lFBnMageVrDFNpcla5edggTFIG/KxMCH6b x/w4scpTJ3Lby18X4oIOCt/WfMEk4qc/W2W+n4PWMURIEpTAt/E7/bWM1gdWEA/zhFBs ng==
Received: from nam02-bl2-obe.outbound.protection.outlook.com (mail-bl2nam02lp0083.outbound.protection.outlook.com [207.46.163.83]) by mx0a-00273201.pphosted.com with ESMTP id 2jtxdv8nhp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 25 Jun 2018 10:34:23 -0700
Received: from [172.29.37.70] (66.129.241.13) by SN4PR0501MB3870.namprd05.prod.outlook.com (2603:10b6:803:4a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.15; Mon, 25 Jun 2018 17:34:20 +0000
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>, "Andrew G. Malis" <agmalis@gmail.com>
Cc: "mpls@ietf.org" <mpls@ietf.org>, "sfc@ietf.org" <sfc@ietf.org>
References: <CAA=duU1jh5vw37U+st3oNgR7bLmod__Qub8A4x2LEXmP-rwppA@mail.gmail.com> <DB5PR0301MB1909733B4E15C94FED93B9D89D4B0@DB5PR0301MB1909.eurprd03.prod.outlook.com>
From: Eric C Rosen <erosen@juniper.net>
Message-ID: <758e3c48-dd77-dff8-f18e-cdd0e01a8bc8@juniper.net>
Date: Mon, 25 Jun 2018 13:34:17 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <DB5PR0301MB1909733B4E15C94FED93B9D89D4B0@DB5PR0301MB1909.eurprd03.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Originating-IP: [66.129.241.13]
X-ClientProxiedBy: BN4PR13CA0019.namprd13.prod.outlook.com (2603:10b6:403:3::29) To SN4PR0501MB3870.namprd05.prod.outlook.com (2603:10b6:803:4a::12)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 834de0b7-3c5b-4260-1386-08d5dac1e2cf
X-MS-Office365-Filtering-HT: Tenant
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:SN4PR0501MB3870;
X-Microsoft-Exchange-Diagnostics: 1; SN4PR0501MB3870; 3:zEVlNN1fSdfJFWq3iI7tVlLsphM2ieEcQEPTBg9GKsGpZrqcGnVibpJFuSB4S52oz2k3QjKswkp2pLEb2lEJpYGo++sgdwt/y+4qVR7z66VTGrhqKdJhUB29TqZgbtRGw9dhMJRbgWdwRgf2xVjyln1WpkrI5KKTIrkAj6EHXS2nNPdFc37u9bd3fYJeD28FZqUb3RSQx+8mQFD/B+W43FHrt40xxFT7XT5VtVdpYDo4yTlv0QoMxYQqLEu2MOG6; 25:qTIah9CEwwuOkYlki7uoDSYCO/o4AiQiRIZXdgOkkPBOLCizsjR5L9LLCCm6AmB66mSftqGME2RW/uxgaNCkquk/OYxeOixJ2NZ8GPbbZRjW/YKupyC8Cx3HH35sjfl/nkVtnultPfqjsb2ZcdBk/XhNeiLU3N3+b66Gx09HbN2B5SkX4OQieJxxsDt6bW2l2FkweTM/3trHNcJ3068CZ9n/M2YwiAkrKq7/HyxJh44r18BD9j66z5GgA3ePdty2K5JtwBOzVttyKOhXQV43EeB1HWJV6Yl2TsTnvXB5d+dudg7Y5+q8l+nOWqjgua8lYIAPUsmVBaz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CSmp8H6aal2MHJsf8K+iH6kN6cw6dmxuyj+qjzFwYNJqjYsEOFMM32GDvpVIcKQN8RvlVQjj4KrlrToXEM1V475UYTusABu0V19xwLwmzhdBdnHcPFgPEmwbRT13FUJSoPkMb3JuWutmtq9TXiEA==
X-Microsoft-Antispam-PRVS: <SN4PR0501MB3870395C7AC7CBCF96CD8DC4D44A0@SN4PR0501MB3870.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-MS-Exchange-SenderADCheck: 1
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:SN4PR0501MB3870; BCL:0; PCL:0; RULEID:; SRVR:SN4PR0501MB3870;
X-Forefront-PRVS: 0714841678
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(366004)(376002)(136003)(39860400002)(396003)(346002)(54094003)(199004)(189003)(67846002)(65826007)(50466002)(68736007)(77096007)(229853002)(16576012)(11346002)(316002)(58126008)(2616005)(25786009)(476003)(3260700006)(53936002)(39060400002)(956004)(26005)(110136005)(54906003)(6486002)(6666003)(16526019)(6246003)(446003)(4326008)(486006)(36756003)(2486003)(2870700001)(52146003)(23676004)(106356001)(386003)(81166006)(97736004)(76176011)(52116002)(105586002)(8936002)(65806001)(7736002)(5660300001)(31686004)(81156014)(65956001)(8676002)(478600001)(66066001)(64126003)(3846002)(2906002)(6116002)(31696002)(47776003)(305945005)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:SN4PR0501MB3870; H:[172.29.37.70]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-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AZkkOYBVYwog/HnjXIUskOMC6mdSbpCrwjGf8g7igz5X6MTGg+94z8n0sqjE8jpstpi8WsNurJ4kabOn1BxlZa6FsWiExL0qosYhElxUIWbHG8oDoX36F2X4wo0DPkFBTQ/6ZaD6tMPxeUS7t3LK5Vw7TuOHV3FKp85CGznt23s2DdIw6j4c+kNV5WZX3aSmzoOpOmYoME+c4DGmRl2POr5alZWzVktNCYOZCxGvh6IeYNHrkP0HWC/3RcKx+dtQ==; 5:vZpkVSCPj1MS+Bp+fcZQKWKY/7OSOAb8EJ98X9lrjplTSt319rvDW3fbZOmZZZDPLAEY+SHIOxFoHOGrVT9i+hGTjphzo78y8jJJ/O/VpriZBGEAKJOPRkuI0QH58LgcvhYQpuGcwEzdI2qkQWvHrwVPS15FkKMQtcAs6mv4rQ8=; 24:OrtnS0KyjmzANn8O+n0QOdmCKrnvoIj85AKkAy9AAShiDETOSefiQ42Gs20raCAhV02f35vPGuoNngnSAKf53sFYdqomrJivCj16ne/VqOo=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; SN4PR0501MB3870; 7:8iTmFl/2P/wy6AwsWiUKaTMO0yhdPOxMmlLHTpkkaDnG3dZ/+jgi+XVmRbuxoIRjAFrLLeoaTtbcC5R2Q1JHZf01d3Nj9S2DWNcgmtZpUjXzvhnCMv1vo50kQjBZMAlu6XeZvSIpddvmUHEFzlKDTIPKyQuD9Mkb21m7HDnQV3K/FePGfPJNPjZdBVf0T3VdcKxs0CfEEb5KYNgA5CQC9jC1jgJ9rUf6GKQSr0QDUqN7pDrNuuH8kNjzV2+HEnkJ
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2018 17:34:20.4983 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 834de0b7-3c5b-4260-1386-08d5dac1e2cf
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0501MB3870
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-06-25_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806250203
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/DCxCYxSmm-BazGJcPckTk2xNuVM>
Subject: Re: [mpls] Request for comments on draft-malis-mpls-sfc-encapsulation-00.txt
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.26
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 25 Jun 2018 17:34:32 -0000

It's always a bit tricky to specify the precise rules for creating a 
label stack.  I think the rules for creating the label stack atop an NSH 
packet are probably something like the following.  Suppose one has an 
NSH packet, and one has chosen a target node on the network, where that 
target node is (or contains) the SFF that next needs to receive the NSH 
packet (the target SFF).  Then create the label stack as follows:

- Push on zero or more labels that are to be interpreted by the target 
SFF.  (I guess the GAL label could be an example here.)

- Push on the SFF label.  (A label that, at the target node, is 
associated with the target SFF.)

- Push on zero or more additional labels such that (a) the resulting 
label stack will cause the packet to be transported to the target node, 
and (b) when the packet arrives at the target node, either:

   * the SFF label will be at the top of the label stack, or

   * the SFF label will rise to the top of the label stack before the 
packet is forwarded to another node and before the packet is dispatched 
to a higher layer.

It's probably best to also state that PHP MUST NOT be applied to the SFF 
label.  (I realize that the control plane is out of scope here, but 
whatever the control plane is, it needs to set up the PHP appropriately.)

It would be good to say what the SFF is supposed to do if it gets an 
MPLS packet rather than an NSH packet (i.e., if the SFF label is not 
BoS).  The SFF might or might not understand the label following the SFF 
label.  Also, if the following label is v4-explicit-null or 
v6-explicit-null, does that convey any semantics?  Frankly, I wonder if 
it's a bit dangerous to allow labels below the SFF label, as this will 
cause problems if the SFF label is programmed to cause a dispatch of the 
remaining packet to a procedure that does not understand MPLS at all and 
is expecting to see an NSH packet.

It would be good to say where something like the entropy label would 
appear in the stack.  Before the SFF label?  Or after?  Or either?