Virtual network testing and deployment using network stack instances and containers
First Claim
1. A method for testing a network topology, comprising:
- obtaining the network topology, wherein the network topology comprises a plurality of nodes connected by at least one link;
instantiating a plurality of containers, wherein each of the plurality of containers corresponds to one of the plurality of nodes, and wherein each of the plurality of containers shares a common kernel and executes within a common operating system;
instantiating a plurality of virtual network stacks, wherein each of the plurality of virtual network stacks is associated with one of the plurality of containers, wherein each of the plurality of virtual network stacks is associated with a virtual network interface card (NIC), and wherein each of the plurality of virtual NICs shares the common kernel and executes within the common operating system;
instantiating at least one virtual switch corresponding to the at least one link;
connecting at least one of the plurality of virtual NICs associated with at least one of the plurality of virtual network stacks using the at least one virtual switch;
configuring at least one of the plurality of virtual network stacks to send and receive packets; and
testing the network topology by sending a packet through at least one of the plurality of virtual network stacks and the at least one virtual switch, wherein a result of the testing is used to validate the network topology.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for testing a network topology. The method includes obtaining the network topology, where the network topology includes a number of nodes connected by at least one link. The method further includes instantiating a number of containers corresponding to the nodes, instantiating a number of virtual network stacks, and instantiating at least one virtual switch corresponding to the at least one link. The containers are subsequently connected to the virtual network stacks using the at least one virtual switch. At least one of the virtual network stacks is then configured to send and receive packets. Finally, the network topology is tested by sending a packet through at least one of the plurality of virtual network stacks and the at least one virtual switch, wherein a result of the testing is used to validate the network topology.
-
Citations
20 Claims
-
1. A method for testing a network topology, comprising:
-
obtaining the network topology, wherein the network topology comprises a plurality of nodes connected by at least one link; instantiating a plurality of containers, wherein each of the plurality of containers corresponds to one of the plurality of nodes, and wherein each of the plurality of containers shares a common kernel and executes within a common operating system; instantiating a plurality of virtual network stacks, wherein each of the plurality of virtual network stacks is associated with one of the plurality of containers, wherein each of the plurality of virtual network stacks is associated with a virtual network interface card (NIC), and wherein each of the plurality of virtual NICs shares the common kernel and executes within the common operating system; instantiating at least one virtual switch corresponding to the at least one link; connecting at least one of the plurality of virtual NICs associated with at least one of the plurality of virtual network stacks using the at least one virtual switch; configuring at least one of the plurality of virtual network stacks to send and receive packets; and testing the network topology by sending a packet through at least one of the plurality of virtual network stacks and the at least one virtual switch, wherein a result of the testing is used to validate the network topology. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, comprising:
-
a host, comprising; a plurality of containers, wherein each of the plurality of containers shares a common kernel and executes within a common operating system; a plurality of virtual network stacks, wherein each of the plurality of virtual network stacks corresponds to one of the plurality of containers; a plurality of virtual network interface cards (NICs), wherein each of the plurality of virtual network interface cards corresponds to one of the plurality of virtual network stacks, and wherein each of the plurality of virtual NICs shares the common kernel and executes within the common operating system; and at least one virtual switch connecting at least one of the plurality of virtual NICs, wherein each of the plurality of containers corresponds to one of a plurality of nodes in the virtual network, and wherein the at least one virtual switch corresponds to at least one link in the virtual network. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer usable medium having computer readable program code embodied therein for causing a computer system to execute a method for testing a network topology, the method comprising:
-
obtaining the network topology, wherein the network topology comprises a plurality of nodes connected by at least one link; instantiating a plurality of containers, wherein each of the plurality of containers corresponds to one of the plurality of nodes, and wherein each of the plurality of containers shares a common kernel and executes within a common operating system; instantiating a plurality of virtual network stacks, wherein each of the plurality of virtual network stacks is associated with one of the plurality of containers, wherein each of the plurality of virtual network stacks is associated with a virtual network interface card (NIC), and wherein each of the plurality of virtual NICs shares the common kernel and executes within the common operating system; instantiating at least one virtual switch corresponding to the at least one link; connecting at least one of the plurality of virtual NICs associated with at least one of the plurality of virtual network stacks using the at least one virtual switch; configuring at least one of the plurality of virtual network stacks to send and receive packets; and testing the network topology by sending a packet through at least one of the plurality of virtual network stacks and the at least one virtual switch, wherein a result of the testing is used to validate the network topology. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification