Re: [i2rs] [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Wed, 08 July 2020 15:27 UTC

Return-Path: <rrahman@cisco.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA4E73A0DD7; Wed, 8 Jul 2020 08:27:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=F93jmsb8; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=0FvLXUNu
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 EgwXl9DyRK6t; Wed, 8 Jul 2020 08:27:22 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C7773A0DE1; Wed, 8 Jul 2020 08:27:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=12611; q=dns/txt; s=iport; t=1594222042; x=1595431642; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=EePtt5D02kJCHwj6D6HfE101iVGbRz0+QUm9XWjqiBs=; b=F93jmsb8qfcHIYjzrIQMqjyPi6LSXgDO/Ty3m13qIKaFqn9t2P6hcGx6 1eKCORBFbg0Wgj8V9uNkdVYWwNyA+tGsGsXfvL+z9FDHiTJpZYckuEN0P KDAvVC4HxlEljC32DYbpMxplzrLIUfp7ji7GpGcRbGccpmj4+kKGwZ+G2 U=;
IronPort-PHdr: 9a23:7210dBzgraVEgrfXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5ZRWFt/Nhnl+PVoLeuLpIiOvT5qbnX2FIoZOMq2sLf5EEURgZwd4XkAotDI/gawX7IffmYjZ8EJFEU1lorHe3I0gTE8H7NBXep3So5msUHRPyfQN+OuXyHNvUiMK6n+C/8pHeeUNGnj24NLhzNx6x6w7Ws5ob
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CrBQCA5QVf/4UNJK1gHAEBAQEBAQcBARIBAQQEAQGCCoEjL1EHb1gvLAqEKYNGA41TgQGSb4RrglMDVQsBAQEMAQElCAIEAQGETQIXgX0CJDgTAgMBAQsBAQUBAQECAQYEbYVbDIVvAQEBAQMSER0BATcBDwIBCA4DAwECKwICAjAdCAEBBAENBSKDBAGBfk0DLgEOn0sCgTmIYXaBMoMBAQEFgUZBgwIYgg4DBoE4gmqIZYEeGoFBP4ERJxyCGDU+glwCAwGBew2CaTOCCyKPJIMXhkOLO5BYCoJciEuQfwMdnyKRW4oclEYCBAIEBQIOAQEFgWojKoEtcBVlAYI+UBcCDY4eg3GFFIVCdDcCBgEHAQEDCXyOHQGBEAEB
X-IronPort-AV: E=Sophos;i="5.75,327,1589241600"; d="scan'208,217";a="798813500"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 08 Jul 2020 15:27:21 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id 068FRKNB026978 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 8 Jul 2020 15:27:21 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jul 2020 10:27:20 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jul 2020 10:27:20 -0500
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 8 Jul 2020 10:27:20 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FlMnER7saLMQC5HsNbHZtCpKIbiOWDEoxRwzTMQ+FlSB8JlAzwmQj43wB8Rfc+mBrU32wwozNOptFnUtYKajFyfrpO/HCuOjh8z385oDox18Hdcb8EpjfX6P9lvoXA458/OvTH/TM+GTbW5TDWdbwhpQEI+YZtYGNUSxsIKyIWoOQ2JQkjzWTI8g7CPokkh6nwn9HmAdn+q5TIC+qTTjdFfqzVFWxOu2M0ql2vHMr68tVdgLynOqq7M5iIyEYwUF8bVs6ytGwXusZEH48ecPiCPxvlEOzlGAdkMYyKtvA24zfjM5yZQRsfxkXIgpMB4Fkdt9ua28RLePrVgsVozjvQ==
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=EePtt5D02kJCHwj6D6HfE101iVGbRz0+QUm9XWjqiBs=; b=S4rNnvIP5dmivN7soRAzhE3swpiF9bEoTjsRQCvptJzs/tvEqu5yar6g5Sb0Gz5bXO+bpe3lZH92N/qXvSnW8nP65nxvdZt/l781x1cpG4sjjJHiVWxLz927p/1jZYJQMD6qUp2AYjfMA8V2EOw+LnVxPC7vrDwANOVhgi+jSjkXSDuBe4Nj/fy2iHu8j4U6svWGIb99NXHrPfRt2YgsokCWL69fiVpJP/VJOl7DMJlu0Ehjbk2cysEOzIjq6ah30Ajmoxquwm9woqs2lCFWTJLrO+ElTJd1pFEbXvdudHWvu7x+azb789hkhZNcXntJjxVr86IUQ6O06JB8g0bAQw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EePtt5D02kJCHwj6D6HfE101iVGbRz0+QUm9XWjqiBs=; b=0FvLXUNu+8noZEqcCBsJS7gNCVLWyqbYF5X6J+GrXp16Y9ve7atE9LfKx7Txzxj5hrtKAEOhHVNk3ymP1GKGEXArFkac/NJmD2aguExZk8TAkIhOEWjfl4AsWAnxy0kPoLLVRce+DRo6Zsz++ejjYtW2PsF0A6ObsOJU5frXTCc=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN6PR11MB1810.namprd11.prod.outlook.com (2603:10b6:404:fc::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Wed, 8 Jul 2020 15:27:18 +0000
Received: from BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::3076:a505:335e:a8ff]) by BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::3076:a505:335e:a8ff%6]) with mapi id 15.20.3174.021; Wed, 8 Jul 2020 15:27:18 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Susan Hares <shares@ndzh.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "i2rs@ietf.org" <i2rs@ietf.org>
CC: "martin.vigoureux@nokia.com" <martin.vigoureux@nokia.com>, 'Benjamin Kaduk' <kaduk@mit.edu>
Thread-Topic: [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology
Thread-Index: AdZVOXQC0Wlh++DbRb+IO/pMix3jyv//wo6A
Date: Wed, 08 Jul 2020 15:27:18 +0000
Message-ID: <268BBF05-F471-49E1-9F0C-C3E47F03B23D@cisco.com>
References: <004901d6553a$20e326f0$62a974d0$@ndzh.com>
In-Reply-To: <004901d6553a$20e326f0$62a974d0$@ndzh.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
authentication-results: ndzh.com; dkim=none (message not signed) header.d=none;ndzh.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [142.113.229.50]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 60149544-643b-463e-884f-08d8235366e4
x-ms-traffictypediagnostic: BN6PR11MB1810:
x-microsoft-antispam-prvs: <BN6PR11MB1810D8CA9A2C4831367A2B8DAB670@BN6PR11MB1810.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: JkJTsNjRZ0N9NDGuLHeSYdt2ms98H2EE21GL+hlCNKOL/ahDT681qsTA4OyzO/57DZXrM/a/s67TnzX9Mx8t3Yslo6D8NqPVJbfLX/v4enGFhyyuHetO6gCg15MenOJiOd3K1lcB4MNWNMctyjQSC3OFhJdXOX8tXZzUd4nvet5gShP1EwlhqpTN/MqzeJEsS7OkVxrKlbTzpt0ghVVZn/taokob5b0Ut5E/VJx0u+CchUkF6X2dLtvqQLA9kkadAyiSvHw3WmO6D/RAk3J+Ly/epUnb+ajwAr3I2fKtBqpqPWluMYWn19c19BTYHHgkWdQeGEiqxPiL7PN5piH0HaP4AuhG3iUfxl77ngs6u3E9KRbL7tpx7cFM8uIdOZAlX01QEvKSfkEPAdHfSv4o6A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB3875.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(396003)(346002)(376002)(136003)(366004)(166002)(316002)(54906003)(36756003)(53546011)(6506007)(9326002)(83380400001)(71200400001)(91956017)(76116006)(66946007)(8936002)(66446008)(66476007)(64756008)(2616005)(26005)(186003)(6512007)(86362001)(8676002)(110136005)(66556008)(478600001)(5660300002)(6486002)(4326008)(33656002)(2906002)(966005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: H/cyFPO6rm/XrVWbJF7RtTNdIr5r5DSvduxFldD34pA9Gd9vonpA2C3j5HcoyBMRxEMZqqgLgjx+u90HKZ/BUC7Ynzu0qnJQklSsQYjcIe5MXfOW+27XidNV5WwtBoEdurVPH2+zvGrn/v8UyPXwG/pldv5Ocq9hmMUr6EhdFCMz8LUmbniBr5mO+Bx71Nx0XNXOGFDSG0L2aQzGE7uMeCqI4z70NSUJne80oyWVqh0jiZx87CjFwbjyaPoBgxwck+yF6mv7cifAQdceUxBR5wjKNBSiXvmqj7h+p8OVjIem1FAy1+dJ/hiZDNcBo8JTZW01xXqcxy1ntu/BaLZbxcWleE4Nxns0oF5zHUJTWwvY7YC3bx7MFvryga9IcBceBtOzCJ/I0ACfKhmL+kcrf8q1aMUUg4TVm0w2mHvAqhCNmvs1rMKiB7bGosWBHyNQgaPg/rK4PCWu24EAShPdw/5hfZzZ/SseiGNFBJEpZtyqJiT6LuDMAiGEApDYPZuv
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_268BBF05F47149E19F0CC3E47F03B23Dciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB3875.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 60149544-643b-463e-884f-08d8235366e4
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2020 15:27:18.7466 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: +YGKe/yuuHmuQnoGer/KJK94OuDGn0JgcRLwdYNt6P1Pbc66yvlTPzYsE95QDPUiu6VThvEJYZ6g5XQ5WqoD2g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1810
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/RcXRhyW4PykTFCFt2YjiosYmMZc>
Subject: Re: [i2rs] [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jul 2020 15:27:25 -0000

Hi,

So sys-mac-address is supposed to be the MAC address of the mgmt port, i.e. the device would respond to an ARP request for management-address with sys-mac-address? I think use of term system might be a bit misleading if that’s the case, mgmt-mac-address might be better.

Also, it is odd to have an IP address in an L2 grouping.

Disclaimer: not familiar with that draft at all, just took a look at the L2 grouping.

Regards,
Reshad.

From: yang-doctors <yang-doctors-bounces@ietf.org> on behalf of Susan Hares <shares@ndzh.com>
Date: Wednesday, July 8, 2020 at 11:12 AM
To: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "i2rs@ietf.org" <i2rs@ietf.org>
Cc: "martin.vigoureux@nokia.com" <martin.vigoureux@nokia.com>, 'Benjamin Kaduk' <kaduk@mit.edu>
Subject: [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology

The following question was asked by Ben Kaduk during IESG review of the following document:

https://datatracker.ietf.org/doc/draft-ietf-i2rs-yang-l2-network-topology/


     grouping l2-node-attributes {

         [...]

         leaf sys-mac-address {

           type yang:mac-address;

           description

             "System MAC address.";

         }

If there are more than 1 system mac address in a switch, how would this model handle it.

My understanding is that most switches have 1 system mac address for network management.  Therefore, the L2 topology model supports one.

Question for Yang Doctors:

1) Is this the normal assumption for yang models?
2) If not, what is the normal assumption on system mac addresses?

3) Am I correct that switches with more than 1 system MAC will augment their basic yang model with the second system MAC Address.

Thank you, Susan Hares