From 9e41de9fdfbf49d88015fccc4a990c3d53accf58 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Fri, 30 Sep 2022 16:26:14 +0200 Subject: [PATCH] adde mtu --- internal/pkg/node/datastructure.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/pkg/node/datastructure.go b/internal/pkg/node/datastructure.go index fa9fd33d..64e4bdd7 100644 --- a/internal/pkg/node/datastructure.go +++ b/internal/pkg/node/datastructure.go @@ -82,6 +82,7 @@ type NetDevs struct { Prefix string `yaml:"prefix,omitempty"` Netmask string `yaml:"netmask,omitempty" lopt:"netmask" sopt:"M" comment:"Set the networks netmask"` Gateway string `yaml:"gateway,omitempty" lopt:"gateway" sopt:"G" comment:"Set the node's network device gateway"` + MTU string `yaml:"mtu,omitempty" lopt:"mtu" comment:"Set the mtu"` Primary string `yaml:"primary,omitempty" lopt:"primary" comment:"Enable/disable network device as primary (yes/no)"` Default string `yaml:"default,omitempty"` /* backward compatibility */ Tags map[string]string `yaml:"tags,omitempty" lopt:"nettagadd" comment:"network tags"` @@ -156,6 +157,7 @@ type NetDevEntry struct { Prefix Entry Netmask Entry Gateway Entry + MTU Entry Primary Entry Tags map[string]*Entry }