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",