Research Article

SDNManager: A Safeguard Architecture for SDN DoS Attacks Based on Bandwidth Prediction

Algorithm 2

Bidirectional selection mechanism.
Input: , ; , ,
Output: , ,
(1) function BSM
(2) Each switch and controller builds and
(3) while Any proposals from the switches do
(4) if All the proposals will not vilolate constraint (11) then
(5) The controllers accept all the proposals
(6) else
(7) The controllers only accept the most preferred proposals based on
(8) The controllers reject other proposals
(9) end if
(10) end while
(11) Transform matching Θ to , ,
(12) end function