Documente Academic
Documente Profesional
Documente Cultură
on SDN Framework
Abstract. Specific to the increase of Internet dataflow at the present stage and
the higher requirements for service quality (QoS), the Lagrangian relaxation
algorithm is introduced into the SDN framework. In this design, new traffic
scheduling system has been realized in the design, this system takes bandwidth
and time delay as the cost, selects the optimal path. Secondary development of
RYU controller is conducted, and Mininet simulation network topology is used
to verify the system function.
1 Introduction
Application
North Bound
Interface
East West
Bound
Interface
Control Plane
North Bound
Interface
Data Plane
event
Ofproto_v1_x_parser
OpenFlowController Response
Datapath
DP DP DP ... DP OpenFlowSwitch
new connecƟon?-> OpenFlowSwitch
new Datapath(socket)
Read&write socket
StreamServer(Gevent) SocketClient
Listen Connect
The design and application principle of MCMP algorithm is to fully guarantee the
reliability of the network and minimize the impact of the switch failure on the network.
In the actual design process, appropriate path selection can be made on the basis of the
actual situation:
(1) Under the circumstances of the perfect network and the reasonable special
requirements proposed by the user, that is to say, if the network conditions permit,
the MCMP algorithm can be adopted to find the related path that fits the user’s
needs [4].
(2) Under the circumstances that the network situation is poor and there is no path to
meet the user’s requirements, comprehensive consideration is needed, and then in
multiple restricted conditions, [5] the path that best meets the user’s requirements
is selected. When choosing other paths, it is required to ensure that the chosen
path does not intersect with the switch node. The algorithm flow chart is shown
below (Fig. 3).
Finally, in order to ensure the path reliability, the improved LBA algorithm should
be used on the basis of the selected links.
Simulation of QoS Routing Algorithm Based on SDN Framework 473
Among which, P(s, t) is a set of paths from source node s to destination node t, c(p)
is the total cost of the link.
The idea of Lagrangian relaxation algorithm is adopted in this research. Suppose:
ck ¼ c þ k d ð2Þ
Among which, c = Bmin − b(l), d = d(l) − Dmax, if the calculated results of c and
d of a certain link are less than 0, it indicates that this link does not meet the limit
condition requirements, so the path needs to be abandoned to ensure that both c and d
are positive values [7].
L ¼ maxL(kÞðk [ ¼ 0Þ ð4Þ
conditions in the network. The Lagrangian relaxation algorithm is employed for the
calculation [9].
When building the experimental platform, the custom topology in the Mininet simu-
lation platform we shall be first built. After the completion of the construction, users
only need to script on the basis of the provided network topology requirements.
As can be seen from Fig. 5, the custom topology generates 9 switches, 8 virtual
hosts, virtual hosts h1, h2, h3 connect with virtual switch s1, virtual host h4 connects
with virtual switch s2, virtual host h5, h6, h7 connect with virtual switch s6, and virtual
host h8 connects with virtual switch s7.
After writing, run the Ryu controller, the current network simulation topological
structure on the Ryu network visualization platform cam be seem, as shown in Fig. 5:
Next, the Ryu controller on the basis of building an automatic network topology is
needed to run. First, the data monitoring module needs to be used to obtain the
corresponding data, and to obtain the data accuracy. Then, the data monitoring module
is used to monitor broadband data and delay data, and the corresponding data is
calculated by issuing the following message. Through experimental analysis, it can be
found that the data monitoring module has a high accuracy of information retrieval, and
the simulation and accuracy of the experiment are obtained on the new basis of data
accuracy.
Finally, the flow table information is required to be obtained. It is necessary to
judge the routing effect of MCMP, set certain parameters for the path that meets the
constraint condition and the path that does not meet the constraint condition simulation
analysis
The parameters shown in Tables 1 and 2 are obtained through experiments:
476 Z. Zhang and Y. Fu
Comparing the two sets of data, it can be found that the data obtained by the data
monitoring module is slightly smaller than the actual bandwidth of the link. The reason
for this phenomenon is that the maximum bandwidth of the link is adopted in the
process of setting link bandwidth, while the network transmission of data packets in the
actual network topology will occupy a certain network bandwidth, so the measured
value is less than the maximum value.
In accordance with the simulation data, the link state information of the data
monitoring module is basically correct.
According to the experimental platform to obtain the policy data, the algorithm
simulation is strictly conducted based on the path selection method mentioned above.
The analysis to the simulation results is mainly to compare the difference between
MCMP algorithm and the other two algorithms, and the comparison content is the
accuracy of selection path and link recovery time respectively.
(1) Comparison of path selection accuracy: The MCMP algorithm can be used to
select the path that meets the constraint conditions for users who meet the
restricted conditions in the network, while the application of AHP and GA will
lead to instability. The main reason for this situation is that the main goal of AHP
and GA is to select a relatively good path under multiple conditions of compre-
hensive link, but the restriction conditions are neglected, so it is impossible to
select a path that meets users’ needs.
(2) Link recovery time comparison: When the switch breaks down, the effect of the
link disjoint algorithm is the same as that of the conventional passive routing, the
main reason is that the link disjunction algorithm only guarantees the disjoint
between the backup path and transmission path, but does not guarantee the node-
disjoint between the backup path and the main transmission path. While the
MCMP algorithm can ensure that the selected switch node does not intersect the
backup path, so the recovery time is very stable.
This shows that the MCMP algorithm can satisfy various requirements and
restricted conditions of users, and the algorithm path that meets the constraints of users
can be accurately selected for the first time, both in terms of time delay and broadband.
The MCMP algorithm can also solve the problems such as slow link recovery and so
on.
6 Conclusion
Along with the continuous development and progress of SDN network, users’
requirements for the network are gradually increasing. Users hope that the relevant data
can be propagated in the path under certain restrictions. While the SDN network is
characterized by centralized control and flexible management etc., therefore, specific to
such kind of SDN network, a multi-restricted multi-path QoS algorithm, MCMP, is
proposed, and the main objective of this algorithm is to select a satisfactory path for the
user based on the user constraints and network conditions.
478 Z. Zhang and Y. Fu
Acknowledgments. This paper is supported by the industrial research project of Shaanxi sci-
ence and technology department (No. 2016GY-088), the fund of school of computer science and
engineering of Xi’an Technological University (No. GSYSI2016012) and the educational reform
fund of Xi’an Technological University (No. 16JGY25).
References
1. Chen Z (2017) Research and implementation of QoS control technology in SDN network.
University of Electronic Science and Technology of China
2. Gao L (2017) Extensibility study on spatial information network control plane based on
SDN. Beijing University of Posts and Telecommunications
3. Zhan, ZH (2016) Research on data center routing strategy and security authentication based
on SDN. Anhui University
4. Lawson S (2013) Network heavy hitters to pool SDN efforts in OpenDaylight project.
Network World, 8 April 2013. www.networkworld.com/news
5. Open_vSwitch, Open_vSwitch database schema, DB Schema 7. 6. 0
6. Xu K, Liu H, Liu J, Shen M (2011) One more weight is enough: toward the optimal traffic
engineering with OSPF. In: 2011 31st international conference on distributed computing
systems (ICDCS). IEEE, pp 836–846
7. Zhang M, Liu B, Zhang B (2009) Multi-commodity flow traffic engineering with hybrid
MPLS/OSPF routing. In: 2009 IEEE global telecommunications conference, GLOBECOM
2009. IEEE, pp 1–6
8. McKeown N, Anderson T, Balakrishnan H et al (2008) OpenFlow: enabling innovation in
campus networks. ACM SIGCOMM Comput Commun Rev 38(2):69–74
9. Solberg M, Silverman B (2017) OpenStack for architects. Packt Publishing Ltd.
10. Chirammal HD, Mukhedkar P, Vettathu A (2016) Mastering KVM virtualization. Packt
Publishing Ltd.
11. Ivanov K (2017) KVM virtualization cookbook. Packt Publishing Ltd.
12. Subramanian S, Chowdhury CD (2015) OpenStack networking cookbook. Packt Publishing
Ltd.