In this recipe, we will outline how to open a session between Ansible and the Batfish server. In addition to this, we will look at how to initialize the network snapshot that we prepared in the previous step, as well as how to send it to the Batfish server.
Initializing the network snapshot with Ansible
Getting ready
As outlined in the previous recipe, the device configuration is generated, and the network snapshot is packaged at this point. Furthermore, IP reachability is now also provided between the Ansible controller and the Batfish server on TCP ports 9996 and 9997.