In-Memory Support

Roboconf has a target implementation to run agents in memory.

This implementation has no interest for production environments.

To install it, open the DM’s interactive mode and type in…

# Here in version 0.5 (with its dependencies)
bundle:install --start mvn:net.roboconf/roboconf-plugin-api/0.5
bundle:install --start mvn:net.roboconf/roboconf-agent/0.5
bundle:install --start mvn:net.roboconf/roboconf-target-in-memory/0.5

The in-memory target acts as a simulation mode.
When it is asked to create a VM, this implementation launches a new agent instance (as a new iPojo instance). These agents mock extensions, which means no script or Puppet module is used. Instead, life cycle actions (deploy, start, etc.) result in a log entry and nothing more.

In-memory support is useful for…

Sample target.properties.
Just copy / paste and edit.

# Configuration file for in-memory
handler = in-memory
name = 
description = 

Here is a complete description of the parameters for this handler.

Property Description Default Mandatory
handler Determines the target handler to use none, must be “in-memory” yes
name A human-readable name for the target - no
description A description of the target. - no
in-memory.delay The delay (in milliseconds) to wait for before instantiating a new agent in memory. 0 yes