minimega.send_miniweb_arp

This MC adds a call to ping for all VMs. This allows miniweb to determine and display at least one of the VM’s IP addresses before the experiment is configured (i.e., reaches positive time). Essentially, this sends ARP packets which assist miniweb.

The ping command is generic and works on both Windows and Linux systems. The address being pinged is 192.0.2.1 which is in a range used for examples [1]. The output is redirected to a file called NULL to prevent expected errors from showing up in the log files.

Attribute Provides:
  • sent_arp

Attribute Depends:
  • ips

Plugin

class minimega.send_miniweb_arp_plugin.SendMiniwebArp(graph, log)[source]

Bases: AbstractPlugin

This plugin adds a call to ping for all VMEndpoints.

This allows miniweb to determine and display the VM’s IP on this interface before the experiment is configured (i.e., reaches positive time). Essentially, this sends ARP packets which assist miniweb.

The ping command is generic and works on both Windows and Linux systems. The address being pinged is 192.0.2.1 which is in a range used for examples [2]. The output is redirected to a file called NULL to prevent expected errors from showing up in the vm_resource_logs.

__annotations__ = {}
run()[source]

Schedule the ping command on all VMs.