add external_ip grain from salt-contrib
get leftid from external ip