In this recipe, we'll use the Node.js framework that we created in the previous recipes in order to query the JUNOS XML API and extract MPLS LDP information about label-switched paths across the network. The MPLS label-switched path information is valuable to understand because it generally provides an insight into end-to-end traffic flows, in contrast with the per-link interface monitoring that we've already completed.
Monitoring MPLS LDP statistics
Getting ready
In order to complete this recipe, you'll need:
- Access to a development/management platform, with the following software available:
- Node.js v4 or v6
- Access to JUNOS OS devices that you want to monitor, all pre-configured with NETCONF-over-SSH services...