Closed Bharanidharan-S closed 8 years ago
Hi, Please try running netconf server with param: --default-style=report-all to see any different. Regards, Hoang
Dear Hoang,
Thanks for your response. Same behavior exists even after including --default-style=report-all. RPC request also triggered correctly.
For your information: (RPC reply and request - With no default-values in its reply..)
Request ######################################## <? xml version='1.0' encoding='UTF-8'?> < rpc message-id="3" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> < get> < filter type="subtree"> < bbf-fast:configs xmlns:bbf-fast="urn:ietf:params:xml:ns:yang:bbf-fast-vop"> < bbf-fast:profiles> < bbf-fast:noise-margin-profile/> </ bbf-fast:profiles> </ bbf-fast:configs> </ filter> < with-defaults xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">report-all </ get> </ rpc>
Reply Ok or Operation Successful ##################### <? xml version='1.0' encoding='UTF-8'?> < rpc-reply xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3" last-modified="2015-08-06T05:40:06Z"> < data> < configs xmlns="urn:ietf:params:xml:ns:yang:bbf-fast-vop"> < profiles> < noise-margin-profile> < name>hi</ name> </ noise-margin-profile> </ profiles> </ configs> </ data> </ rpc-reply>
The param should also applied for netconfd too (via netconfd.conf or --default-style=report-all).
Dear Team,
I am seeing some issues with default values to be shown in netconf client using get-with-default-->report-all. So please guide me where went wrong.
I could see default values of leaf parameters are displaying in netconf client using the option mentioned above. But not for all leafs, some of the leaf's default values are not shown. I have given below information of netconf client and yang part of code which gives issues. Also see the capabilities info in the attachment .
Kindly comment incase of any further information required.
Please find below details for your understanding:
Netconf client:
NETCONFc: Seguesoft NETCONFc
Version: 2.0
Yang file
NOTE: < Leafs which are not displaying its default-values under the list "noise-margin-profile" and vectoring-profile mentioned below >:
/* Noise Margin Profile. */ list noise-margin-profile { key name; description "A list of noise margin profiles.";
} /* list noise-margin-profile ends*/
/* Vectorng profile parameters. */ list vectoring-profile { key name; description "A list of vectoring profiles.";
}