CN111049699B - Reliability test method and device for SDN controller - Google Patents

Reliability test method and device for SDN controller Download PDF

Info

Publication number
CN111049699B
CN111049699B CN201911090815.2A CN201911090815A CN111049699B CN 111049699 B CN111049699 B CN 111049699B CN 201911090815 A CN201911090815 A CN 201911090815A CN 111049699 B CN111049699 B CN 111049699B
Authority
CN
China
Prior art keywords
sdn
utilization rate
sdn controller
virtual
virtual hosts
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.)
Active
Application number
CN201911090815.2A
Other languages
Chinese (zh)
Other versions
CN111049699A (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911090815.2A priority Critical patent/CN111049699B/en
Publication of CN111049699A publication Critical patent/CN111049699A/en
Application granted granted Critical
Publication of CN111049699B publication Critical patent/CN111049699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/087Jitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention relates to a method and a device for testing the reliability of an SDN controller, which comprises the following steps: s1: the method comprises the following steps of building a basic test environment, specifically comprising the following steps: s11: creating a plurality of virtual hosts in the physical host a, S12: adding the virtual host to other data centers managed by the central controller; s13: creating SDN switches with different forwarding modes in each data center; s14: the SDN controller is associated with the data center; s2: testing the SDN reliability; the method specifically comprises the following steps: s21: the SDN controller creates an SDN network and a router; s22: the virtual hosts communicate with the router through the SDN network, and network communication pressure between the virtual hosts is tested; and checking the memory utilization rate and the CPU utilization rate of the SDN controller.

Description

Reliability test method and device for SDN controller
Technical Field
The invention belongs to the technical field of testing, and particularly relates to a method and a device for testing the reliability of an SDN controller.
Background
The SDN is a software defined network, can virtualize the network, realizes data forwarding and control separation, is more beneficial to centralized control of the network after the control and forwarding are separated, enables a control layer to obtain global information of network resources, and performs global allocation and optimization of the resources according to service requirements. As can be seen, the performance and reliability bottlenecks of the SDN technology are due to the SDN controller, and therefore, the SDN controller reliability test is very necessary.
The SDN is a novel network architecture and has the advantages of flexibility, intelligence, automation, programmability, resource pooling, service perception and the like. All of these advantages rely on the core component, the controller, in the SDN network. As the brain that manages the whole network in a central control manner, the performance of the controller is related to the performance of the whole network, so the reliability and performance test of the SDN controller are very important. The existing method uses a physical host and a switch, and occupies more resources; this is a drawback and deficiency in the prior art.
In view of this, the present application provides a method and an apparatus for testing reliability of an SDN controller; it is very necessary to solve the above-mentioned defects existing in the prior art.
Disclosure of Invention
In view of the foregoing defects in the prior art, the present invention provides a method and an apparatus for testing the reliability of an SDN controller, so as to solve the foregoing technical problems.
In a first aspect, the present invention provides a method for testing reliability of an SDN controller, including the following steps:
s1: the method comprises the following steps of building a basic test environment, specifically comprising the following steps:
s11: creating a plurality of virtual hosts in a physical host A, installing a virtualization management system, adding a virtual network card for the virtual hosts, and communicating the virtual hosts with the physical host through a trunk network;
s12: adding the virtual host to other data centers managed by the central controller;
s13: creating SDN switches with different forwarding modes in each data center;
s14: the SDN controller is associated with the data center;
s2: testing the SDN reliability; the method specifically comprises the following steps:
s21: the SDN controller creates an SDN network and a router;
s22: the virtual hosts communicate with the router through the SDN network, and network communication pressure between the virtual hosts is tested; checking the memory utilization rate and the CPU utilization rate of the SDN controller; and outputting the memory and CPU use condition of the SDN controller. And comparing the network delay and the jitter.
Preferably, in step S22, when both the memory usage rate and the CPU usage rate are less than 50%, the number of virtual hosts is doubled, the virtual hosts are added to a new data center, an SDN switch is created in the new data center, and an SDN controller is associated with the SDN switch. And checking the memory utilization rate or the CPU utilization rate, and continuously testing the network delay and jitter.
Preferably, in step S22, when one of the memory usage rate or the CPU usage rate is greater than 50%, the memory usage rate and the CPU usage rate information of the SDN controller are recorded, virtual hosts and data centers are continuously added, the number of the virtual hosts and the data centers is 10% of the existing number, the corresponding virtual switches are added to the SDN controller, the memory usage rate or the CPU usage rate is continuously checked, and network delay and jitter are tested.
Preferably, in step S22, after the virtual host is added, the memory and CPU usage of the SDN controller are recorded after each additional host is output. And comparing the network delay and the jitter.
In a second aspect, the present invention provides a reliability testing apparatus for an SDN controller, including:
building a basic test environment module, creating a plurality of virtual hosts in a physical host A, installing a virtualization management system, adding a virtual network card for the virtual hosts, and communicating the virtual hosts and the physical host through a trunk network; adding the virtual host to other data centers managed by the central controller; creating SDN switches with different forwarding modes in each data center; the SDN controller is associated with the data center;
the SDN reliability testing module is used for the SDN controller to establish an SDN network and a router; the virtual hosts communicate with the router through the SDN network, and network communication pressure between the virtual hosts is tested; checking the memory utilization rate and the CPU utilization rate of the SDN controller; and outputting the memory and CPU use condition of the SDN controller.
Preferably, in the SDN reliability testing module, when both the memory usage rate and the CPU usage rate are less than 50%, the number of virtual hosts is doubled, the virtual hosts are added to a new data center, an SDN switch is created in the new data center, and an SDN controller is associated with the SDN switch. And checking the memory utilization rate or the CPU utilization rate, and continuously testing the network delay and jitter.
Preferably, in the SDN reliability test module, when one of the memory usage rate or the CPU usage rate is greater than 50%, the memory usage rate and the CPU usage rate information of the SDN controller are recorded, virtual hosts and data centers are continuously added, the number of the virtual hosts and the data centers is 10% of the existing number, corresponding virtual switches are added to the SDN controller, the memory usage rate or the CPU usage rate is continuously checked, and network delay and jitter are tested.
Preferably, in the SDN reliability testing module, after the virtual host is added, the memory and CPU usage of the SDN controller are recorded after each additional host is output. And comparing the network delay and the jitter.
The invention has the advantages that by installing the virtual host, the use of the physical host and the physical switch can be reduced, and the test cost is saved; the deployment of the basic test environment is flexible and efficient, and the networks with different forwarding modes are conveniently built; host resources can be added at any time in the test process, the test scale is increased, and the expandability is good; in addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a reliability testing method for an SDN controller provided in the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1, the method for testing the reliability of an SDN controller provided in this embodiment includes the following steps:
s1: the method comprises the following steps of building a basic test environment, specifically comprising the following steps:
s11: creating a plurality of virtual hosts in a physical host A, installing a virtualization management system, adding a virtual network card for the virtual hosts, and communicating the virtual hosts with the physical host through a trunk network;
s12: adding the virtual host to other data centers managed by the central controller;
s13: creating SDN switches with different forwarding modes in each data center;
s14: the SDN controller is associated with the data center;
s2: testing the SDN reliability; the method specifically comprises the following steps:
s21: the SDN controller creates an SDN network and a router;
s22: the virtual hosts communicate with the router through the SDN network, and network communication pressure between the virtual hosts is tested; checking the memory utilization rate and the CPU utilization rate of the SDN controller; and outputting the memory and CPU use condition of the SDN controller. Comparing the network time delay and the jitter conditions;
when the memory utilization rate and the CPU utilization rate are both less than 50%, the number of the virtual hosts is doubled, the virtual hosts are added to a new data center, an SDN switch is established in the new data center, and an SDN controller is associated. Checking the memory utilization rate or the CPU utilization rate, and continuously testing the network delay and jitter;
when one of the memory utilization rate or the CPU utilization rate is more than 50%, recording the memory utilization rate of the SDN controller and the CPU utilization rate information, continuously adding virtual hosts and data centers, wherein the number of the virtual hosts and the data centers is 10% of the existing number, adding corresponding virtual switches into the SDN controller, continuously checking the memory utilization rate or the CPU utilization rate, and testing network delay and jitter;
and when the virtual host is added, outputting each round of host addition and recording the memory and CPU use condition of the SDN controller. And comparing the network delay and the jitter.
Example 2:
the embodiment provides a reliability testing device of an SDN controller, including:
building a basic test environment module, creating a plurality of virtual hosts in a physical host A, installing a virtualization management system, adding a virtual network card for the virtual hosts, and communicating the virtual hosts and the physical host through a trunk network; adding the virtual host to other data centers managed by the central controller; creating SDN switches with different forwarding modes in each data center; the SDN controller is associated with the data center;
the SDN reliability testing module is used for the SDN controller to establish an SDN network and a router; the virtual hosts communicate with the router through the SDN network, and network communication pressure between the virtual hosts is tested; checking the memory utilization rate and the CPU utilization rate of the SDN controller; outputting the memory and CPU use condition of the SDN controller;
when the memory utilization rate and the CPU utilization rate are both less than 50%, the number of the virtual hosts is doubled, the virtual hosts are added to a new data center, an SDN switch is established in the new data center, and an SDN controller is associated. Checking the memory utilization rate or the CPU utilization rate, and continuously testing the network delay and jitter;
when one of the memory utilization rate or the CPU utilization rate is more than 50%, recording the memory utilization rate of the SDN controller and the CPU utilization rate information, continuously adding virtual hosts and data centers, wherein the number of the virtual hosts and the data centers is 10% of the existing number, adding corresponding virtual switches into the SDN controller, continuously checking the memory utilization rate or the CPU utilization rate, and testing network delay and jitter;
and when the virtual host is added, outputting each round of host addition and recording the memory and CPU use condition of the SDN controller. And comparing the network delay and the jitter.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (2)

1. A reliability test method of an SDN controller is characterized by comprising the following steps:
s1: the method comprises the following steps of building a basic test environment, specifically comprising the following steps:
s11: creating a plurality of virtual hosts in a physical host A, installing a virtualization management system, adding a virtual network card for the virtual hosts, and communicating the virtual hosts with the physical host through a trunk network;
s12: adding the virtual host to other data centers managed by the central controller;
s13: creating SDN switches with different forwarding modes in each data center;
s14: the SDN controller is associated with the data center;
s2: testing the SDN reliability; the method specifically comprises the following steps:
s21: the SDN controller creates an SDN network and a router;
s22: the virtual hosts communicate with the router through the SDN network, and network communication pressure between the virtual hosts is tested; checking the memory utilization rate and the CPU utilization rate of the SDN controller; outputting the memory and CPU use condition of the SDN controller;
in the step S22, when both the memory usage rate and the CPU usage rate are less than 50%, doubling the number of virtual hosts, adding the doubled virtual hosts to a new data center, creating an SDN switch in the new data center, and associating the SDN switch with an SDN controller; when one of the memory utilization rate or the CPU utilization rate is more than 50%, recording the memory utilization rate of the SDN controller and the CPU utilization rate information, continuously adding virtual hosts and data centers, wherein the number of the virtual hosts and the data centers is 10% of the existing number, adding corresponding virtual switches into the SDN controller, continuously checking the memory utilization rate or the CPU utilization rate, and testing network delay and jitter; and when the virtual host is added, outputting each round of host addition and recording the memory and CPU use condition of the SDN controller.
2. A reliability testing device of an SDN controller is characterized by comprising:
building a basic test environment module, creating a plurality of virtual hosts in a physical host A, installing a virtualization management system, adding a virtual network card for the virtual hosts, and communicating the virtual hosts and the physical host through a trunk network; adding the virtual host to other data centers managed by the central controller; creating SDN switches with different forwarding modes in each data center; the SDN controller is associated with the data center;
the SDN reliability testing module is used for the SDN controller to establish an SDN network and a router; the virtual hosts communicate with the router through the SDN network, and network communication pressure between the virtual hosts is tested; checking the memory utilization rate and the CPU utilization rate of the SDN controller; outputting the memory and CPU use condition of the SDN controller;
in the SDN reliability testing module, when the memory utilization rate and the CPU utilization rate are both less than 50%, the number of virtual hosts is doubled, the virtual hosts are added to a new data center, an SDN switch is established in the new data center, and an SDN controller is associated; when one of the memory utilization rate or the CPU utilization rate is more than 50%, recording the memory utilization rate of the SDN controller and the CPU utilization rate information, continuously adding virtual hosts and data centers, wherein the number of the virtual hosts and the data centers is 10% of the existing number, adding corresponding virtual switches into the SDN controller, continuously checking the memory utilization rate or the CPU utilization rate, and testing network delay and jitter; and when the virtual host is added, outputting each round of host addition and recording the memory and CPU use condition of the SDN controller.
CN201911090815.2A 2019-11-09 2019-11-09 Reliability test method and device for SDN controller Active CN111049699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911090815.2A CN111049699B (en) 2019-11-09 2019-11-09 Reliability test method and device for SDN controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911090815.2A CN111049699B (en) 2019-11-09 2019-11-09 Reliability test method and device for SDN controller

Publications (2)

Publication Number Publication Date
CN111049699A CN111049699A (en) 2020-04-21
CN111049699B true CN111049699B (en) 2021-10-22

Family

ID=70231833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911090815.2A Active CN111049699B (en) 2019-11-09 2019-11-09 Reliability test method and device for SDN controller

Country Status (1)

Country Link
CN (1) CN111049699B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702522A (en) * 2013-12-06 2015-06-10 智梵网络科技有限公司 Performance-based routing in software-defined network (sdn)
CN106130769A (en) * 2016-06-30 2016-11-16 上海斐讯数据通信技术有限公司 A kind of Network Quality Analysis method based on SDN and SDN system
CN106302027A (en) * 2016-08-29 2017-01-04 北京天地互连信息技术有限公司 A kind of SDN controller performance tester and method of testing
KR20180058592A (en) * 2016-11-24 2018-06-01 쿨클라우드(주) Software Defined Network Controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140337674A1 (en) * 2013-05-10 2014-11-13 Nec Laboratories America, Inc. Network Testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702522A (en) * 2013-12-06 2015-06-10 智梵网络科技有限公司 Performance-based routing in software-defined network (sdn)
CN106130769A (en) * 2016-06-30 2016-11-16 上海斐讯数据通信技术有限公司 A kind of Network Quality Analysis method based on SDN and SDN system
CN106302027A (en) * 2016-08-29 2017-01-04 北京天地互连信息技术有限公司 A kind of SDN controller performance tester and method of testing
KR20180058592A (en) * 2016-11-24 2018-06-01 쿨클라우드(주) Software Defined Network Controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
软件定义网络的研究及应用;张成;《中国优秀硕士学位论文全文数据库》;20150131(第1期);第69-74页 *

Also Published As

Publication number Publication date
CN111049699A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
Venticinque et al. A methodology for deployment of IoT application in fog
EP3573367B1 (en) Resource allocation for ran slicing
US9294407B2 (en) Network device load balancing in a virtualized computing environment
US11106560B2 (en) Adaptive thresholds for containers
US8478878B2 (en) Placement of virtual machines based on server cost and network cost
US10348628B2 (en) Placement of virtual machines in a virtualized computing environment
US11032126B2 (en) Diagnostic traffic generation for automatic testing and troubleshooting
US9456365B2 (en) Virtualized wireless communication system and establishing method thereof
KR102328938B1 (en) Management of log data in electronic systems
TWI712876B (en) Computer system and computer-implemented method for managing power consumption of storage subsystem
US10218622B2 (en) Placing a network device into a maintenance mode in a virtualized computing environment
CN108737163B (en) SDN controller application performance analysis method based on OpenFlow protocol
CN109873714B (en) Cloud computing node configuration updating method and terminal equipment
CN111600760B (en) Quality detection system, method and equipment of power grid operation monitoring system
CN114827248A (en) Micro-service resource allocation method and device, electronic equipment and storage medium
Kumar et al. Design and implementation of fault tolerance technique for internet of things (iot)
CN110855739B (en) Container technology-based remote and heterogeneous resource unified management method and system
US20210409343A1 (en) Network controller
CN111404757A (en) Cloud-based cross-network application integration system
Manso et al. Cloud-native SDN controller based on micro-services for transport networks
CN111049699B (en) Reliability test method and device for SDN controller
Nikolaidis et al. IOTier: A Virtual Testbed to evaluate systems for IoT environments
US10554324B1 (en) Dynamic wavelength allocation in optical networks
JP2022547582A (en) Inter-terminal connection state prediction method and device, and analysis device
EP4342146A1 (en) Automated matching of applications to pre-defined slice types in 5g networks

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
GR01 Patent grant
GR01 Patent grant