IP Library Granted Patent US 11,546,224
Granted Patent B2
US 11,546,224 · App. 16/407,831 · Granted Jan 3, 2023

Virtual network layer for distributed systems

Inventors: Martin Vecera (Brno, CZ); Miroslav Jaros (Brno, CZ); Stefan Bunciak (Brno, CZ)
Assignee: Red Hat, Inc.
H04L41/145G06F9/45558H04L41/12H04L43/067H04L67/10G06F2009/45591G06F2009/45595
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,546,224
App. No.
16/407,831
Granted
Jan 3, 2023
Kind
B2
Abstract

Parameters associated with a distributed network are received. A topology of a virtual network that corresponds to the distributed network is generated in view of the received parameters. The topology of the virtual network is configured to simulate the distributed network and a simulation of the distributed network is executed using the configured virtual network.

Claims (103)

1. A method, comprising:

receiving parameters associated with a distributed network, the parameters comprising a physical topology of the distributed network and an indication of a latency at a particular point of the physical topology;

generating, by a processing device, a topology of a virtual network within a virtual machine that corresponds to the distributed network in view of the received parameters,

the topology of the virtual network comprising

a plurality of containers within the virtual machine and

one or more network interconnects between each of the plurality of containers

and at least one other container of the plurality of containers,

each of the plurality of containers comprising at least one component of the virtual network;

configuring, in view of the latency at the particular point of the physical topology, the topology of the virtual network to simulate the distributed network,

wherein configuring the topology comprises determining one or more rules for transmission of packets between the plurality of containers via the one or more network interconnects;

executing a simulation of the distributed network using the configured virtual network;

receiving a request to simulate a failure of a particular component of the virtual network;

modifying the topology of the virtual network to simulate the failure of the particular component of the virtual network;

receiving, during execution of the simulation, a command to simulate an event associated with the distributed network;

modifying the configuration of the topology of the virtual network to simulate the event associated with the distributed network; and

executing a subsequent simulation of the distributed network using the modified configuration of the topology of the virtual network, the subsequent simulation comprising a simulation of the event.

2. The method of claim 1 ,

wherein configuring the topology of the virtual network to simulate the distributed network further comprises:

configuring the network interconnects of each of the plurality of containers of the virtual network.

3. The method of claim 1 ,

wherein the parameters associated with the distributed network comprise at least one of

components,

packet loss,

firewalls or

host protocols of the distributed network.

4. The method of claim 1 , further comprising:

monitoring, during the execution of the simulation, communications of the virtual network; and

storing the monitored communications in a data structure.

5. The method of claim 4 , further comprising:

receiving a request to reproduce an error that occurred during the execution of the simulation of the distributed network;

querying the data structure to identify communications associated with the error; and

reproducing the error associated with the simulation in view of the identified communications associated with the error.

6. The method of claim 1 ,

wherein the event associated with the distributed network comprises at least one of a network disconnection or a network discrepancy.

7. A system, comprising:

a memory; and a processing device of a source host system, operatively coupled to the memory, to:

receive parameters associated with a distributed network, the parameters comprising a physical topology of the distributed network and an indication of a latency at a particular point of the physical topology;

generate a topology of a virtual network that corresponds to the distributed network in view of the received parameters,

the topology of the virtual network comprising

a plurality of containers within a virtual machine and

one or more network interconnects between each of the plurality of containers

and at least one other container of the plurality of containers,

each of the plurality of containers comprising at least one component of the virtual network;

configure, in view of the latency at the particular point of the physical topology, the topology of the virtual network to simulate the distributed network,

wherein configuring the topology comprises determining one or more rules for transmission of packets between the plurality of containers via the one or more network interconnects;

execute a simulation of the distributed network using the configured virtual network;

receive a request to simulate a failure of a particular component of the virtual network;

modify the topology of the virtual network to simulate the failure of the particular component of the virtual network;

receive, during execution of the simulation, a command to simulate an event associated with the distributed network;

modify the configuration of the topology of the virtual network to simulate the event associated with the distributed network; and

execute a subsequent simulation of the distributed network using the modified configuration of the topology of the virtual network, the subsequent simulation comprising a simulation of the event.

8. The system of claim 7 , and

wherein to configure the topology of the virtual network to simulate the distributed network, the processing device is further to:

configure the network interconnects of each of the plurality of containers of the virtual network.

9. The system of claim 7 ,

wherein the parameters associated with the distributed network comprise at least one of

components,

packet loss,

firewalls or

host protocols of the distributed network.

10. The system of claim 7 ,

wherein the processing device is further to:

monitor, during the execution of the simulation, communications of the virtual network; and

store the monitored communications in a data structure.

11. The system of claim 10 ,

wherein the processing device is further to:

receive a request to reproduce an error that occurred during the execution of the simulation of the distributed network;

query the data structure to identify communications associated with the error; and

reproduce the error associated with the simulation in view of the identified communications associated with the error.

12. The system of claim 7 ,

wherein the event associated with the distributed network comprises at least one of, a network disconnection or a network discrepancy.

13. A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:

receive parameters associated with a distributed network, the parameters comprising a physical topology of the distributed network and an indication of a latency at a particular point of the physical topology;

generate, by the processing device, a topology of a virtual network that corresponds to the distributed network in view of the received parameters,

the topology of the virtual network comprising

a plurality of containers within a virtual machine and

one or more network interconnects between each of the plurality of containers

and at least one other container of the plurality of containers,

each of the plurality of containers comprising at least one component of the virtual network;

configure, in view of the latency at the particular point of the physical topology, the topology of the virtual network to simulate the distributed network,

wherein configuring the topology comprises determining one or more rules for transmission of packets between the plurality of containers via the one or more network interconnects;

execute a simulation of the distributed network using the configured virtual network;

receive a request to simulate a failure of a particular component of the virtual network;

modify the topology of the virtual network to simulate the failure of the particular component of the virtual network;

receive, during execution of the simulation, a command to simulate an event associated with the distributed network;

modify the configuration of the topology of the virtual network to simulate the event associated with the distributed network; and

execute a subsequent simulation of the distributed network using the modified configuration of the topology of the virtual network, the subsequent simulation comprising a simulation of the event.

14. The non-transitory computer-readable storage medium of claim 13 ,

wherein to configure the topology of the virtual network to simulate the distributed network, the processing device is further to:

configure the network interconnects of each of the plurality of containers of the virtual network.

15. The non-transitory computer-readable storage medium of claim 13 ,

wherein the parameters associated with the distributed network comprise at least one of

components,

packet loss,

firewalls or

host protocols of the distributed network.

16. The non-transitory computer-readable storage medium of claim 13 , wherein the processing device is further to:

monitor, during the execution of the simulation, communications of the virtual network; and

store the monitored communications in a data structure.

17. The non-transitory computer-readable storage medium of claim 16 , wherein the processing device is further to:

receive a request to reproduce an error that occurred during the execution of the simulation of the distributed network;

query the data structure to identify communications associated with the error; and

reproduce the error associated with the simulation in view of the identified communications associated with the error.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 9, 2019
From: VECERA, MARTIN; JAROS, MIROSLAV; BUNCIAK, STEFAN
To: RED HAT, INC.
Reel/Frame 049131/0480 →
Continuity (1)
Related Publication 20200358660A1 · Nov 12, 2020
Cited By (1)
US 12,683,884