Re: [Netconf] should onboarding information *set* the debug level?

Kent Watsen <kwatsen@juniper.net> Tue, 28 August 2018 19:44 UTC

Return-Path: <kwatsen@juniper.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 849C3130E05 for <netconf@ietfa.amsl.com>; Tue, 28 Aug 2018 12:44:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.711
X-Spam-Level:
X-Spam-Status: No, score=-2.711 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, T_DKIMWL_WL_HIGH=-0.01] 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 C-j0loKVN71C for <netconf@ietfa.amsl.com>; Tue, 28 Aug 2018 12:44:05 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 CE972128CB7 for <netconf@ietf.org>; Tue, 28 Aug 2018 12:44:04 -0700 (PDT)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7SJi2MO031557; Tue, 28 Aug 2018 12:44:02 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=weV86L2xQCt09AdqU2XC2geRKGD9n/LiBOypXvNq2Hc=; b=CmqnKMLaG/DN3tTK07BqKqHtd2iMPJ1IWI/4AXUDnZl8/d/SVhEr189alCC4L87o9lI5 9WQunni1zyB9isAhcLVuL/qJDuNJLzt0oBouPAIcXtiREywk6U5vyx3JzDa0o+J31OZX jRuWt6Urkpg4AWaTo9k24qJFj9SdPw4T3VJ3xAIItv2VN8UZxkg+09iZO7CVHHpcTN9A ytanpvatU7FYID1YxmFTAbSmnH0XzyIg26SmajW5YetyjMabq0q0ZMYipYtBNSDaPnui h57gfTVl+6mFprT6zHRQJt+qY5HYRvYACQFUylv/n5KmvXWGq4E/PKnXxnLpNP9CdWHa sg==
Received: from nam03-by2-obe.outbound.protection.outlook.com (mail-by2nam03lp0054.outbound.protection.outlook.com [216.32.180.54]) by mx0b-00273201.pphosted.com with ESMTP id 2m5crgr08m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 28 Aug 2018 12:44:02 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4572.namprd05.prod.outlook.com (20.176.79.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.9; Tue, 28 Aug 2018 19:44:00 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::544a:dd4d:9524:9e6d]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::544a:dd4d:9524:9e6d%3]) with mapi id 15.20.1101.007; Tue, 28 Aug 2018 19:44:00 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] should onboarding information *set* the debug level?
Thread-Index: AQHUPjzrBH2oprkw8E6Qu2pmGWughqTUC5QAgAFD0YA=
Date: Tue, 28 Aug 2018 19:44:00 +0000
Message-ID: <3175991A-68AC-4B29-B1EB-6A979A87A542@juniper.net>
References: <AB2AFFDF-B8BD-4C82-A9FB-4021B25BE7FA@juniper.net> <B9756C0E-4B4A-45A8-B0A5-DAAC48FA5750@gmail.com>
In-Reply-To: <B9756C0E-4B4A-45A8-B0A5-DAAC48FA5750@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.14]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4572; 6:bEOyRzGMUWNU510QIMQjQJD/gmu8ALEuem5hX2l8mG9z4pFevop9wLwozB/0J45WaXfmuz03XADDgKF0UZDsVTZH6sXRP6NKtX6bT28DiWYn7ApJ6WRUo+oMRkM/Cjxur6p8RNGS1ElP+wLfa0dI47VQe5ALD/nb6VBOjZ44AHLx0dBvvLesJ5N9fb+XzDUGkVB2xXf/t31VXNAW7K6OcDOU4I1tJlrnxFHRBDkQLCpul0q/VvWNSDlT8DxCwkU58HVkGex/qTroFZjWiEw+aWyhdPMBR7J6TmnhOydwQLQHbSez70XIRRUqU/hVEXr7tBdJkkrKAWZbGqTidqvBMNBd48DmXvdPoIIHy8rBGnCZNcQ711tVN0kCuifk98eW5Uje0lBX3uiKaDT4tAXDkqmu9b/EH254DXL7s6WK6zJD6I+lyEd+nX96E6dYF0T/Ab/9wCYG5NVLQtYPlJvH0g==; 5:6mTFPoaMDU1yTFbzZhKYEfllQZQhbwARNu5rlCanJIW/06gUCkVkTvdFo+s1kmEsRZNdpdcOZGnQuv3YbfA+08mLaHe/P6X4eBRFl+jEneK5EoH+B3fxmhSMgMi234b8cNg2ybVZUUEbSmoriRWBseQYjgMtxDMw6mcwGOapjiE=; 7:TvdgUkL6TfSxuoHH1ITc/nGWN2Pfmofft+4CnntpSei0IghdAmcnqz20p2nq513ErPDVyPhyS1NI+ACzJHNU9uugAWbu4n4ERq3LqIuMRb2lVmwCiRYPkqbZzl1iEe/+5BvM0hSm8yPlZXPQr7Il+fg7elgvp+wxY2EJydUie+C+HV1R1U2BAIF6Vf1bYJKt+k0h9JwhAzK7robXYFTusRmRI7rPt7x+rDs5QZlruuIz6SCmEj2viqhIoqL4xF9W
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 8b67dae8-e502-4db9-ee7e-08d60d1e99fb
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4572;
x-ms-traffictypediagnostic: DM6PR05MB4572:
x-microsoft-antispam-prvs: <DM6PR05MB4572483F8D999E4D071E5303A50A0@DM6PR05MB4572.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(20558992708506)(211171220733660);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201708071742011)(7699049)(76991033); SRVR:DM6PR05MB4572; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4572;
x-forefront-prvs: 077884B8B5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(136003)(346002)(39860400002)(366004)(376002)(189003)(199004)(8676002)(97736004)(102836004)(6486002)(36756003)(478600001)(25786009)(33656002)(83716003)(486006)(8936002)(446003)(11346002)(68736007)(66066001)(82746002)(5250100002)(81166006)(81156014)(2900100001)(3846002)(6116002)(6436002)(6512007)(2906002)(26005)(186003)(476003)(2616005)(7736002)(105586002)(6246003)(106356001)(5660300001)(4326008)(39060400002)(76176011)(305945005)(229853002)(53936002)(58126008)(256004)(1411001)(99286004)(6916009)(86362001)(316002)(14454004)(6506007); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4572; H:DM6PR05MB4665.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-microsoft-antispam-message-info: Gnm3ZO3OWRIp9NizzWwZ12OT7ViCKtAV06Op/jEWlu/K8x31LZSDxJFRH1fmC4wvYLuRKUqjU+1drkh/5eBBZTo2lzskgKCdks8lvTKT5m9S/b5v3e878bq84AmT1RQvCcBEAe7C+JHoXG6fW0MqXqRF8JM14VjNbYdhC+0o+CGFgAcb2BrS2Dz9h4HMjKOKcOyUMzWqT5PaKqY7t4YLJSdZrywEi3z1BFMU0GxybLMQ77DtDbkmwBpNWhK0iefIv6QzrL3bKRDw+Y5RQBeOysEUcIeM2mW+LtkVyBOxKZHw19KNFbsMJhP027DE2zk27VLmzryZkpdNJ6qaILS7WRLGOGlUgTuX+QOWeqTw0eE=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <56E248E9D799C54F986E6AC19243AA5A@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 8b67dae8-e502-4db9-ee7e-08d60d1e99fb
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2018 19:44:00.2483 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4572
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-08-28_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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808280191
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/5JdFO0SsgwpYL2mqYKRL26EzoIY>
Subject: Re: [Netconf] should onboarding information *set* the debug level?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Aug 2018 19:44:08 -0000

Hi Mahesh, all,

> It makes sense that it be an operator-decision. After all they are
> the ones in the field trying to diagnose the problem in the field.

In thinking about how to enable an operator (via a bootstrap server) to
indicate that it would like "verbose" progress reports, I came up with
the following.

  rpc get-bootstrapping-data {
    input {
      ...
    }
    output {
      leaf reporting-level {
        default standard;
        type enumeration {
          enum standard {
            description
              "Send just the progress reports required by RFC XXXX.";
          }
          enum verbose {
            description
              "Send additional progress reports that might help
               troubleshooting an SZTP bootstrapping issue.";
          }
        }
        description
          "Specifies the reporting level for progress reports the
           bootstrap server would like to receive when processing
           onboarding information.  Progress reports are not sent
           when processing redirect information.";
      }
      leaf zerotouch-information {...}
      leaf owner-certificate {...}
      leaf ownership-voucher {...}
  }


Note that it's a value, being an RPC output leaf, is outside of the 
standard zerotouch information artifact, which is perfect for this.

My only question is, when wouldn't a bootstrap server set it to
"verbose"?  ;)

Do people like or dislike this direction?

Kent // contributor