Topology Reservation¶
reserve.py
takes a number of arguments, most of which are optional.
|
Site to deploy topology, as a site name (vts-gpo, etc.) |
|
Slice name |
|
Project name (typically the geni-lib default) |
|
Build with network function – don’t set to get baseline |
|
Path to context JSON, if not default location |
|
Delete any pre-existing sliver with same slice name |
|
Number of sites to deploy in topology |
|
Number of sensors to deploy per site |
|
Percentage of loss in network |
|
Delay in ms between every site and mgmt location |
|
Percent of packets to reorder |
|
SSH Config file location for constructed topology |
|
URL for |
|
Branch in supplied repository |
|
URL for |
|
Branch in supplied repository |
|
URL for |
|
Branch in supplied repository |
Only slice
is a required argument if you have a properly set up geni-lib
context. You can
use the URLs and branches to supply your own modification to the experiment. The default values
of num-sites
is 2 and num-sensors
is 3, which you will need to know to provide input to
runexp.py
. You will have to set reorder and delay parameters in order to get useful results,
but they are not required for basic packet delivery to function.
The common execution of reserve.py
for an NF deployment will simply be:
$ reserve.py --with-nf --mgmt-delay 1000 --mgmt-reorder 20 --slice slicename