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

From: Mahesh Jethanandani <[email-masked]>
Date: Sat, 1 Sep 2018 14:44:01 -0700

Hi Kent,

> On Aug 28, 2018, at 12:44 PM, Kent Watsen <[email-masked]> wrote:
> 
> 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"?  ;)

My take is that operators will turn the output to “verbose” if and when they start to see failures and the device not booting. Otherwise, by default, they would be happy to just see progress reports.

> 
> Do people like or dislike this direction?

I am fine with this direction.

Thanks.

> Kent // contributor

Mahesh Jethanandani
[email-masked]