feature-21, ajoute de la gestion des subnets #24
2 changed files with 7 additions and 1 deletions
f-21: code: add interface name in config
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
commit
066b90dff4
|
|
@ -1,2 +1,7 @@
|
|||
database:
|
||||
path: "/var/lib/two/data/"
|
||||
path: "/var/lib/two/data/"
|
||||
|
||||
interfaces:
|
||||
vms: br-000000
|
||||
internet: br-000000
|
||||
admin: br-000000
|
||||
|
|
@ -20,6 +20,7 @@ type Config struct {
|
|||
Count int `mapstructure:"count"`
|
||||
BufferSize int `mapstructure:"buffer_size"`
|
||||
} `mapstructure:"worker"`
|
||||
Interfaces map[string]string `mapstructure:"interfaces"`
|
||||
}
|
||||
|
||||
func LoadConfig(path string) (*Config, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue