I have been dabbling with the Qapp Python scripting lately and i want to build a qapp wherein the user can have multiple end device ips as input and have their L2 connected switch and L3 Gateways automatically drawn on the map using one-ip-table information. However, looks like the gateways cannot be resolved by one ip table that’s why it is not being drawn. Then i noticed when the end device is drawn, i am able to see the L3 neighbor by extending the plus sign. Is there a Qapp API or a combination of them that can see the L3 neighbor? Or is there a better way to achieve this? Thank you!
import PyDataModel
output = GetOneIpTableItem($Input1.IP,"","","")
output has no entry for gw.