CN116248518A - Method and system for customizing deployment of simulated SDN switch network - Google Patents

Method and system for customizing deployment of simulated SDN switch network Download PDF

Info

Publication number
CN116248518A
CN116248518A CN202211655821.XA CN202211655821A CN116248518A CN 116248518 A CN116248518 A CN 116248518A CN 202211655821 A CN202211655821 A CN 202211655821A CN 116248518 A CN116248518 A CN 116248518A
Authority
CN
China
Prior art keywords
network
virtual
container
sdn
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211655821.XA
Other languages
Chinese (zh)
Inventor
杨国东
冯进荣
左效超
陈博文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Institute of Microwave Technology CETC 50 Research Institute
Original Assignee
Shanghai Institute of Microwave Technology CETC 50 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Institute of Microwave Technology CETC 50 Research Institute filed Critical Shanghai Institute of Microwave Technology CETC 50 Research Institute
Priority to CN202211655821.XA priority Critical patent/CN116248518A/en
Publication of CN116248518A publication Critical patent/CN116248518A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a system for customizing deployment of an SDN switch network, comprising the following steps: step 1: creating a virtual node for each network node; step 2: configuring the connection of virtual network cards among virtual nodes on a virtualization platform; step 3: placing the switch system program in a shared directory of a physical host, traversing each virtual node in a remote control mode, and commanding the virtual nodes to copy the switch system program from the shared directory to a system directory of the virtual nodes; step 4: traversing each virtual node in a remote control mode, and commanding the virtual node to immediately execute or delay to execute a system program; step 5: and adding each virtual network card in the virtual node into a port of the virtual SDN switch to complete the construction of the virtualized SDN network. The invention sets a delay waiting mechanism for the switch system program, and realizes the fine control of the starting time of each virtualized SDN switch.

Description

