NAPALM doesn't provide declarative modules to configure the various system parameters on the managed devices, such as interfaces' BGP, Quality of Service (QoS), and so on. However, it provides a common API to push text-based configuration to all the devices, so it requires the configuration for the devices to be present in text format in order to push the required configuration. In this recipe, we will create the configuration for all our devices. This is the configuration that we will push to our devices using NAPALM, in the next recipe.
Building the device configuration
Getting ready
As a prerequisite for this recipe, an Ansible inventory file must be present.