Various fixes found in testing

This commit is contained in:
Gregory Kurtzer
2021-12-29 17:16:53 -08:00
parent 00d8d42e9d
commit 9f53bca1bf
9 changed files with 84 additions and 24 deletions

View File

@@ -39,16 +39,16 @@ type NodeConf struct {
}
type NetDevs struct {
Name string
Type string `yaml:"type,omitempty"`
OnBoot bool `yaml:"onboot"`
Device string `yaml:"device"`
Type string
OnBoot bool
Device string
Hwaddr string
Ipaddr string
IpCIDR string
Prefix string
IpCIDR string `yaml:"ipcidr,omitempty"`
Prefix string `yaml:"prefix,omitempty"`
Netmask string
Gateway string `yaml:"gateway,omitempty"`
Gateway string `yaml:"gateway"`
Default bool
}
/******
@@ -92,16 +92,16 @@ type NodeInfo struct {
}
type NetDevEntry struct {
Name Entry
Type Entry `yaml:"type,omitempty"`
OnBoot Entry `yaml:"onboot"`
Device Entry `yaml:"device"`
Type Entry
OnBoot Entry
Device Entry
Hwaddr Entry
Ipaddr Entry
IpCIDR Entry
Prefix Entry
Netmask Entry
Gateway Entry `yaml:"gateway,omitempty"`
Gateway Entry
Default Entry
}
func init() {