YANG Module Switching for Network Device Compatibility
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Network service providers face challenges in managing network devices due to compatibility issues between different YANG module standards and versions, leading to difficulties in deploying new services quickly and efficiently, as existing protocols like NETCONF and SNMP are inadequate for complex network management.
Innovation Solution
A method and apparatus that enable a network management device to detect incompatible YANG modules in a network device, send an RPC request to switch to a compatible YANG module, and establish a control session, allowing for seamless management without modifying the controller's capabilities, thereby reducing dependence on the controller and expanding device application range.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the network device uses a new version of YANG module to improve functionality, then the device capabilities are enhanced, but compatibility with the controller is lost
Solution Approach 1:
The network device dynamically switches between different YANG module versions based on controller compatibility requirements. The device can load and unload different YANG module versions as needed, transitioning from a static single-version approach to a dynamic multi-version approach that resolves the contradiction between enhanced capabilities and compatibility.
Solution Approach 2:
The system changes the version parameter of the YANG module being used. By switching the YANG module version parameter between old and new versions, the device can adapt to different controller requirements while maintaining access to both old and new functionalities, thus resolving the compatibility issue.
2Productivity
If the controller and network device are developed independently to improve development efficiency, then development speed increases, but version synchronization becomes difficult
Solution Approach 1:
The network device is designed with universal compatibility to support multiple YANG module versions simultaneously. This multi-functionality allows the device to work with controllers at different development stages without requiring strict version synchronization, thus maintaining development independence while resolving version compatibility issues.
3Reliability
If the controller manages the network device with strict version matching to ensure compatibility, then management reliability improves, but device management flexibility is reduced
Solution Approach 1:
The network device performs self-service by automatically detecting controller compatibility requirements and switching to the appropriate YANG module version. This eliminates the need for the controller to enforce strict version matching, as the device autonomously ensures compatibility while maintaining management flexibility.
Data Source
AI summary
A device management method includes a first network device sending a first remote procedure call (RPC) request message to a second network device, where the first RPC request message includes information about a third yet another next generation (YANG) module that is identifiable to the first network device. After the second network device switches to the third YANG module, the first network device establishes a control session between the first network device and the second network device based on the third YANG module. When the network device supports switching between YANG modules of different standards, the second network device is notified, by using an RPC, to switch to a YANG module supported by the first network device.


