Can some one help in the following segment. I import a module and do deviation and deviate as shown below, but for some reason the deviate does not work. I tried, other variation, not sure what I am doing wrong. Thanks in advance.
module test-module {
namespace "http://mytypes.com/test";
prefix test;
container ab{
leaf a {
type boolean;
default false;
}
leaf b {
type int32;
default 25;
}
}
}
Thanks Cohult.
I am using a Makefile that generates the the .fxs files for multiple modules. If we assume the module that imports the deviation one is called main-module.yang,
How would I include these options for just the deviation module in the Makefile?
I think you need to do it in your Makefile. We do not know your Makefile targets, but generally you may create target just for the deviation related module(s) which would override other FXS target(s).