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

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

Return-Path: <rrahman@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 998BD3A0F4A; Wed, 8 Jul 2020 09:20:29 -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=bLeSGjHi; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=FtzID/gQ
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 qkdj2CUd7KN8; Wed, 8 Jul 2020 09:20:26 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC6643A0F3C; Wed, 8 Jul 2020 09:20:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=42577; q=dns/txt; s=iport; t=1594225226; x=1595434826; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=4nGGBeNvkPxZN51t3+ha66n6flHffkja/pC5SJoOsjc=; b=bLeSGjHi/zdiE4bPpn9+wRMiNBS1/LS4GNkvQ8Ac8x6y7tvi8JRdQAik 0VPggUVuUKWrd2DsF3WSyB2grt/FsTBJhFbfDc7f431sAUhSWn0cHvzGu vZUKiR8FAJTnWUa+AflXBfhZml9BJ86k08ZGb6doZu8kJo2FJLW3QYXyI M=;
IronPort-PHdr: 9a23:ZdHwUxRyxDe0mElUkVgHg5YFgNpsv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESQBN+J7f5Wi6zdtKWzEWAD4JPUtncEfdQMUhIekswZkkQmB9LNEkz0KvPmLklYVMRPXVNo5Te3ZE5SHsutYVHAoju56jtBUhn6PBB+c+LyHIOahs+r1ue0rpvUZQgAhDe0bb5oahusqgCEvcgNiowkIaE0mRY=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0C3AAD18QVf/5NdJa1gGgEBAQEBAQEBAQEDAQEBARIBAQEBAgIBAQEBggqBIy8pKAdvWC8sCoQpg0YDjS8lgQGXWoJTA1ULAQEBDAEBJQgCBAEBhE0CF4F9AiQ4EwIDAQELAQEFAQEBAgEGBG2FWwyFbwEBAQEBAhIRHQEBKQ4BDwIBCA4DAwEBASEBBgMCAgIwFAkIAQEEAQ0FIoMEAYF+TQMuAQ6fdgKBOYhhdoEygwEBAQWBMgEDAQ8BPwGCfhiCDgmBOIJqiGWBHhqBQT+BEScMEIIYNT6CXAIBAgGBew0JgmAzggsijySDF4ZDizuQWAqCXIhLkH8DHYJzlwyFI5FbgWWIN5Fpgl0CBAIEBQIOAQEFgWojKoEtcBU7KgGCPglHFwINjh4MF4ECAQiCQ4UUhUJ0AjUCBgEHAQEDCXyOHQGBEAEB
X-IronPort-AV: E=Sophos;i="5.75,327,1589241600"; d="scan'208,217";a="524613004"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 08 Jul 2020 16:19:58 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by rcdn-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id 068GJwgU020671 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 8 Jul 2020 16:19:58 GMT
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jul 2020 11:19:58 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jul 2020 11:19:57 -0500
Received: from NAM11-BN8-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:19:57 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jRWEvWZ9SJIgT2RAAwhVjio9id5Xk0FjU2WCk12KP4o5c4bbaLwlqvejHUTc+mi7kX2+UOno1icN3f9LNhlIDvA7F9J1E5/RDkPBgReTQiE8+UhrhAS0xqWFBpjyFWzaEPSqxV1gFC8RjuQGok1lBTg91FXrKMbHmaOyTIpTKTqNKOv5kQ1/1KngAu3Gh9Q7U0Nd21oWq10K+FQDbuZ8sE3zIJzVP6SiMQZW5n/bQBdhx8ljh7Jvom0c3Y0nfNiJYmOK30DD4zMTANGnxXp7r5ZEr6brSZlG+VW8VpXQjrm4sb3cqeD/IGHffWbfkdaP4yW0W3IV1Jbp7tu/1Hrlwg==
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=4nGGBeNvkPxZN51t3+ha66n6flHffkja/pC5SJoOsjc=; b=TDExCU3g36amCRlLcfS2EZH7qAT2SMFiXnpdKZBp8P0EjCNIjhkFfMoMqoCzkkutOG8ld6Tky28l6tudbvR5RdmKV2oFPmWLo2yF3Mp74Jhcl1uXx26JF/LAmXUl44tMV5ggPsXgAkZF/DdMPrkot+HhAZFuXAK6sZ//r9Y5iBXoj1hwN2OIaiQ6cnHW+R/p2nuw3aplSLuwqValOtNsuEhEaNmhTYNUH5o1uNXXXFScRAPi50luNQnHh3Qg27dbaosOu3BtEQFEmUBWiUMbtbKBMJ2ZXZKMh2M9NpBAPUFR2hX6iYFD3VNypOz+bnvf6RCq63a3QIBEnrXH5dBLfA==
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=4nGGBeNvkPxZN51t3+ha66n6flHffkja/pC5SJoOsjc=; b=FtzID/gQjmKHB7/HQtB7pabSCcaVN76L7ZjTVgRlTLH1bd3ZLal1DNERMAMRXnVeeMOdDgF+0RGL1RihlDKEC5y/yftXuceork0KUZ+KJU/ed9k7Wn5215kwAZcFalr599uIvbQ9Jr2PQDGH39jgKtvWmFge9mEuEqUga08yue0=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN6PR11MB1234.namprd11.prod.outlook.com (2603:10b6:404:47::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.27; Wed, 8 Jul 2020 16:19:56 +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:19:56 +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//8LGgIAARRwA//++CQA=
Date: Wed, 08 Jul 2020 16:19:56 +0000
Message-ID: <316D881F-9849-4306-A29F-86EB9E0F3A8D@cisco.com>
References: <004901d6553a$20e326f0$62a974d0$@ndzh.com> <268BBF05-F471-49E1-9F0C-C3E47F03B23D@cisco.com> <001701d6553f$202effe0$608cffa0$@ndzh.com> <9E6DF3E8-AFB8-4CDC-8621-BA04299AB7BE@cisco.com> <005101d65543$11779df0$3466d9d0$@ndzh.com>
In-Reply-To: <005101d65543$11779df0$3466d9d0$@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: 18544128-4d11-4ffe-b043-08d8235ac11e
x-ms-traffictypediagnostic: BN6PR11MB1234:
x-microsoft-antispam-prvs: <BN6PR11MB1234B4F95C7E0F1CC4526653AB670@BN6PR11MB1234.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: htRKiyoVdRSeKl++XK9Qwx3OlPdaA8Pu+gmWKqFH/Fa9r3Ote9p09hiTjjkgRk6yq/Ws3Y4VtsQ7arQ4VX16gPqGsEvsp/c4rp47KLrGK+wKqsZfqJAPN47IaXQRqgaWUEBwGz5uwJZWasoJmwqv845jR+swVgboJpbNBAZSUlqW0FD5310NtQcpezHkkJR5mFEmS4w86/rR+UFptqiKvaWX+cvGoU5dP6uhNQhV6Y1DLwbqrX+rD/VjLf6p3SbBI9R6vSYNohAlW56IvywmGRel9bgPqJ8tEV+Wxm+BtghEZsckx2xoRC702bkeY/xfZXUP6gcsmzxLDbUYIzkni2mwC27GiEVTNRixtVCZT0me99VmP5MSsJ83aNcTFIdSgJCqZDqPEiKyuJwMGvDi4Q==
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)(54906003)(33656002)(91956017)(5660300002)(86362001)(76116006)(83380400001)(110136005)(498600001)(966005)(4326008)(6486002)(36756003)(2616005)(186003)(8936002)(166002)(8676002)(71200400001)(64756008)(66446008)(66946007)(6512007)(2906002)(6506007)(53546011)(66556008)(66476007)(26005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: MQ6p6+kDnQOP5BAKfkniwbl7V8TY3z54Rh7y6eNJd4YnPGAmw/u15xHDEtKwz7ROSiyqy/+kvcgNd1xslK5c/z/VzXXCnzIcA3Qg6iai8aMNWSt09B/sbvLkcI+0SYbnzq46pqh09sfuqv/hdnll7FGchNU44KrZAUwhLLXFQNddq/vYZqw3jYbIcSG5rrZPKtcbcsOP1+tBfXk6nLeD/v/4MhqVGxof2i9ZCO5OQrTK7MNbE4l9BGaUk7CZvRtMvW559tSntfYAr9cRK6P0Me0o72Pbu/or4uDLkkTv5PWR5rgQcB+je5VN6ZPXfTN/BX0YwEgy4q8gRI4Nwgt/+xzkQf4D2sz/tvHEChiddOf7KIZ9Z/K8XJ5h4R9k2G3cfJjUSqr93h8IidCaqjQPqn7ZT21y5WeAfZSrN5hDraTOhcJCYEw+nmSk7Y3BwhWo95gRcD+kOPPt/UJbHG/b3dMb3EKkqlMnEBgC90Gg8K0+buUAavLFU5z8Yw50GwDC
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_316D881F98494306A29F86EB9E0F3A8Dciscocom_"
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: 18544128-4d11-4ffe-b043-08d8235ac11e
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2020 16:19:56.6058 (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: /PPaxF414n3dR/iM6FQ3VGEZUXRTtHpigv1+lR8RbfHQEJfmHajiGDZycpT9WMK81NVxapjCpP1MfpuvUjNInQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1234
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.13, xch-rcd-003.cisco.com
X-Outbound-Node: rcdn-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/98HzkLLKyqJ9XNsgJM_VgAQPwyw>
Subject: Re: [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jul 2020 16:20:36 -0000

Thanks Sue. I wasn’t questioning the need for multiple IP addresses, I just found it odd to have IP address(es) in an L2 grouping.

Regards,
Reshad.

From: Susan Hares <shares@ndzh.com>
Date: Wednesday, July 8, 2020 at 12:16 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.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>
Subject: RE: [yang-doctors] draft-ietf-i2rs-yang-l2-network-topology

Reshad:

Juregen indicates my questions are not for IETF but for IEEE, and that multiple system-macs may be implemented as a list.

I’m looking at the IEEE  yang model for 802-1Qcp (2018 update to IEEE 802.1Q), but you can get the pre-release draft at (only editorial nits are missing) at:

http://www.ieee802.org/1/files/private/cp-drafts/d2/802-1Qcp-d2-2.pdf

The reason there are multiple IP addresses is that the single LAN can have multiple IP addresses assigned to it.
In may routers/switches the single MAC port will have multiple virtual ports.  (cisco started this concept in the 1990s).

Thanks for the help!

Sue

From: Reshad Rahman (rrahman) [mailto:rrahman@cisco.com]
Sent: Wednesday, July 8, 2020 12:09 PM
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,

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>, "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: 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>, "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