Skip to content
Snippets Groups Projects
Commit fda94570 authored by Clemens Barth's avatar Clemens Barth
Browse files

fix lint & link

parent cb11c9bd
No related branches found
No related tags found
1 merge request!103Draft: Resolve "Create a config generator to be able to easily create topologies"
Pipeline #215967 passed
...@@ -48,7 +48,7 @@ go test . ...@@ -48,7 +48,7 @@ go test .
The configuration file [/qconfgen/templateCreate/templateCreate.clab_vars.yaml](https://code.fbi.h-da.de/danet/quant/-/blob/12-create-a-config-generator-to-be-able-to-easily-create-topologies/qconfgen/templateCreate/templateCreate.clab_vars.yaml), defines what the generator should do. Most of the values do not need to be changed usually. The configuration file [/qconfgen/templateCreate/templateCreate.clab_vars.yaml](https://code.fbi.h-da.de/danet/quant/-/blob/12-create-a-config-generator-to-be-able-to-easily-create-topologies/qconfgen/templateCreate/templateCreate.clab_vars.yaml), defines what the generator should do. Most of the values do not need to be changed usually.
A default configuration file is provided [/qconfgen/templateCreate/templateCreate_default.clab_vars-yaml](https://code.fbi.h-da.de/danet/quant/-/blob/12-create-a-config-generator-to-be-able-to-easily-create-topologies/templateCreate/templateCreate_default.clab_vars.yaml) that defines a simple example configuration. Its content can be copied into the above file, or it can be used with the `-config` flag . A default configuration file is provided [/qconfgen/templateCreate/templateCreate_default.clab_vars.yaml](https://code.fbi.h-da.de/danet/quant/-/blob/12-create-a-config-generator-to-be-able-to-easily-create-topologies/qconfgen/templateCreate/templateCreate_default.clab_vars.yaml) that defines a simple example configuration. Its content can be copied into the above file, or it can be used with the `-config` flag .
The value `ekms.num` can be changed for a different number of EKMS. Setting the `-ekms` flag overwrites this value. The value `ekms.num` can be changed for a different number of EKMS. Setting the `-ekms` flag overwrites this value.
...@@ -89,4 +89,4 @@ There are different ways to generate peer connections between two EKMS. Availabl ...@@ -89,4 +89,4 @@ There are different ways to generate peer connections between two EKMS. Availabl
## Misc ## Misc
The `README_old.md` file (in German) may have more information, but does not represent the current state of the project. The [README_old.md](https://code.fbi.h-da.de/danet/quant/-/blob/12-create-a-config-generator-to-be-able-to-easily-create-topologies/qconfgen/README_old.md) file (in German) may have more information, but does not represent the current state of the project.
\ No newline at end of file \ No newline at end of file
...@@ -86,7 +86,7 @@ func setConfigPath(configPath *string) { ...@@ -86,7 +86,7 @@ func setConfigPath(configPath *string) {
} }
} }
// needs the config file to be parsed to check the EKMS value // needs the config file to be parsed to check the EKMS value.
func setEkmsNumber(ekmsNum *int) { func setEkmsNumber(ekmsNum *int) {
if *ekmsNum < 1 { if *ekmsNum < 1 {
logrus.Info("-ekms, -kms flag not provided or invalid value, using value in config file: ", tcConf.EKMS.Num) logrus.Info("-ekms, -kms flag not provided or invalid value, using value in config file: ", tcConf.EKMS.Num)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment