SysResource Framework Abstraction Layer for KVM Network Statistics
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In network switch and router environments, particularly in KVM settings, collecting comprehensive network interface statistics is challenging due to the inability of Guest OS to directly access HOST OS interfaces, necessitating re-implementation of code for both physical and virtual interfaces, which complicates enhancements and increases development time.
Innovation Solution
The SysResource Framework creates an abstraction layer using scripting languages like Python to configure and display system resources, leveraging existing OS tools and OEM utilities, allowing filtered output and reducing the need for direct system access, thus enabling reuse and simplifying development across different platforms.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If code is re-implemented for both physical and virtual interfaces in KVM environment, then complete network interface statistics can be collected, but development complexity increases and enhancement becomes difficult
Solution Approach 1:
The patent merges the collection of physical and virtual interface statistics into a unified approach. The Host OS collects statistics from both the physical network interface and virtual network interfaces through a single integrated mechanism, eliminating the need for separate code implementations and making enhancements easier to maintain.
Solution Approach 2:
The patent introduces an intermediary mechanism where the Host OS acts as a mediator between the physical network interface and the Guest OS. The Host OS collects statistics from the physical interface and makes them accessible to the Guest OS through virtual interfaces, avoiding the need for the Guest OS to directly access physical interfaces.
2Ease of operation
If Guest OS directly accesses HOST OS interface device using legacy approach, then statistics can be collected, but this approach cannot be used in KVM environment where direct access is not possible
Solution Approach 1:
The patent creates a universal interface mechanism that works across different operating systems and virtualization environments. The Host OS provides a standardized virtual network interface that can be accessed by the Guest OS regardless of the underlying physical interface type or virtualization platform, making the solution both simple to use and highly adaptable.
3Adaptability or versatility
If code is re-implemented in two locations to support NOS CLI, then CLI functionality is achieved, but enhancements become difficult and development time increases
Solution Approach 1:
The patent segments the codebase into modular components where the core statistics collection logic is separated from the CLI-specific implementation. This allows the core functionality to be implemented once and reused across multiple platforms including NOS CLI, reducing development time and making enhancements easier to propagate.
Data Source
AI summary
A framework that creates an abstraction layer to configure/display system resources and process/application resource utilization while accessing the system information from a CLI. The framework is implemented using a scripting language like python and uses pre-existing OS or OEM tools to configure/display system resource information and filter the output to implement the CLI. A user argument defines the choice to use the framework as a standalone utility (running in a Linux shell) or in a library mode. Since the framework makes use of OS or OEM tools and does not access any system resource directly, the framework can be run in the virtual machine and baremetal OS. The framework can access the OS or OEM tools to configure/display system resource information locally and remotely by establishing remote communication through rsh (remote shell) connections. This approach allows reuse of the code, minimizes the implementation complexity, reduces development time and minimizes defects.


