Model-Checking Plugin for HAROS
Before using the plugin, it's required to install HAROS and its plugins. Afterthat, just clone the repository and execute the following commands:
git clone https://github.com/brfc/haros_plugin_mc.git
Install the python requirements, which script is placed on the repository root:
pip install -r requirements.txt
Finally, just enter the root folder and execute:
cd ~/haros_plugin_mc
sudo python setup.py
The command above will create the cache folders and place the auxiliary artifacts on it.
The plugin requires a yaml configuration file. Here it is possible to define generic plugin configurations,
as well as the plugin required configurations, as the verification scopes
. Otherwise, inocous default scopes will be used.
The repository includes a configuration file model:
cd ~/haros_mc_plugin/plugin.yaml
The HAROS specification must be placed in the yaml
project file. The ~/haros_plugin_mc/mc/sample/sample.yaml
illustrates how the specification must be written.
Afterthat, just run it as any other HAROS plugin. The following command illustrates how the analysis of the sample
is executed.
haros full -p ~/haros_plugin_mc/mc/sample/sample.yaml