BonFIRE logo and link to main BonFIRE site

Table Of Contents

Previous topic

Overview of Networking in BonFIRE

Next topic

OCCI How-To

This Page

Basic network resources

Every compute resource has to be linked to at least one network resource, via a declaration of at least one nic. Unless you’re doing experiments that are network-oriented, you’ll probably want to use one of the public network resources, declared on each site. If you’re operating on fr-inria, uk-epcc, de-hlrs, pl-psnc and be-ibbt, you’ll be able to link your compute resources to the BonFIRE WAN network, which will give you an internal IP routed through the entire BonFIRE WAN (i.e. any VM can contact any other VM irrespective of the site). If you need public IPs, a few sites offer networks which will give your compute resources a public IP: fr-inria.

On be-ibbt, controllable network resources are offered in order to support network-oriented experiments. Additional network attributes can be set to control link impairments (latency, bandwidth, lossrate) and background traffic (throughput, protocol, packetsize).

It is also possible to create networks on uk-epcc and pl-psnc using the same method. These local networks offer greater - although not complete - isolation from the effect of other experiments on the same site.

Network attributes

A network resource can have a number of attributes:

name

The network name.

description

The network description.

address

The address you wish for your network subnet.

size

The size of the network subnet. Possible values include A, B, C. These letters refer to the IANA-reserved private IPv4 network ranges. In the future address and size may be replaced with proper CIDR notation. Defaults to C.

public

A flag that specifies if that network resource can be seen and used by anyone. Possible values are YES or NO. Defaults to NO.

latency

The controlled latency (in ms) of the network. Only available on be-ibbt. Defaults to 0 (zero - no controlled latency). If altered, value should be at least 2.

bandwidth

The controlled bandwidth (in Mbps) of the network. Only available on be-ibbt. Defaults to 1000Mbps. If altered, value should be between 1 and 100.

lossrate

The controller loss rate (value between 0 and 1) to introduce in the network. Only available on be-ibbt. Defaults to 0 (zero).

throughput

A traffic generator (TG) can be added to the network. The throughput of the TG is specified in #packets/s. Only available on be-ibbt. Optional, but if one of the TG parameters is specified, all three of them need to be there (throughput, protocol and packetsize).

protocol

The protocol of the TG. Should be either UDP or TCP. Only available on be-ibbt. Optional, but if one of the TG parameters is specified, all three of them need to be there (throughput, protocol and packetsize).

packetsize

The packet size used by the TG (in bytes). Only available on be-ibbt. Optional, but if one of the TG parameters is specified, all three of them need to be there (throughput, protocol and packetsize).

strategy

The queue strategy used. Only available on be-ibbt. Optional. Default value is DropTail, while other possible values are RED and GRED.

queue-in-bytes

Use bytes instead of packets in the following parameters. Only available on be-ibbt. Optional, but this parameter needs to be present when selected either the RED or GRED strategy. Value must be either 0 or 1.

limit

The queue size in packets. Only available on be-ibbt. Optional, but this parameter needs to be present when selected either the RED or GRED strategy.

maxthresh

The maximum threshold for the average queue size in packets. Only available on be-ibbt. Optional, but this parameter needs to be present when selected either the RED or GRED strategy.

thresh

The minimum threshold for the average queue size in packets. Only available on be-ibbt. Optional, but this parameter needs to be present when selected either the RED or GRED strategy.

linterm

As the average queue size varies between thresh and maxthresh, the packet dropping probability varies between 0 and 1/linterm. Only available on be-ibbt. Optional, but this parameter needs to be present when selected either the RED or GRED strategy.

q_weigth

The queue weight, used in the exponential-weighted moving average for calculating the average queue size. Only available on be-ibbt. Optional, but this parameter needs to be present when selected either the RED or GRED strategy.

How To Deploy Network Resources