Configure Interoperability Between MX Series Routers and OpenDaylight
OpenDaylight (ODL), hosted by the Linux Foundation, is an open-source platform for network programmability aimed at enhancing software-defined networking (SDN).
Starting from Junos OS Release 17.3R1, you can configure interoperability between MX Series routers and the ODL controller. ODL provides a southbound Network Configuration Protocol (NETCONF) connector API, which uses NETCONF and YANG models, to interact with a network device. A southbound interface, an OpenFlow (or alternative) protocol specification, enables communication between ODL and routers or switches. After you configure interoperability between the ODL controller and the router, you can use the ODL platform to change the router configuration, orchestrate and provision the router, and execute remote procedure calls (RPCs) on the router to get state information.
Setting up interoperability between ODL and an MX Series router involves the following tasks:
Configuring NETCONF on the MX Series Router
As a prerequisite for configuring interoperability between ODL and an MX Series router, you must configure NETCONF on the router. NETCONF is used by the ODL controller to interact with southbound devices.
To configure NETCONF on the router:
Configuring NETCONF Trace Options
After you configure NETCONF on the router, you must configure NETCONF trace options. For more information about NETCONF and Junos XML protocol tracing operations, see NETCONF and Junos XML Protocol Tracing Operations Overview.
To configure NETCONF trace options:
[edit] user@host# set system services netconf traceoptions file file name user@host# set system services netconf traceoptions file size size user@host# set system services netconf traceoptions flag flag user@host# commit
To know more about configuring tracing operations for NETCONF and Junos XML protocol sessions, see this example.
Connecting ODL to MX Series Router
After NETCONF is configured on the MX Series router, you need to connect the ODL controller to the router to complete the process. For more details on this, see this ODL documentation.