Changed "key" paramaters to tags and cleaned up interface
This commit is contained in:
@@ -36,7 +36,7 @@ type NodeConf struct {
|
||||
Discoverable string `yaml:"discoverable,omitempty"`
|
||||
Profiles []string `yaml:"profiles,omitempty"`
|
||||
NetDevs map[string]*NetDevs `yaml:"network devices,omitempty"`
|
||||
Keys map[string]string `yaml:"keys,omitempty"`
|
||||
Tags map[string]string `yaml:"tags,omitempty"`
|
||||
}
|
||||
|
||||
type NetDevs struct {
|
||||
@@ -88,7 +88,7 @@ type NodeInfo struct {
|
||||
Profiles []string
|
||||
GroupProfiles []string
|
||||
NetDevs map[string]*NetDevEntry
|
||||
Keys map[string]*Entry
|
||||
Tags map[string]*Entry
|
||||
}
|
||||
|
||||
type NetDevEntry struct {
|
||||
|
||||
Reference in New Issue
Block a user