Publications:A Domain Specific Approach to Network Software Architecture : Assuring Conformance Between Architecture and Code

From CERES
Jump to: navigation, search

Do not edit this section

Keep all hand-made modifications below

Title A Domain Specific Approach to Network Software Architecture : Assuring Conformance Between Architecture and Code
Author Yan Wang and Veronica Gaspes
Year 2009
PublicationType Conference Paper
Journal
HostPublication Fourth International Conference on Digital Telecommunications, 2009. ICDT '09
DOI http://dx.doi.org/10.1109/ICDT.2009.4
Conference Fourth International Conference on Digital Telecommunications, 2009. ICDT '09
Diva url http://hh.diva-portal.org/smash/record.jsf?searchId=1&pid=diva2:235615
Abstract Network software is typically organized according toa layered architecture that is well understood. However, writingcorrect and efficient code that conforms with the architecture stillremains a problem. To overcome this problem we propose to usea domain specific language based approach. The architecturalconstraints are captured in a domain specific notation that can beused as a source for automatic program generation. Conformancewith the architecture is thus assured by construction. Knowledgefrom the domain allows us to generate efficient code. In addition,this approach enforces reuse of both code and designs, one ofthe major concerns in software architecture. In this paper, weillustrate our approach with PADDLE, a tool that generates packetprocessing code from packet descriptions. To describe packets weuse a domain specific language of dependent types that includespacket overlays. From the description we generate C librariesfor packet processing that are easy to integrate with other partsof the code. We include an evaluation of our tool.