amsys 15(5): e4

Research Article

Termite: Emulation Testbed for Encounter Networks

Download1437 downloads
  • @ARTICLE{10.4108/eai.22-7-2015.2260069,
        author={Rodrigo Bruno and Nuno Santos and Paulo Ferreira},
        title={Termite: Emulation Testbed for Encounter Networks},
        journal={EAI Endorsed Transactions on Ambient Systems},
        volume={2},
        number={5},
        publisher={EAI},
        journal_a={AMSYS},
        year={2015},
        month={8},
        keywords={android, virtualization, emulator, cloudstack, openstack, wifi direct, debug, emulation},
        doi={10.4108/eai.22-7-2015.2260069}
    }
    
  • Rodrigo Bruno
    Nuno Santos
    Paulo Ferreira
    Year: 2015
    Termite: Emulation Testbed for Encounter Networks
    AMSYS
    EAI
    DOI: 10.4108/eai.22-7-2015.2260069
Rodrigo Bruno1,*, Nuno Santos1, Paulo Ferreira1
  • 1: INESC-ID/IST ULisboa
*Contact email: rodrigo.bruno@tecnico.ulisboa.pt

Abstract

Cutting-edge mobile devices like smartphones and tablets are equipped with various infrastructureless wireless interfaces, such as WiFi Direct and Bluetooth. Such technologies allow for novel mobile applications that take advantage of casual encounters between co-located users. However, the need to mimic the behavior of real-world encounter networks makes testing and debugging of such applications hard tasks.

We present Termite, an emulation testbed for encounter networks. Our system allows developers to run their applications on a virtual encounter network emulated by software. Developers can model arbitrary encounter networks and specify user interactions on the emulated virtual devices. To facilitate testing and debugging, developers can place breakpoints, inspect the runtime state of virtual nodes, and run experiments in a stepwise fashion. Termite defines its own Petri Net variant to model the dynamically changing topology and synthesize user interactions with virtual devices. The system is designed to efficiently multiplex an underlying emulation hosting infrastructure across multiple developers, and to support heterogeneous mobile platforms. Our current system implementation supports virtual Android devices communicating over WiFi Direct networks and runs on top of a local cloud infrastructure. We evaluated our system using emulator network traces, and found that Termite is expressive and performs well.