Jan 13, 2020 - Connecting IMUNES with the real machines

Connecting IMUNES with the real machines

Hello!

We often get asked to explain how to connect the IMUNES topology to an outside network or how to connect the machine running IMUNES to a running topology. That is why we created two entries to our FAQ:

  • How can I connect my host computer (the one running IMUNES) to an IMUNES topology?
  • How can I connect a running IMUNES topology to the internet?

where we explained exactly how to do both of those things. Also, this automatically answers the (another often asked) question:

  • What is the difference between External connection node and External interface node?

Nov 12, 2019 - hcp and vlink tools completion scripts

Hello!

As mentioned in our last post, we created some new completion scripts for our command line helper tools hcp and vlink! If you don’t know what those tools are, check out this link and our manual with examples of himage, hcp and vlink usage.

As with himage completion script, these scripts also enable autocompletion of running experiment nodes in the context of the tool. For example, the script will autocomplete the path inside the node when copying files with hcp, and vlink will offer you a list of existing arguments and links of running experiments.

Sep 16, 2019 - himage tool completion script

himage tool completion script

Hello!

One of the newest updates in IMUNES was the addition of himage bash completion script. For some of you who don’t know what himage is, it is an IMUNES tool used for connecting to running nodes, used primarily for scripting IMUNES experiments, but also often used as a helper tool to run commands on nodes in live experiments. You can read more about himage here and here.

This script enables the user to ‘tab-complete’ flags and arguments of the himage script. It pretty much behaves as a regular shell autocomplete by:

  • showing available flags if you type himage -<TAB>,
  • autocompleting running node names matching the beginning of the name if you type himage [0-or-more-characters]<TAB> (show multiple choices in case there are nodes with the same name in different experiments), or
  • autocompleting commands which run from the jail if you type himage node [0-or-more-characters]<TAB>.

It definitely improves the usage experience of the himage script and speeds up writing shell commands for IMUNES or debugging your topologies.

The himage-bash-completion.bash script is not automatically installed, you have to manually run it:

# . $imunes_installation_location/scripts/himage-bash-completion.bash # usually /usr/local/lib/imunes/scripts

or put this command in your .bashrc or whatever shell .rc file you use to load every time you start the shell.

Next step: hcp and vlink completion scripts.