addApplication: Install an application on a node

The addApplication command enables you to install and configure the instance of an application on a node.

Syntax

addApplication(app)

where:

Usage

1 node.addApplication("local:tcpdump", "getresults"){ |listener|
2     listener.setProperty('interface', 'eth0')
3     listener.setProperty('writetofile','/tmp/out.pcap')
4      listener.setProperty('filter', 'host 203.0.113.42')
5 }

Click here to view a tutorial that uses this command.