Method and system for customizing deployment of simulated SDN switch network
Technical Field
The invention relates to the technical field of SDN switch networks, in particular to a method and a system for customizing deployment of an analog SDN switch network.
Background
A software defined network (Software Defined Network, abbreviated as SDN) is a new network architecture, and the main idea is to separate data forwarding and logic control of a traditional network device, and manage and configure various network devices through a centralized controller with standardized interfaces. The open source software Mininet is a lightweight SDN network simulation platform which is widely applied and has the capability of highly flexibly customizing an SDN network. Mininet software supports creation of virtual switches based on Open source software Openvswitch (OVS for short), which uses process virtualization technology to run up to 4096 node instances on a single OS kernel, which can be conveniently used to perform SDN network function performance verification.
Patent document CN110191065a (application number: cn201910493937. X) discloses a high-performance load balancing system based on a software-defined network, which mainly solves the problems of uneven load and link congestion in the core layer of the existing data center network. The method comprises a Fat-Tree bottom network and an SDN controller, wherein a flow sampling detection module, a DCTCP flow control module and an FEC-based coding transmission module are deployed on the Fat-Tree bottom network, so that the functions of sensing flow in real time, distinguishing mouse flow image streams, adjusting port flow rate according to link delay and adding redundant packets to reduce mouse flow delay are respectively completed.
When performing SDN network simulation, the existing simulation platform Mininet does not have the capability of performing customized control on system behaviors of virtualized SDN switch nodes (simply referred to as virtual nodes), and specifically includes:
(1) After the topology construction of a simulated network is completed, the starting process of all virtual nodes is automatically performed by the SDN simulation platform, and the starting time of a certain network node or the starting sequence of certain nodes cannot be determined by a user.
(2) The system program path loaded when the virtual nodes are started is also configured by the default system, and the system program loading path of each virtual node cannot be changed.
Therefore, the current SDN simulation platform cannot meet the requirements of fine deployment of a simulated SDN network.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for customizing deployment of an analog SDN switch network.
The method for customizing deployment simulation SDN switch network provided by the invention comprises the following steps:
step 1: creating an independent virtual node for each network node by using a virtualization platform in a physical host according to a user SDN network topology structure, configuring a virtual network card of the virtual node and a file sharing directory between the virtual node and the physical host when the virtual node is created, and taking each virtual node as a virtual SDN switch without loading a system program;
step 2: configuring the connection of virtual network cards among the virtual nodes on a virtualization platform according to the connection relation in the network topology;
step 3: placing the switch system program in a shared directory of a physical host, traversing each virtual node in a remote control mode, and commanding the virtual nodes to copy the switch system program from the shared directory to a system directory of the virtual nodes;
step 4: traversing each virtual node in a remote control mode according to the configuration of a user on the start time of the SDN switch, and commanding the virtual node to immediately execute or delay to execute a system program;
step 5: after the system program is started, each virtual network card in the virtual node is added into a port of the virtual SDN switch, and the construction of the virtualized SDN network is completed.
Preferably, a container is created and run for each network node using the Docker command, each container running a Linux operating system, and a sharing destination location with a physical host is set in the container.
Preferably, a network bridge type network is created using a Docker command, and the created network is added to a container using a command to add a network, which is equivalent to adding one network card more each time a network is added to one container.
Preferably, the OVS program files in the physical host are placed in a shared directory of the physical host and the containers, and the OVS program files in the physical host are copied into the file system of each container through the login container.
Preferably, according to the requirement of a user on the start time of the SDN switch, remotely logging in each container, controlling the execution of the OVS program by using a delay command, and adding each network card in the container into a port system of the OVS after the OVS program is started, so as to complete the construction of the virtualized SDN network.
The system for customizing deployment simulation SDN switch network provided by the invention comprises:
module M1: creating an independent virtual node for each network node by using a virtualization platform in a physical host according to a user SDN network topology structure, configuring a virtual network card of the virtual node and a file sharing directory between the virtual node and the physical host when the virtual node is created, and taking each virtual node as a virtual SDN switch without loading a system program;
module M2: configuring the connection of virtual network cards among the virtual nodes on a virtualization platform according to the connection relation in the network topology;
module M3: placing the switch system program in a shared directory of a physical host, traversing each virtual node in a remote control mode, and commanding the virtual nodes to copy the switch system program from the shared directory to a system directory of the virtual nodes;
module M4: traversing each virtual node in a remote control mode according to the configuration of a user on the start time of the SDN switch, and commanding the virtual node to immediately execute or delay to execute a system program;
module M5: after the system program is started, each virtual network card in the virtual node is added into a port of the virtual SDN switch, and the construction of the virtualized SDN network is completed.
Preferably, a container is created and run for each network node using the Docker command, each container running a Linux operating system, and a sharing destination location with a physical host is set in the container.
Preferably, a network bridge type network is created using a Docker command, and the created network is added to a container using a command to add a network, which is equivalent to adding one network card more each time a network is added to one container.
Preferably, the OVS program files in the physical host are placed in a shared directory of the physical host and the containers, and the OVS program files in the physical host are copied into the file system of each container through the login container.
Preferably, according to the requirement of a user on the start time of the SDN switch, remotely logging in each container, controlling the execution of the OVS program by using a delay command, and adding each network card in the container into a port system of the OVS after the OVS program is started, so as to complete the construction of the virtualized SDN network.
Compared with the prior art, the invention has the following beneficial effects:
(1) When the virtualized SDN switch is created, a mechanism for independently loading the switch system program from an external file system is designed, so that the differential control of the loading path of the system program is ensured;
(2) When the virtualized SDN switch is started, a delay waiting mechanism is set for the switch system program, so that the refined control of the starting time of each virtualized SDN switch is realized, the starting time of each virtualized SDN switch is controlled, and the random process of SDN network construction can be simulated; the running state of each virtualized SDN switch is subjected to refined control, so that the random changes of the states of node faults, node restarting and the like in an SDN network can be simulated; and the system program loading path of each virtualized SDN switch is finely controlled, so that different system programs can be loaded for different nodes, and the simulated heterogeneous system networking is more flexible.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
fig. 1 is a schematic diagram of a method of deploying a virtualized SDN switch network;
fig. 2 is a schematic diagram of an exemplary process.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present invention.
Example 1:
the invention provides a method for customizing and deploying a virtual SDN switch network, which uses a virtualization platform to create a virtual node for each switch node, selects a loading path of a system program for the virtual node through a shared file system, and completes delay starting operation of the virtual node by reading starting time configuration requirements of a user on the virtual node before the system program is executed. By the method provided by the invention, customized control of simulating the SDN network starting time sequence and differentiated control of loading paths can be realized.
As shown in fig. 1, the method specifically includes the following steps:
step 1: according to the user SDN network topology, an independent virtual node is created for each network node by using a virtualization platform in a physical host. When the virtual node is created, a virtual network card of the virtual node and a file sharing directory between the virtual node and a physical host are configured. Each virtual node acts as a virtual SDN switch, in which the system program has not yet been loaded.
Step 2: and configuring the connection of the virtual network cards among the virtual nodes on the virtualization platform according to the connection relation in the network topology.
Step 3: placing the switch system program in a shared directory of the physical host, traversing each virtual node in a remote control mode, and commanding the virtual node to copy the switch system program from the shared directory to a system directory of the virtual node.
Step 4: according to the configuration of the user on the start time of the SDN switch, each virtual node is traversed in a remote control mode, and the virtual nodes are instructed to immediately execute or delay to execute the system program.
Step 5: after the system program is started, each network card in the virtual node is added into a port of the virtual SDN switch, and the construction of the virtualized SDN network is completed.
As shown in fig. 2, the physical host uses a Linux operating system, the virtual SDN switch software is Open vSwitch software (abbreviated as OVS), and a dock virtualization platform is used as an example to illustrate an implementation process of deploying a virtualized SDN switch network in the present invention:
step 1: using the Docker command, a container is created and run for each network node, each container running a Linux operating system. The container is provided with a sharing destination position with the physical host.
Step 2: a bridge type network is created using a Docker command and the already created network is added to the container using a command to add a network. Each network added to a container is equivalent to adding more network cards.
Step 3: the OVS program files in the physical host are placed in a shared directory of the physical host and the container. The file is copied to the file system of each container by logging into the container.
Step 4: according to the requirement of a user on the start time of the SDN switch, remotely logging in each container, and controlling the execution of the OVS program by using a Sleep delay command and the like.
Step 5: after the OVS program is started, each network card in the container is added into a port system of the OVS, and the construction of the virtualized SDN network is completed.
Example 2:
the present invention also provides a system for customizing and deploying a virtual SDN switch network, where the system for customizing and deploying a virtual SDN switch network may be implemented by executing the flow steps of the method for customizing and deploying a virtual SDN switch network, that is, a person skilled in the art may understand the method for customizing and deploying a virtual SDN switch network as a preferred embodiment of the system for customizing and deploying a virtual SDN switch network. The system specifically comprises the following modules:
module M1: creating an independent virtual node for each network node by using a virtualization platform in a physical host according to a user SDN network topology structure, configuring a virtual network card of the virtual node and a file sharing directory between the virtual node and the physical host when the virtual node is created, and taking each virtual node as a virtual SDN switch without loading a system program; module M2: configuring the connection of virtual network cards among the virtual nodes on a virtualization platform according to the connection relation in the network topology; module M3: placing the switch system program in a shared directory of a physical host, traversing each virtual node in a remote control mode, and commanding the virtual nodes to copy the switch system program from the shared directory to a system directory of the virtual nodes; module M4: traversing each virtual node in a remote control mode according to the configuration of a user on the start time of the SDN switch, and commanding the virtual node to immediately execute or delay to execute a system program; module M5: after the system program is started, each virtual network card in the virtual node is added into a port of the virtual SDN switch, and the construction of the virtualized SDN network is completed.
Using the Docker command, a container is created and run for each network node, each container running a Linux operating system, and a shared destination location with a physical host is set in the container. The network bridge type network is created by using the Docker command, and the created network is added to the container by using the command for adding the network, wherein each network is added to one container, which is equivalent to adding one network card. And placing the OVS program files in the physical host in a shared directory of the physical host and the containers, and copying the OVS program files in the physical host into a file system of each container through logging in the containers. According to the requirement of a user on the start time of the SDN switch, remotely logging in each container, controlling the execution of the OVS program by using a delay command, and adding each network card in the container into a port system of the OVS after the OVS program is started, so as to complete the construction of the virtualized SDN network.
Those skilled in the art will appreciate that the systems, apparatus, and their respective modules provided herein may be implemented entirely by logic programming of method steps such that the systems, apparatus, and their respective modules are implemented as logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc., in addition to the systems, apparatus, and their respective modules being implemented as pure computer readable program code. Therefore, the system, the apparatus, and the respective modules thereof provided by the present invention may be regarded as one hardware component, and the modules included therein for implementing various programs may also be regarded as structures within the hardware component; modules for implementing various functions may also be regarded as being either software programs for implementing the methods or structures within hardware components.
The foregoing describes specific embodiments of the present invention. It is to be understood that the invention is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the invention. The embodiments of the present application and features in the embodiments may be combined with each other arbitrarily without conflict.

