NETCONF and YANG: De facto Network Management for SDN

By Suvendu Mozumdar |

Technology Overview

Network Configuration Protocol, better known as NETCONF, gives access to the native capabilities of a device within a network, defines methods to manipulate its configuration database, retrieves operational data, and invokes specific operations. YANG provides the means to define the content carried through NETCONF, for both data and operations. Together, they help users build network management applications that meet the needs of network operators.

NETCONF and YANG 1

Network diagram of a NETCONF management system

The motivation behind NETCONF and YANG was that instead of individual devices with functionalities, there is a need to have a network management system that manages the network at the service level, which includes the following:

Businesses have used SNMP for a long time, but it was being used more for reading device states than for configuring devices. NETCONF and YANG address the shortcomings of SNMP and add more functionalities in network management, such as the following:

With this brief overview about the technology, let us now discuss a test scenario to validate a NETCONF Server’s (networking devices) functionality and scalability using the IxNetwork product.

NETCONF Manager Test Scenario

Keeping in mind the features of NETCONF as discussed in the preceding sections, it’s important to test a NETCONF Server’s functionalities thoroughly. The important aspects of a NETCONF Server validation can be classified in the following categories:

Let’s describe a typical NETCONF Server test scenario in more detail.

NETCONF and YANG 2

Test Steps: The test steps are noted as follows:

  1. The NETCONF Clients are preconfigured with a set of NETCONF Request XMLs as per the YANG model supported by the DUT. The XMLs have different types of command snippets like edit-config, get, and get-config.
  2. After the sessions are established, the NETCONF clients will start sending the NETCONF Request messages in the form of XML files and the Server is supposed to respond with the NETCONF Reply messages with the same XML format.
  3. Let’s assume the Clients have sent some Request messages and stopped sending thereafter.
  4. For each session, measure how much time (min, max, and average) the Server takes to send a Reply message after receiving a Request message.
  5. Now have the Clients resume sending the Request messages again at a higher transmission rate for a certain duration of time and measure how that affects the DUT’s response time under stress condition.

Test NETCONF/YANG with IxNetwork

To validate these scenarios, a test tool is very much needed that can emulate multiple NETCONF clients having sessions with the same NETCONF Server (DUT). IxNetwork NETCONF/YANG emulation offers a rich set of features that can help carry out the test scenario described earlier. The following is a summary of the various capabilities provided:

NETCONF and YANG 3

Encrypted SSH Packet

NETCONF and YANG 4

Decrypted SSH Packet

NETCONF and YANG 5

The following is an image of the IxNetwork NETCONF Emulation

NETCONF and YANG 6

NETCONF Command Snippet Configuration

Check out the IxNetwork NETCONF Client Emulation Use Cases Video

Use Cases Video

limit
3