Hi ,
While trying to execute (netconf-console-tcp --host=10.24.7.52 -port=2023 cmd-get-hw-inventory.xml),i am getting error :
no registration found for callpoint cb_op_hw_component/get_attrs of type=external
devel-c no registration found for callpoint cb_op_hw_component/get_attrs of type=external path /hw:hardware/component{ALTIOSTAR-RRH}
25-Jan-2022::06:47:00.775 kontronbng18 confd[21241]: netconf id=14 couldn’t retrieve all data from the data providers, closing session
when i execute confd --status shows:
callpoints:
id=cb_op_ald_cs daemonId=1 daemonName=Operational callbacks=get_elem
id=cb_op_ald_ports daemonId=1 daemonName=Operational callbacks=get_next,get_elem
id=cb_op_bc daemonId=1 daemonName=Operational callbacks=get_case,get_next,get_elem,exists
id=cb_op_delay daemonId=1 daemonName=Operational callbacks=get_next,get_elem
id=cb_op_hw_component daemonId=1 daemonName=Operational callbacks=get_next,get_elem
when i execute confd --check-callbacks:
/hardware/last-change - exists()… ok
/hardware/last-change - get_elem()… ok
/hardware/component - get_next(-1)… ok
/hardware/component[name=‘ALTIOSTAR-RRH’] - exists()… ***: reported as no exist
/hardware/component - get_next()… ok
/hardware/component - num_instances()… ok
cmd-get-hw-inventory.xml:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<filter type="subtree">
<hardware xmlns="urn:ietf:params:xml:ns:yang:ietf-hardware">
</hardware>
</filter>
</get>
</rpc>
]]>]]>
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2">
<close-session/>
</rpc>
Also I have added the debug message in get_next call back which i could see.
if anyone can help me what could be the probable reason then it will be really helpful to me.
Regards,
Biswajit