Claims (10)

1. A method for custom deployment of a simulated SDN switch network, comprising:
step 1: creating an independent virtual node for each network node by using a virtualization platform in a physical host according to a user SDN network topology structure, configuring a virtual network card of the virtual node and a file sharing directory between the virtual node and the physical host when the virtual node is created, and taking each virtual node as a virtual SDN switch without loading a system program;
step 2: configuring the connection of virtual network cards among the virtual nodes on a virtualization platform according to the connection relation in the network topology;
step 3: placing the switch system program in a shared directory of a physical host, traversing each virtual node in a remote control mode, and commanding the virtual nodes to copy the switch system program from the shared directory to a system directory of the virtual nodes;
step 4: traversing each virtual node in a remote control mode according to the configuration of a user on the start time of the SDN switch, and commanding the virtual node to immediately execute or delay to execute a system program;
step 5: after the system program is started, each virtual network card in the virtual node is added into a port of the virtual SDN switch, and the construction of the virtualized SDN network is completed.
2. The method of custom deployment simulation SDN switch network of claim 1, wherein a container is created and run for each network node using a Docker command, each container running a Linux operating system, and a shared destination location with a physical host is set in the container.
3. The method of customizing a deployment of a simulated SDN switch network of claim 1, wherein a bridge type network is created using a Docker command and the created network is added to a container using a command to add a network, each network added to a container corresponds to adding more network cards.
4. The method of custom deployment emulation SDN switch network of claim 1, wherein OVS program files in the physical hosts are placed in a shared directory of physical hosts and containers, and the OVS program files in the physical hosts are copied into a file system of each container by logging into the container.
5. The method for customizing deployment and emulation of an SDN switch network of claim 1, wherein the method is characterized in that according to a user's demand for start-up time of an SDN switch, logging in each container remotely, controlling execution of an OVS program by using a delay command, and after the OVS program is started up, adding each network card in the container into a port system of an OVS to complete construction of a virtualized SDN network.
6. A system for custom deployment of a simulated SDN switch network, comprising:
module M1: creating an independent virtual node for each network node by using a virtualization platform in a physical host according to a user SDN network topology structure, configuring a virtual network card of the virtual node and a file sharing directory between the virtual node and the physical host when the virtual node is created, and taking each virtual node as a virtual SDN switch without loading a system program;
module M2: configuring the connection of virtual network cards among the virtual nodes on a virtualization platform according to the connection relation in the network topology;
module M3: placing the switch system program in a shared directory of a physical host, traversing each virtual node in a remote control mode, and commanding the virtual nodes to copy the switch system program from the shared directory to a system directory of the virtual nodes;
module M4: traversing each virtual node in a remote control mode according to the configuration of a user on the start time of the SDN switch, and commanding the virtual node to immediately execute or delay to execute a system program;
module M5: after the system program is started, each virtual network card in the virtual node is added into a port of the virtual SDN switch, and the construction of the virtualized SDN network is completed.
7. The system for custom deployment simulation of an SDN switch network of claim 6, wherein a container is created and run for each network node using a Docker command, each container running a Linux operating system, and a shared destination location with a physical host is set in the container.
8. The system for custom deployment of a simulated SDN switch network of claim 6, wherein a bridge type network is created using a dock command and the created network is added to a container using a command to add a network, equivalent to adding one network card per network in one container.
9. The system of custom deployment simulation SDN switch network of claim 6, wherein OVS program files in the physical hosts are placed in a shared directory of physical hosts and containers, and the OVS program files in the physical hosts are copied into the file system of each container by logging into the container.
10. The system for customized deployment simulation of an SDN switch network of claim 6, wherein the user logs in to each container remotely according to the requirement of the user for the start time of the SDN switch, controls execution of an OVS program by using a delay command, and adds each network card in the container to a port system of an OVS after the OVS program is started, so as to complete construction of a virtualized SDN network.
CN202211655821.XA 2022-12-22 2022-12-22 Method and system for customizing deployment of simulated SDN switch network Pending CN116248518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211655821.XA CN116248518A (en) 2022-12-22 2022-12-22 Method and system for customizing deployment of simulated SDN switch network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211655821.XA CN116248518A (en) 2022-12-22 2022-12-22 Method and system for customizing deployment of simulated SDN switch network

