[spring] YANG data model for BGP Segment Routing Extensions

Mukul Srivastava <msri@juniper.net> Tue, 23 July 2019 18:32 UTC

Return-Path: <msri@juniper.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8DDE71207E7; Tue, 23 Jul 2019 11:32:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, 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 TXxNJkFtopeE; Tue, 23 Jul 2019 11:32:13 -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 3C4AF12078E; Tue, 23 Jul 2019 11:32:13 -0700 (PDT)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6NITfjQ020790; Tue, 23 Jul 2019 11:32:12 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : content-type : mime-version; s=PPS1017; bh=Loh8jTGDDW3ytqm/SdIRdDiwryknEC8zvv60LVqjcuw=; b=kuUXcyLyLVu1O4WXLr4fhyTlCXeXJiHfTAZdmKNdXnnxeglkJArOu2amJmNeSJz7sSO7 Xro0ZnW6ywfjnb18jhvdKWTC+M2pePq3ZPq3cT7iKtHCcDCvo+T5kUslM8MLtO5IRue5 heu7Fm78Ooj/Jl0/PBMuCs6bQm71HUznfm+wJPV3OwnpJSrhKfDjNHKemYrTcY9OpvKg tyTBU5dAHzyr4h/vER/S0GtsiyB5J8GOyQaQ+49Zskb04HAwVxNtMYSkMvZwsdQdgAUr wOEtMRMmyLM5h2QECc9LZi6ItpSVA74KQvJXFT/DWMvEdNPs16wzbcNnYcfGNAQT1w0/ Lw==
Received: from nam04-bn3-obe.outbound.protection.outlook.com (mail-bn3nam04lp2053.outbound.protection.outlook.com [104.47.46.53]) by mx0a-00273201.pphosted.com with ESMTP id 2tx61mg6p2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jul 2019 11:32:12 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WvvFlsHribN7jg8qUDtKMiX2cjgMg7eLoDY07wbVWbSaXpaGB9LRNuR9glBn6NjZG6F4PszK0SCyEvo0UvadyCixALPFoGXq+PNSGdXGGnKlirCiJLwXSjtT7SmWQhLBSGu/3ztXq9GdJjtDUJNZGW+4iwLtc/QjGWXPUsXxOOyT9T3RGatcctqEX6KkcKslDgaPddI0TScp6mlBBpX9g6aTFVC992/AN9g+QN9vF/slhjBEccswyMRG0tfjGskgbVvDhd337YNwoD683efZM2/dTwfzWxfrVTJP76fDdGRXO9V5Sk4/Z1KTUiaLrn2YZDHSf8bx4HIvfImIf4OxVQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Loh8jTGDDW3ytqm/SdIRdDiwryknEC8zvv60LVqjcuw=; b=SgJZZU1eVDnFmkJEsXEXEi/bbcGuCPubO+bRobZ8saae4k5g/AKk8kWeoZpHOtWNIDaPYeKmIk+gp8ZuZX6gdjYmLFa2CWQSBDxCl30kirpNIjLLSG0+o8Lp5mEKeTVhfP8V0VvHOXm48jmcVMOO3oRk0dgmM1+ffIaXJLhbrWxN68Sb8ljiPmmuyTD/Pvo6tOgREal4EaBKfyJQpWzCNQvAEPK3ILb6DqXZQvB5AO68FLEcKoZ/CSDph3dvBACjvpYKDYfSwkI3yh2ArvFd7bautmMifWXGwoibK1g6jVfOvyz248RmxZMdKuKONOW8qbPm9IUDMgC2RzWyO9tlrw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=juniper.net;dmarc=pass action=none header.from=juniper.net;dkim=pass header.d=juniper.net;arc=none
Received: from BYAPR05MB5350.namprd05.prod.outlook.com (20.177.127.159) by BYAPR05MB4534.namprd05.prod.outlook.com (52.135.203.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.7; Tue, 23 Jul 2019 18:32:10 +0000
Received: from BYAPR05MB5350.namprd05.prod.outlook.com ([fe80::454c:defa:73d7:cd30]) by BYAPR05MB5350.namprd05.prod.outlook.com ([fe80::454c:defa:73d7:cd30%5]) with mapi id 15.20.2115.005; Tue, 23 Jul 2019 18:32:09 +0000
From: Mukul Srivastava <msri@juniper.net>
To: "draft-dhjain-spring-bgp-sr-yang@ietf.org" <draft-dhjain-spring-bgp-sr-yang@ietf.org>
CC: Mukul Srivastava <msri@juniper.net>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: YANG data model for BGP Segment Routing Extensions
Thread-Index: AQHVQYTwn0TqZ7neGECMV7SgABI0UQ==
Date: Tue, 23 Jul 2019 18:32:09 +0000
Message-ID: <2E4464C0-D538-4F05-A9FC-671734D958D9@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.17.1.190326
msip_labels: MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Enabled=true; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_ActionId=0b901f70-1b3a-45b2-afbb-000037bcc40e; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Method=Standard; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Enabled=true; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_SetDate=2019-07-23T15:36:38-0500; MSIP_Label_9784d817-3396-4a4f-b60c-3ef6b345fe55_Name=Juniper Business Use Only;
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 826d72cf-f361-4995-d759-08d70f9c12bc
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:BYAPR05MB4534;
x-ms-traffictypediagnostic: BYAPR05MB4534:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <BYAPR05MB4534ABB96A3351A97958DF6AD1C70@BYAPR05MB4534.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0107098B6C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(366004)(396003)(346002)(39860400002)(376002)(136003)(189003)(199004)(476003)(486006)(2616005)(6506007)(14454004)(5640700003)(26005)(102836004)(6436002)(81156014)(53936002)(81166006)(186003)(6486002)(68736007)(3846002)(6116002)(99286004)(8936002)(2906002)(5660300002)(450100002)(478600001)(2351001)(66066001)(66946007)(66476007)(316002)(54906003)(86362001)(71190400001)(6916009)(71200400001)(4326008)(7736002)(33656002)(256004)(25786009)(36756003)(8676002)(6512007)(54896002)(6306002)(76116006)(91956017)(2501003)(64756008)(58126008)(66446008)(66556008); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4534; H:BYAPR05MB5350.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: x/grM8iuI65ItRpzQ2e6v74Jw0wSCC6bSQhYEr5mDlTJ4J171utgs3jtMpCfuxVQlOS/rpPOqA/4Lvga1gyFHKbfylS+KbsXnAQYJGawFHLxPYFrlIUgL4JFqVNm4nU6PwicGLJj8n7+sBpGQmgjOWlQKIV1FeHFIOA/lo+NYLGIQmNr/yN4zkW5sIzWm1tmmQLVakSy3RUuVRsZo3gVOmRDawusXr0TmLpbIkaEgb95UqAhco0HYxtJyS3EUcM56Ed0nZWenY8LH6rsX6QKQ+NhTeE0Q+cpnfbeQ7MkcrQ4lVljWhARs5YCXzyfOqNOJVnUV2WaOksHniH0TzxVZ5OQH0W9trg9g0RLzaX75zOo5ypa0u2U1IYEkiqO/KoxSRokgU2OQ2y+sIJBwTvzEKsBdPeqAH5J6B0pkuaHqP0=
Content-Type: multipart/alternative; boundary="_000_2E4464C0D5384F05A9FC671734D958D9junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 826d72cf-f361-4995-d759-08d70f9c12bc
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2019 18:32:09.7986 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: msri@juniper.net
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4534
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-23_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-1906280000 definitions=main-1907230185
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/JH7Y9R_Ys-5Bd32zYR5a1Vmmr7U>
Subject: [spring] YANG data model for BGP Segment Routing Extensions
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jul 2019 18:32:16 -0000

Dear authors

After going through the draft, I have following comments regarding yang modeling for BGP EPE SIDs.

Comments:

  *   BGP Peer Set SID configuration. – Currently configuration of BGP Peer Set SID is not present in the draft. The “BGP Peer Set SID configuration”  should be configured at the global BGP level and have a leaf for SET name (as string) and a SID  label. Please note that it is not specific to any BGP group or peer. This is a global BGP level configuration.



  *   “epe-config” has been added as BGP neighbor and BGP group yang extension. I think this should only be added to the neighbor extension not as group extension because EPE SID is applicable only for a given BGP Session. It has no meaning at the BGP group level.



  *   When Node SID and ADJ SID are assigned to a SET, it can be associated with “weight”.  So “grouping epe-config” should have a leaf to configure SET weight. This value (SET weight) should be assigned only when NODE or ADJ SID is part of the SET. Same comment is applicable for Similarly the “list peer-adjacency” for ADJ SID

Will appreciate your input on above comments.

Thanks
Mukul