Code: Select all
node0
pool_192_168_1_113
57
1
21%
2025-01-07 11:55:50 CST
1
7741
56771
64512
11%
pool_192_168_1_114
57
1
8%
2024-12-12 11:25:24 CST
1
2520
61992
64512
3%
gos_src_pool_207_195_114_101
57
1
32%
2024-12-05 11:27:50 CST
1
15115
49397
64512
23%
gos_src_pool_207_195_114_103
57
1
19%
2025-02-11 08:13:17 CST
1
7920
56592
64512
12%
< /code>
Dann habe ich versucht, alle pool_192_168_1_ values zu analysieren, aber dies schlägt fehl und gibt nichts zurück, irgendwelche Ideen? < /p>
outputxml1 = etree.tostring(rpc_xml, encoding='unicode')
root = ET.fromstring(outputxml1)
x = 1
for item in root.findall('./multi-routing-engine-results/multi-routing-engine-item/re-name/source-resource-usage-pool-information/resource-usage-pool-name'):
print(str(item))
x = x + 1