Skip to main content
Top

2019 | OriginalPaper | Chapter

A Model Checking Based Approach for Detecting SDN Races

Authors : Evgenii Vinarskii, Jorge López, Natalia Kushik, Nina Yevtushenko, Djamal Zeghlache

Published in: Testing Software and Systems

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The paper is devoted to the verification of Software Defined Networking (SDN) components and their compositions. We focus on the interaction between three basic entities, an application, a controller, and a switch. When the application submits a request to the controller, containing a set of rules to configure, these rules are expected to be ‘pushed’ and correctly applied by the switch of interest. However, this is not always the case, and one of the reasons is the presence of races or concurrency issues in SDN components and related interfaces. We propose a model checking based approach for deriving test sequences that can identify SDN races. The test generation strategy is based on model checking, and related formal verification is performed with the use of extended automata specifying the behavior of the components of interest; Linear Temporal Logic (LTL) formulas are utilized to express the properties to check. We generalize the races of interest and propose an approach for deriving the corresponding LTL formulas that are later used for verifiation. The Spin model checker is used for that purpose and thus, Promela specifications for interacting components are also provided; those are: the ONOS REST API, the ONOS controller and an OpenFlow Switch. An experimental evaluation with the aforementioned components showcases the existence of race conditions in their compositions.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
The actual description contains 632 lines.
 
2
The reader might notice that the formula is quite generic and can be adjusted accordingly for various particular cases, for example, states, input/output parameters can be added.
 
3
Note that the equation in Algorithm 3 can be solved using classical approaches, see for example Gauss-Jordan elimination [15].
 
Literature
1.
go back to reference Baier, C., Katoen, J.P.: Principles of Model Checking. The MIT Press, Cambridge (2008)MATH Baier, C., Katoen, J.P.: Principles of Model Checking. The MIT Press, Cambridge (2008)MATH
2.
go back to reference Berde, P., et al.: ONOS: towards an open, distributed SDN OS. In: Proceedings of the Third Workshop on Hot Topics in Software Defined Networking, pp. 1–6. ACM (2014) Berde, P., et al.: ONOS: towards an open, distributed SDN OS. In: Proceedings of the Third Workshop on Hot Topics in Software Defined Networking, pp. 1–6. ACM (2014)
3.
go back to reference El-Hassany, A., Miserez, J., Bielik, P., Vanbever, L., Vechev, M.T.: SDNRacer: concurrency analysis for software-defined networks. In: Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 2016, Santa Barbara, CA, USA, 13–17 June 2016, pp. 402–415 (2016). https://doi.org/10.1145/2908080.2908124 El-Hassany, A., Miserez, J., Bielik, P., Vanbever, L., Vechev, M.T.: SDNRacer: concurrency analysis for software-defined networks. In: Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 2016, Santa Barbara, CA, USA, 13–17 June 2016, pp. 402–415 (2016). https://​doi.​org/​10.​1145/​2908080.​2908124
5.
go back to reference Holzmann, G.: The Spin Model Checker: Primer and Reference Manual. Addison-Wesley Professional, Boston (2003) Holzmann, G.: The Spin Model Checker: Primer and Reference Manual. Addison-Wesley Professional, Boston (2003)
6.
go back to reference Huth, M., Ryan, M.: Logic in Computer Science: Modelling and Reasoning About Systems. Cambridge University Press, Cambridge (2004)CrossRef Huth, M., Ryan, M.: Logic in Computer Science: Modelling and Reasoning About Systems. Cambridge University Press, Cambridge (2004)CrossRef
8.
go back to reference Kozierok, C.M.: The TCP/IP Guide: A Comprehensive, Illustrated Internet Protocols Reference. No Starch Press, San Francisco (2005) Kozierok, C.M.: The TCP/IP Guide: A Comprehensive, Illustrated Internet Protocols Reference. No Starch Press, San Francisco (2005)
10.
go back to reference McKeown, N., et al.: OpenFlow: enabling innovation in campus networks. ACM SIGCOMM Comput. Commun. Rev. 38(2), 69–74 (2008)CrossRef McKeown, N., et al.: OpenFlow: enabling innovation in campus networks. ACM SIGCOMM Comput. Commun. Rev. 38(2), 69–74 (2008)CrossRef
11.
go back to reference Miserez, J., Bielik, P., El-Hassany, A., Vanbever, L., Vechev, M.T.: SDNRacer: detecting concurrency violations in software-defined networks. In: Proceedings of the 1st ACM SIGCOMM Symposium on Software Defined Networking Research, SOSR 2015, Santa Clara, California, USA, 17–18 June 2015, pp. 22:1–22:7 (2015). https://doi.org/10.1145/2774993.2775004 Miserez, J., Bielik, P., El-Hassany, A., Vanbever, L., Vechev, M.T.: SDNRacer: detecting concurrency violations in software-defined networks. In: Proceedings of the 1st ACM SIGCOMM Symposium on Software Defined Networking Research, SOSR 2015, Santa Clara, California, USA, 17–18 June 2015, pp. 22:1–22:7 (2015). https://​doi.​org/​10.​1145/​2774993.​2775004
13.
go back to reference Scott, C., et al.: Troubleshooting blackbox SDN control software with minimal causal sequences. In: Proceeding of the ACM SIGCOMM 2014 Conference, Chicago, Illinois, USA (2014) Scott, C., et al.: Troubleshooting blackbox SDN control software with minimal causal sequences. In: Proceeding of the ACM SIGCOMM 2014 Conference, Chicago, Illinois, USA (2014)
14.
go back to reference Shalimov, A., Zuikov, D., Zimarina, D., Pashkov, V., Smeliansky, R.: Advanced study of SDN/OpenFlow controllers. In: 9th Central & Eastern European Software Engineering Conference in Russia. ACM (2013) Shalimov, A., Zuikov, D., Zimarina, D., Pashkov, V., Smeliansky, R.: Advanced study of SDN/OpenFlow controllers. In: 9th Central & Eastern European Software Engineering Conference in Russia. ACM (2013)
15.
go back to reference Strang, G.: Introduction to Linear Algebra, vol. 3. Wellesley-Cambridge Press, Wellesley (1993)MATH Strang, G.: Introduction to Linear Algebra, vol. 3. Wellesley-Cambridge Press, Wellesley (1993)MATH
18.
go back to reference Wall, L., Christiansen, T., Orwant, J.: Programming Perl. O’Reilly Media Inc., Sebastopol (2000)MATH Wall, L., Christiansen, T., Orwant, J.: Programming Perl. O’Reilly Media Inc., Sebastopol (2000)MATH
19.
go back to reference William, F.: A Introduction to Probability Theory and Its Applications. Wiley, New York (1971) William, F.: A Introduction to Probability Theory and Its Applications. Wiley, New York (1971)
20.
go back to reference Zhang, Z., Yuan, D., Hu, H.: Multi-layer modeling of OpenFlow based on EFSM. In: 4th International Conference on Machinery, Materials and Information Technology Applications, pp. 209–214 (2016) Zhang, Z., Yuan, D., Hu, H.: Multi-layer modeling of OpenFlow based on EFSM. In: 4th International Conference on Machinery, Materials and Information Technology Applications, pp. 209–214 (2016)
Metadata
Title
A Model Checking Based Approach for Detecting SDN Races
Authors
Evgenii Vinarskii
Jorge López
Natalia Kushik
Nina Yevtushenko
Djamal Zeghlache
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-030-31280-0_12

Premium Partner