kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
50 stars 12 forks source link

Upgrade netconf_client for tests and create a new docker image #390

Closed mattiaswal closed 1 month ago

mattiaswal commented 7 months ago

This since they now have added get-data RPC which we have patched on our own. infamy/netconf.py:

 def _get_data(self, xpath,as_xml=False):
        """Local member wrapper for netconf-client  RPC"""
        # pylint: disable=protected-access
        (raw, ele) = self.ncc._send_rpc(self._ncc_get_data_rpc(filter=xpath))
        data = NccGetDataReply(raw, ele)
        if(as_xml):
            return data

From netconf_client:

add support for the < get-data > command from RFC 8526
troglobit commented 7 months ago

Ah great, finally. Thank you for looking into this!