From 1b2312ce9ad56e1f3465f3e7ea35cc375d8a2760 Mon Sep 17 00:00:00 2001 From: Enrique Martin Date: Fri, 28 Jul 2023 09:59:28 +0200 Subject: [PATCH] Updated README example --- pandora_server/extras/pandoraPlugintools/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pandora_server/extras/pandoraPlugintools/README.md b/pandora_server/extras/pandoraPlugintools/README.md index afebb28c2d..668b27ccf8 100644 --- a/pandora_server/extras/pandoraPlugintools/README.md +++ b/pandora_server/extras/pandoraPlugintools/README.md @@ -53,10 +53,11 @@ modules.append({ "unit" : "%" }) -## Transfer XML +## Generate and transfer XML +xml_content = ppt.print_agent(agent, modules) +xml_file = ppt.write_xml(xml_content, agent["agent_name"]) ppt.transfer_xml( - agent, - modules, + xml_file, transfer_mode="tentacle", tentacle_address="192.168.1.20", tentacle_port="41121",