control_network
This MC creates a control network within the FIREWHEEL experiment.
Essentially, it connects all VMs in the experiment to a single network with the 172.16.0.0/16
IP space and adds the Control Node to this network with an IP address of 172.16.255.254/16
.
Using this MC, users can take advantage of the ssh and scp helpers.
- Attribute Provides:
control_network
- Attribute Depends:
topology
- Model Component Dependencies:
Plugin
- class control_network_plugin.InsertControlNetwork(graph, log)[source]
Bases:
AbstractPlugin
Create a “Control” network which provides access to all VMs within an experiment.
This standard network uses the
172.16.0.0/16
IP space. Therefore, if you use this MC, your experiment should NOT use this IP space for standard communication.Note
This potentially provides access for VMs to communicate with your physical compute nodes. The Control Node will have the IP address
172.16.255.254
.- __annotations__ = {}
- _get_next_ip()[source]
Get the next IP address in the control subnet.
- Returns:
The next valid IP address.
- Return type:
- run()[source]
Add a control network switch and connect every
VMEndpoint
to that switch.