In this recipe, we’ll use the PyEZ framework to make operational RPCs to the JUNOS device in order to query configuration information. We’ll apply some logic and summarization with a view to producing a report that offers some indication on the level of load or configuration burden experienced by the JUNOS device. Such benchmarking is a common requirement in ISP networks, where it is not always possible to dimension the capacity of a router simply by its physical interfaces. Logical configuration consumes control plane resource as well and needs to be considered. This in turn can affect decision making for chassis sizing. The following table presents the description for different resources used:
Resource |
Description |
Physical interfaces |
The number of physical interfaces likely determines the amount of traffic capacity... |