f-50: lab: déploiement de two sur les hyperviseurs et provisionnement en un script #50
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
8d1691ae94
commit
f424d15213
16 changed files with 360 additions and 64 deletions
|
|
@ -49,6 +49,7 @@ type Node struct {
|
|||
Secondary map[string][]string
|
||||
Loopback string
|
||||
FRR string
|
||||
Release string
|
||||
}
|
||||
|
||||
type fileImage struct {
|
||||
|
|
@ -72,6 +73,7 @@ type fileNode struct {
|
|||
Secondary map[string][]string `yaml:"secondary"`
|
||||
Loopback string `yaml:"loopback"`
|
||||
FRR string `yaml:"frr"`
|
||||
Release string `yaml:"release"`
|
||||
}
|
||||
|
||||
type file struct {
|
||||
|
|
@ -141,6 +143,7 @@ func Parse(data []byte) (*Topology, error) {
|
|||
Secondary: n.Secondary,
|
||||
Loopback: n.Loopback,
|
||||
FRR: n.FRR,
|
||||
Release: n.Release,
|
||||
})
|
||||
}
|
||||
return t, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue