cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
473
Views
5
Helpful
1
Replies

NCS Dropped Explicit Config Comment

crench92
Spotlight
Spotlight

When using ncsc to compile MIBs into YANG and the accompanying FXS files, when I look at the YANG files, I see comments everywhere where it says "NCS dropped explicit config true".  There something I need to add when using the ncsc?  It seems to be saying this even for fields that should be configurable as they are read-write.  Do I need to add a bunch of annotations for the writable fields?

1 Accepted Solution

Accepted Solutions

vleijon
Cisco Employee
Cisco Employee
It is just a warning, you can ignore it. What happens is that writing config true is redundant, because configuration data Is the default in a yang model. The compiler is simply telling you that they are dropping the explicit statement and relying on the implicit default.

Perhaps not a very useful message, but nothing to worry about.

View solution in original post

1 Reply 1

vleijon
Cisco Employee
Cisco Employee
It is just a warning, you can ignore it. What happens is that writing config true is redundant, because configuration data Is the default in a yang model. The compiler is simply telling you that they are dropping the explicit statement and relying on the implicit default.

Perhaps not a very useful message, but nothing to worry about.