Updated README example

This commit is contained in:
Enrique Martin 2023-07-28 09:59:28 +02:00
parent 64917608d5
commit 1b2312ce9a

View File

@ -53,10 +53,11 @@ modules.append({
"unit" : "%" "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( ppt.transfer_xml(
agent, xml_file,
modules,
transfer_mode="tentacle", transfer_mode="tentacle",
tentacle_address="192.168.1.20", tentacle_address="192.168.1.20",
tentacle_port="41121", tentacle_port="41121",