Ad Widget

Collapse

SSH Netconf issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dogeoff
    Junior Member
    • Apr 2025
    • 2

    #1

    SSH Netconf issue

    Hi,

    we tried to new feature for subsystems queries with this key ssh.run[TryNetconfCommand,,,,,netconf]
    and with this query :
    <rpc><get><filter type="subtree" xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-plat-chas-invmgr-ng-oper"><platform-inventory><racks><rack><attributes><basic-info><serial-number/><description/><model-name/><software-revision/></basic-info></attributes></rack></racks></platform-inventory></filter></get></rpc>]]>]]><rpc><close-session/></rpc>]]>]]>

    it works when we use a netconf-console but unfortunately the items receives an long answer from the HELO protocol like this :

    <hello xmlns="urn:ietfarams:xml:ns:netconf:base:1.0">
    <capabilities>
    <capability>urn:ietfarams:netconf:base:1.1</capability>
    <capability>urn:ietfarams:netconf:capability:candidate:1.0</capability> ...

    more than a Text or Log item can hold so we dont see any useful data,

    any suggestions on what we are doing wrong ?

    Thank you!

Working...