blob: 828075fd7e71a76c038102dbfe598ce44b3d63b1 (
plain) (
tree)
|
|
from lxml import etree as et
from ncserver.base.modman import ModuleManager
from netconf.util import elm
mgr = ModuleManager()
node = elm('nc:data')
mgr.collect_operational(node)
print(et.tostring(node, pretty_print=True).decode())
|