Add an 'address' field to devices. Can be hostname, ipv4 or ipv6
This commit is contained in:
@ -24,6 +24,7 @@ type Device struct {
|
||||
User string `yaml:"user"`
|
||||
Type string `yaml:"type,omitempty"`
|
||||
Commands []string `yaml:"commands,omitempty"`
|
||||
Address string `yaml:"address,omitempty"`
|
||||
}
|
||||
|
||||
func readYAMLFile(path string) (map[string]interface{}, error) {
|
||||
|
Reference in New Issue
Block a user