IP Library Granted Patent US 11,249,979
Granted Patent B2
US 11,249,979 · App. 16/207,052 · Granted Feb 15, 2022

Systems and methods for live, on-device configuration validation

Inventors: Frank Wood (Roseville, CA); Scott A. Gulland (Roseville, CA)
Assignee: Hewlett Packard Enterprise Development LP
G06F16/2365G06F16/217G06F16/2282H04L41/08H04L41/22
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,249,979
App. No.
16/207,052
Granted
Feb 15, 2022
Kind
B2
Abstract

Embodiments of the present disclosure provide systems and methods for performing network device configuration validation online. A second instance of the command process (a shadow interpreter) can be run within a isolated validation environment on a network device that is active on a network. A copy of the configuration database on the network device is associated with the isolated validation environment. The validation handler erases the currently running configuration commands within the validation copy of the configuration database, and enters each new configuration command through the shadow interpreter to validate the new configuration commands on the network device without impacting the current functioning of the network device. After all the new configuration commands are entered, the validation report generates a report identifying the validation status for each command.

Claims (55)

1. A method, comprising:

in response to receiving, at a network device, a validation start command,

generating, by a validation handler of the network device, an isolated validation environment within the network device, wherein the validation environment is a sandbox-type execution environment, wherein executing configuration command in the sandbox-type execution environment does not affect operations in the network device, generating the isolated validation environment comprising:

generating a validation copy of a database of the network device storing a plurality of data tables;

initiating a shadow interpreter process comprising a new instance of a main command interpreter process executing on the network device, wherein the initiated shadow interpreter process is executed concurrently with the main command interpreter process;

entering, by the validation handler, one or more configuration commands received in the validation start command; and

generating, by the validation handler, a validation report reflecting results of entering the one or more configuration commands.

2. The method of claim 1 , wherein the plurality of data tables of the validation copy contain a plurality of data associated with one or more functional components of the network device.

3. The method of claim 2 , wherein the one or more functional components comprises hardware components and/or functions of the network device.

4. The method of claim 1 , generating the validation copy comprising:

copying, by the network device, the configuration database; and

deleting one or more data entries in the plurality of data tables of the validation copy classified as a configuration data entry.

5. The method of claim 1 , wherein the validation start command is received over a network connection.

6. The method of claim 1 , wherein the validation start command is received through a user interface of the network device.

7. The method of claim 1 , wherein the validation report is sent to an administrator, the method further comprising:

identifying one or more errors in the validation report;

generating a revised configuration profile, comprising revised configuration commands; and

sending the revised configuration commands to the network device in a new validation start command.

8. The method of claim 1 , further comprising destroying, by the validation handler, the isolated validation environment.

9. The method of claim 8 , wherein destroying the isolated validation environment comprises ceasing operation of the shadow interpreter.

10. The method of claim 1 , further comprising storing, by the validation handler, the validation copy after the validation handler enters all of the configuration commands.

11. The method of claim 1 , wherein an administrator sends a validation start command comprising configuration commands to a plurality of network devices within a network, the plurality of network devices configured to execute the method of claim 1 .

12. A network device, comprising:

a processor;

a network interfacing component comprising one or more interfaces;

a memory;

a configuration database; the configuration database configured to maintain a plurality of data tables comprising a plurality of configuration commands;

the processor configured to execute a validation program by:

in response to receiving, at a network device, a validation start command,

generating, by a validation handler of the network device, an isolated validation environment within the network device, wherein the validation environment is a sandbox-type execution environment, and wherein executing a configuration command in the sandbox-type execution environment does not affect operations in the network device, generating the isolated validation environment comprising:

generating a validation copy of a database of the network device storing a plurality of data tables;

initiating a shadow interpreter process comprising a new instance of a main command interpreter process executing on the network device, wherein the initiated shadow interpreter process is executed concurrently with the main command interpreter process;

entering, by the validation handler, one or more configuration commands received in the validation start command; and

generating, by the validation handler, a validation report reflecting results of entering the one or more configuration commands.

13. The network device of claim 12 , wherein the network device comprises one of: a router; a network switch; a bridge; a modem.

14. The network device of claim 12 , wherein the configuration database and the memory are a single component, the configuration database comprising a partitioned portion of the memory.

15. The network device of claim 12 , wherein the network device further comprises a user interface.

16. The network device of claim 12 , the processor further configured to execute one or more network functions, the one or more network functions executed at a same time as the validation program.

17. The network device of claim 16 , wherein the network device comprises a plurality of processors, and one or more processors are dedicated to performing the validation program.

18. A method of online validation of configuration commands of a network device, comprising:

maintaining, on the network device, a configuration database comprising a plurality of data tables containing information associated with hardware components and functions of the network device;

in response to receiving, from an administrator, a validation start command,

generating, by a validation handler of the network device, an isolated validation environment within the network device, wherein the validation environment is a sandbox-type execution environment, and wherein executing a configuration command in the sandbox-type execution environment does not affect operations in the network device, generating the isolated validation environment comprising:

generating a validation copy of a database of the network device storing a plurality of data tables;

initiating a shadow interpreter process comprising a new instance of a main command interpreter process executing on the network device, wherein the initiated shadow interpreter process is executed concurrently with the main command interpreter process;

entering, by the validation handler, one or more configuration commands received in the validation start command; and

generating, by the validation handler, a validation report reflecting results of entering the one or more configuration commands; and

sending the validation report to the administrator.

19. The method of claim 18 , further comprising:

receiving, from the network device, the validation report;

identifying one or more errors in the validation report;

determining one or more of the configuration commands that caused the errors;

revise one or more of the configuration commands to generate revised configuration commands responsive to the one or more errors identified in the validation report; and

send the revised configuration commands to the network device in a new validation start command.

20. The method of claim 19 , wherein the network device is configured to execute one or more network function at a same time as the validation program.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2018
From: WOOD, FRANK; GULLAND, SCOTT A.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 047646/0496 →
Continuity (1)
Related Publication 20200174993A1 · Jun 4, 2020