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

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Wed, 08 July 2020 16:08 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 8B1013A0F02; Wed, 8 Jul 2020 09:08:47 -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_H4=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=O/XR2NWl; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=KJReNc9p
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 R9jLs7mJubEP; Wed, 8 Jul 2020 09:08:45 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 32C213A0F01; Wed, 8 Jul 2020 09:08:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=32839; q=dns/txt; s=iport; t=1594224525; x=1595434125; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=I1KoSj+aYdiq90HErHAublL3C0f+WjFxLR+XPldQaPs=; b=O/XR2NWlWg+75dWqlgkR7LGAMW/azKwifqS19bt6ABEmwkt8M1D+Pm90 +5nWst6OCCt/qcIdGfuBfU/HgRlnIlsKw4V9y52e8cUGpWR6WLCOq0cSZ UVfNObR3Z9Pc1k+aMx0Mf1D5JTapsjGViKCKWFPSUzk/SydhtfpZFkYtH g=;
IronPort-PHdr: =?us-ascii?q?9a23=3AhegjShTt5s2Gj+bzU6JfeMLaMdpsv++ubAcI9p?= =?us-ascii?q?oqja5Pea2//pPkeVbS/uhpkESQBN+J7f5Wi6zdtKWzEWAD4JPUtncEfdQMUh?= =?us-ascii?q?IekswZkkQmB9LNEkz0KvPmLklYVMRPXVNo5Te3ZE5SHsutYVHAoju56jtBUh?= =?us-ascii?q?n6PBB+c+LyHIOahs+r1ue0rpvUZQgAhDe0bb5oahusqgCEvcgNiowkIaE0mR?= =?us-ascii?q?Y=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C3AACC7gVf/4MNJK1gGgEBAQEBAQE?= =?us-ascii?q?BAQEDAQEBARIBAQEBAgIBAQEBggqBIy8pKAdvWC8sCoQpg0YDjS4lgQGXWoJ?= =?us-ascii?q?TA1ULAQEBDAEBJQgCBAEBhE0CF4F9AiQ4EwIDAQELAQEFAQEBAgEGBG2FWwy?= =?us-ascii?q?FbwEBAQEDEhEdAQEpDgEPAgEIDgMDAQEBIQcDAgICMBQJCAEBBAENBSKDBAG?= =?us-ascii?q?Bfk0DLgEOn3ACgTmIYXaBMoMBAQEFgUZBgwoYgg4DBoE4gmqIZYEeGoFBP4E?= =?us-ascii?q?RJwwQghg1PoJcAgMBgXsNCYJgM4ILIo8kgxeGQ4s7kFgKglyIS5B/Ax2Zf4U?= =?us-ascii?q?jkVuKHJFpgl0CBAIEBQIOAQEFgWojKoEtcBU7KgGCPlAXAg2OHgwXgQIBCIJ?= =?us-ascii?q?DhRSFQnQ3AgYBBwEBAwl8jh0BgRABAQ?=
X-IronPort-AV: E=Sophos;i="5.75,327,1589241600"; d="scan'208,217";a="794775886"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 08 Jul 2020 16:08:43 +0000
Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by alln-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 068G8ipS022728 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 8 Jul 2020 16:08:44 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jul 2020 11:08:43 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jul 2020 11:08:42 -0500
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 8 Jul 2020 11:08:42 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OZ3nNSoRLWQw5NvgmLAUJJkKSaJ+Y9wKmO46rRg7uKiG+j2gr5pXq/h0NBGbOu55J7IuX474eFD4hLMheeycdKc7J410K3tYxsBDixGkTUNSf1xKBZdPBgAzoW566QVu+VV25ik/GvQs18NzN1vQJeNehNqmBCS3P7204Cw5LyY4zmzcg+4+3uIpNYH4Fr8s8HjsFVgQXarsuIq7YkP7ydEuGr3KCq63i1LVIwYo2LebUPKlnQxAfFB5W/e6/aDmbY/jb36rgWPpeDh3fod810AG0JU4zvZe+jKQWsU3HXh1MYxpi4mrph8zh8aRIne077pOX8bDAzVNRK20bWCQbA==
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=I1KoSj+aYdiq90HErHAublL3C0f+WjFxLR+XPldQaPs=; b=HoU2gdZ0VXito4v7IT8l1nqBqAd+8t8JRRQY5AJ+sXWkAJLtiybTRnDQH3InrtkuIoQzz0rW4oOspi7sMNI175qFF7s7YezHzk1sKDjiqTgQ6m+EJfSsaQ3i3kSOXRCicATQTDwxdx0TNfNJZnkqrfB//9OWnI9gTokSDub2Vtl9uTx3rGM6ZTv1fSvUTU23TY7u4RxmZygm4ZMhpN6nkbE01DHzHK07LFvqUpkoYxG5TWC/8y4FdtgTs8Dwn174uK1bnuW1TjGZP0vAdESq9T7X9J9iQJDyURWlF9p9RsyHBzsvZiJHKRHwhqpthyTJoSAWZIO/3H4DIbPjc02iMA==
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=I1KoSj+aYdiq90HErHAublL3C0f+WjFxLR+XPldQaPs=; b=KJReNc9pBEtYFEWa/y1QrCylJv4k3/jelgITvVwDvKrn5DO6osDTA02PltmMZaxxE8uzja+Y0QEods2C7WptSbb+LqwBN2/Ac4IzONqmxfKf38mc+cI9YturjtcInCTc+czG4CTWPCWKiS2qt5jODv3Q272nKmBvABnarQtGX9g=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN7PR11MB2579.namprd11.prod.outlook.com (2603:10b6:406:ab::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Wed, 8 Jul 2020 16:08:41 +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 16:08:41 +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//wo6AgABIyID//8LGgA==
Date: Wed, 8 Jul 2020 16:08:41 +0000
Message-ID: <9E6DF3E8-AFB8-4CDC-8621-BA04299AB7BE@cisco.com>
References: <004901d6553a$20e326f0$62a974d0$@ndzh.com> <268BBF05-F471-49E1-9F0C-C3E47F03B23D@cisco.com> <001701d6553f$202effe0$608cffa0$@ndzh.com>
In-Reply-To: <001701d6553f$202effe0$608cffa0$@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: bda476d3-ab11-4805-360e-08d823592e7c
x-ms-traffictypediagnostic: BN7PR11MB2579:
x-microsoft-antispam-prvs: <BN7PR11MB2579F39908D6DA49E4EB1F4FAB670@BN7PR11MB2579.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 04583CED1A
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: fOCqbUhKl1rC5Flousj4c114+hrwMPtF5dPzhdEfgl9LKNIGgkErLUvhfhaTLD/JK8AEe9zwC/nZR5Ne3BO+uKAL0SGFpoaQiLhuFsZDUBu6Mtjw0sb+rGZPG8rE/g1AWOMku/6Avnmmr7c3Wij/qbeP4RHTWIjzcvrC5ZMCaducQjh3ny1scl2AMdA8n7vFmmfrztLqkmk9q907KOOvsTl6wCeJUS4hqQRQAyuk60F3fL6iUYVQqEll8Ha3MHXF65oyOqSLkgYkYt6+2AioRJrlgWXMe9NIpBblk8mJFyHBumTg9CKq0+OofK2gGajcQYCEEKPQY09C9kAZaoBz4mrnjWOpkBQ9YO9AIrbO8ydDH3AUc4oUWFplog2UkUDrRY6+6DkPJYri+ONFdAbiVw==
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)(366004)(66946007)(966005)(2616005)(26005)(83380400001)(33656002)(91956017)(76116006)(9326002)(86362001)(36756003)(8936002)(166002)(66476007)(66556008)(64756008)(66446008)(8676002)(6512007)(6486002)(186003)(110136005)(498600001)(6506007)(71200400001)(4326008)(5660300002)(53546011)(54906003)(2906002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: xHhQd8GPVacIyOelPTeS4gYsqcyeg+1/7eGrT37m7oxplk5UPrcEVrk41PPR2AsKd2Yp4Abo2PslpZ4nRNhKZllGPn4R4a1Wc6RMIzDDZOY+r8LjeDwigtZHvPRYfbOvBhRpIz0dc3wCFY4jUGweknITZEnHhWYliYhNWH/hMYrT2PL9KDSNmQDIJUGkbkwBSLbNQ+gUeMiYVv+09X/jhCjrg6WRO+6MN2aZPHRRLeSDdXIqsXhsiw/CuEnvueCHUZhn4v4shW6dkBiDCsKo434ye68QrtOQ51Yc8sVICiInw4UJuhBggPkiwpG0h0KrIsPZGxvTkVxeV0Vy5wWlkPu7RCGgAxPdMtumeZesjQBdd9GwmeoLp8inBfJwm36R2uM0AT6eG1OKrRqsyZsvfU8xld0MUB/emUe0xlJNtNjlndQIfT5R2oQm87gEus4vwfJ1tnkm/gL/1ah4IPmO0bC9tOJeRHB23EYUWq59xWuTDWrWL0AqxUXiqmCxvkGr
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_9E6DF3E8AFB84CDC8621BA04299AB7BEciscocom_"
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: bda476d3-ab11-4805-360e-08d823592e7c
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2020 16:08:41.0449 (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: PwmAPk+51yFGFEp/+JE6iPcny51YOv5rHaMvDqDf0Xnq/EKcDPkdSj9crKwcvzzz0uoC7+RUk27ZzFJ+Bv2uaA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2579
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.11, xch-aln-001.cisco.com
X-Outbound-Node: alln-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/MvsjaAJ2-97-E9WZAl1V4jlyyqM>
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 16:08:48 -0000

Hi,

I was referring to management-address leaf-list in the same grouping (see below).

I don’t have the expertise to answer your questions below, maybe some YDs do.

Regards,
Reshad.

     grouping l2-node-attributes {
       description
         "L2 node attributes";
       container l2-node-attributes {
         description
           "Contains L2 node attributes.";
<snip>
         leaf-list management-address {
           type inet:ip-address;
           description
             "System management address.";
         }
         leaf sys-mac-address {
           type yang:mac-address;
           description
             "System MAC address.";
         }


From: Susan Hares <shares@ndzh.com>
Date: Wednesday, July 8, 2020 at 11:48 AM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>om>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>rg>, "i2rs@ietf.org" <i2rs@ietf.org>
Cc: "martin.vigoureux@nokia.com" <martin.vigoureux@nokia.com>om>, 'Benjamin Kaduk' <kaduk@mit.edu>
Subject: RE: [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology

Reshad:

Thank you for quick response.   However, I’m confused.   Where do you see the IP address in the Yang snippet I sent?  It is a MAC Address (type yang:mac-address)?  If the system port allows IP, it will respond to the ARP request with the appropriate IP/MAC match in an ARP reply.

In real implementations I2rs implementers examined,

  *   L2 port with mgmt-mac-address seems to be used to only send LLDP packets,
  *   L2 port with sys-mac-address seems to be used for management using TCP/IP.



If we swap the names, it did not work with the initial implementers of the yang model.  The  I2RS Topology models are used for operational management of switches and routers as logical units.



Also, your response does not seem to match my questions:


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?

I’m sorry to bother you but this document is being reviewed by the IESG  tomorrow (Thursday) and
I am the shepherd.  I do not know how to answer some of the yang related questions regarding multiple system ports to exchange management configuration on.

I had thought that netconf/restconf would be exchanged over the same ports so the yang doctors would know what the normal custom should be.

Thanks again!

Sue










From: Reshad Rahman (rrahman) [mailto:rrahman@cisco.com]
Sent: Wednesday, July 8, 2020 11:27 AM
To: Susan Hares; yang-doctors@ietf.org; i2rs@ietf.org
Cc: martin.vigoureux@nokia.com; 'Benjamin Kaduk'
Subject: Re: [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology

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>rg>, "i2rs@ietf.org" <i2rs@ietf.org>
Cc: "martin.vigoureux@nokia.com" <martin.vigoureux@nokia.com>om>, '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