Split the fabric discovery, added automation bash script to test