Skip to main content

Kaki: Concurrent Update Synthesis for Regular Policies via Petri Games

  • Conference paper
  • First Online:
Integrated Formal Methods (IFM 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13274))

Included in the following conference series:

Abstract

Modern computer networks are becoming increasingly complex and for dependability reasons require frequent configuration changes. It is essential that forwarding policies are preserved not only before and after the configuration update but also at any moment during the inherently distributed execution of the update. We present Kaki, a Petri game based approach for automatic synthesis of switch batches that can be updated in parallel without violating a given (regular) forwarding policy like waypointing and service chaining. Kaki guarantees to find the minimum number of concurrent batches and it supports both splittable and nonsplittable flow forwarding. In order to achieve an optimal performance, we introduce two novel optimization techniques based on static analysis: decomposition into independent subproblems and identification of switches that can be collectively updated in the same batch. These techniques considerably improve the performance of our tool, relying on TAPAAL’s verification engine for Petri games as its backend. Experiments on a large benchmark of real networks from the topology Zoo database demonstrate that Kaki outperforms the state-of-the-art tool FLIP as it provides shorter (and provably optimal) concurrent update sequences at similar runtime.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/Ragusaen/Kaki.

References

  1. Cao, Z., Wang, Z., Zegura, E.W.: Performance of hashing-based schemes for internet load balancing. In: Proceedings IEEE INFOCOM 2000, The Conference on Computer Communications, Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies, Reaching the Promised Land of Communications, Tel Aviv, Israel, 26–30 March 2000, pp. 332–341. IEEE Computer Society (2000). https://doi.org/10.1109/INFCOM.2000.832203

  2. Christesen, N., Glavind, M., Schmid, S., Srba, J.: Latte: Improving the latency of transiently consistent network update schedules. In: IFIP PERFORMANCE 2020. Performance Evaluation Review, vol. 48, no. 3, pp. 14–26. ACM (2020)

    Google Scholar 

  3. David, A., Jacobsen, L., Jacobsen, M., Jørgensen, K.Y., Møller, M.H., Srba, J.: TAPAAL 2.0: integrated development environment for Timed-Arc Petri Nets. In: Flanagan, C., König, B. (eds.) TACAS 2012. LNCS, vol. 7214, pp. 492–497. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-28756-5_36

    Chapter  MATH  Google Scholar 

  4. Didriksen, M., et al.: Automatic synthesis of transiently correct network updates via petri games. In: Buchs, D., Carmona, J. (eds.) PETRI NETS 2021. LNCS, vol. 12734, pp. 118–137. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-76983-3_7

    Chapter  Google Scholar 

  5. Didriksen, M., et al.: Artefact for: automatic synthesis of transiently correct network updates via petri games, February 2021. https://doi.org/10.5281/zenodo.4501982

  6. Finkbeiner, B., Gieseking, M., Hecking-Harbusch, J., Olderog, E.-R.: AdamMC: a model checker for petri nets with transits against flow-LTL. In: Lahiri, S.K., Wang, C. (eds.) CAV 2020. LNCS, vol. 12225, pp. 64–76. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-53291-8_5

    Chapter  Google Scholar 

  7. Foerster, K., Schmid, S., Vissicchio, S.: Survey of consistent software-defined network updates. IEEE Commun. Surv. Tutor. 21(2), 1435–1461 (2019)

    Article  Google Scholar 

  8. Hopps, C., et al.: Analysis of an equal-cost multi-path algorithm. Tech. rep., RFC 2992, November 2000

    Google Scholar 

  9. Jensen, J.F., Nielsen, T., Oestergaard, L.K., Srba, J.: TAPAAL and reachability analysis of P/T nets. In: Koutny, M., Desel, J., Kleijn, J. (eds.) Transactions on Petri Nets and Other Models of Concurrency XI. LNCS, vol. 9930, pp. 307–318. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-53401-4_16

    Chapter  Google Scholar 

  10. Jensen, P., Larsen, K., Srba, J.: Real-time strategy synthesis for timed-arc Petri net games via discretization. In: Proceedings of the 23rd International SPIN Symposium on Model Checking of Software (SPIN’16). LNCS, vol. 9641, pp. 129–146. Springer-Verlag (2016)

    Google Scholar 

  11. Johansen, N., Kær, L., Madsen, A., Nielsen, K., Srba, J., Tollund, R.: Artefact for Kaki: Concurrent update synthesis for regular policies via Petri games (2022). https://doi.org/10.5281/zenodo.6379555

    Article  Google Scholar 

  12. Knight, S., Nguyen, H.X., Falkner, N., Bowden, R.A., Roughan, M.: The internet topology zoo. IEEE J. Sel. Areas Commun. 29(9), 1765–1775 (2011), https://doi.org/10.1109/JSAC.2011.111002

  13. Liu, A.X., Meiners, C.R., Torng, E.: TCAM razor: a systematic approach towards minimizing packet classifiers in TCAMs. IEEE/ACM Trans. Netw. 18(2), 490–500 (2010), http://doi.acm.org/10.1145/1816262.1816274

  14. Ludwig, A., Dudycz, S., Rost, M., Schmid, S.: Transiently secure network updates. ACM SIGMETRICS Perform. Eval. Rev. 44(1), 273–284 (2016)

    Article  Google Scholar 

  15. Ludwig, A., Marcinkowski, J., Schmid, S.: Scheduling loop-free network updates: It’s good to relax! In: Georgiou, C., Spirakis, P.G. (eds.) Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing, PODC 2015, Donostia-San Sebastián, Spain, 21–23 July 2015. pp. 13–22. ACM (2015). https://doi.org/10.1145/2767386.2767412

  16. Ludwig, A., Rost, M., Foucard, D., Schmid, S.: Good network updates for bad packets: waypoint enforcement beyond destination-based routing policies. In: Katz-Bassett, E., Heidemann, J.S., Godfrey, B., Feldmann, A. (eds.) Proceedings of the 13th ACM Workshop on Hot Topics in Networks, HotNets-XIII, Los Angeles, CA, USA, 27–28 October 2014. pp. 15:1–15:7. ACM (2014). https://doi.org/10.1145/2670518.2673873

  17. McClurg, J., Hojjat, H., Černý, P., Foster, N.: Efficient synthesis of network updates. SIGPLAN Not. 50(6), 196–207 (2015). https://doi.org/10.1145/2813885.2737980

  18. Murata, T.: Petri nets: properties, analysis and applications. Proc. IEEE 77(4), 541–580 (1989)

    Article  Google Scholar 

  19. Pereíni, P., Kuzniar, M., Canini, M., Kostić, D.: ESPRES: transparent SDN update scheduling. In: Proceedings of the Third Workshop on Hot Topics in Software Defined Networking, pp. 73–78. HotSDN 2014, Association for Computing Machinery, New York, NY, USA (2014).https://doi.org/10.1145/2620728.2620747

  20. Reitblatt, M., Foster, N., Rexford, J., Schlesinger, C., Walker, D.: Abstractions for network update. In: Eggert, L., Ott, J., Padmanabhan, V.N., Varghese, G. (eds.) ACM SIGCOMM 2012 Conference, Helsinki, Finland, pp. 323–334. ACM (2012)

    Google Scholar 

  21. Schneider, T., Birkner, R., Vanbever, L.: Snowcap: synthesizing network-wide configuration updates. In: Kuipers, F.A., Caesar, M.C. (eds.) ACM SIGCOMM 2021 Conference, Virtual Event, USA, 23–27 August 2021, pp. 33–49. ACM (2021). https://doi.org/10.1145/3452296.3472915

  22. Vissicchio, S., Cittadini, L.: FLIP the (flow) table: fast lightweight policy-preserving SDN updates. In: 35th Annual IEEE International Conference on Computer Communications, INFOCOM 2016, San Francisco, CA, USA, 10–14 April 2016, pp. 1–9. IEEE (2016)

    Google Scholar 

Download references

Acknowledgments

We thank Peter G. Jensen for his help with executing the experiments and Anders Mariegaard for his assistance with setting up FLIP. This work was supported by DFF project QASNET.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jiří Srba .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Johansen, N.S., Kær, L.B., Madsen, A.L., Nielsen, K.Ø., Srba, J., Tollund, R.G. (2022). Kaki: Concurrent Update Synthesis for Regular Policies via Petri Games. In: ter Beek, M.H., Monahan, R. (eds) Integrated Formal Methods. IFM 2022. Lecture Notes in Computer Science, vol 13274. Springer, Cham. https://doi.org/10.1007/978-3-031-07727-2_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-07727-2_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-07726-5

  • Online ISBN: 978-3-031-07727-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics