How do we add flow rules for various switches and hosts when we dont know the ip addresses of the devices created using python script?