Publications (1)

Publication Number Publication Date
CN116248518A true CN116248518A (en) 2023-06-09

Family

ID=86625092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211655821.XA Pending CN116248518A (en) 2022-12-22 2022-12-22 Method and system for customizing deployment of simulated SDN switch network

Country Status (1)

Country Link
CN (1) CN116248518A (en)

Similar Documents

Publication Publication Date Title
EP3586478B1 (en) Automated network change system
RU2451991C1 (en) Method of storing virtual port and material medium merger
CN112969993A (en) Migrating control of a multipath logic device from a current MPIO driver to a target MPIO driver
US9722872B2 (en) Cluster reconfiguration management
US20160117231A1 (en) Complex Network Modeling For Disaster Recovery
US9170850B2 (en) Minimizing workload migrations during cloud maintenance operations
US11894983B2 (en) Simulation and testing of infrastructure as a service scale using a container orchestration engine
CN111221619A (en) Method, device and equipment for opening and arranging service
CN114079615B (en) Application synchronization method, system, medium and electronic equipment in multi-cluster environment
US11868794B2 (en) Network system, management method and apparatus thereof, and server
Van't Hof et al. Androne: Virtual drone computing in the cloud
CN111258880A (en) System and method for configuration verification on live devices
CN111343011B (en) Openstack network fusion control method and system for cloud management platform
CN116248518A (en) Method and system for customizing deployment of simulated SDN switch network
CN112947125A (en) Embedded unmanned aerial vehicle cluster simulation system based on high-speed serial bus
CN110263371B (en) IMA dynamic reconstruction process configuration path generation method based on AADL
CN106878082A (en) A kind of Microsoft Loopback Adapter thermomigration process and its device
US20220413910A1 (en) Execution job compute unit composition in computing clusters
JP5391152B2 (en) Server system and method for selecting virtual server migration method
CN111342995B (en) Synchronization device, method and server system
Riedlinger et al. An adaptive self-managing platform for cabin management systems
CN108874504A (en) A kind of management method and device of multiple virtualization platform
US11895013B1 (en) Systems and methods to migrate a virtual sub-network
US20230359533A1 (en) User Triggered Virtual Machine Cloning for Recovery/Availability/Scaling
CN117093331A (en) Communication bus simulation and integration method and system supporting virtual 1394b

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination