Implement device-group functionality.
Device-groups includes devices and/or other device-groups and cna be used as first-class objects in all operations applicable to devices.
clixon-controller.yang has a device-group definitions, but not implemented:
list device-group{
description "Groups of devices, NOTE: device-name/-group unclear semantics?";
key name;
leaf name{
type string;
}
leaf-list device-name {
description "Device within group";
type leafref {
require-instance false;
path "/devices/device/name";
}
}
leaf-list device-group {
description
"A list of device groups contained in this device group.
Recursive definitions are not valid.";
type leafref {
path "/devices/device-group/name";
}
}
Implement device-group functionality. Device-groups includes devices and/or other device-groups and cna be used as first-class objects in all operations applicable to devices. clixon-controller.yang has a device-group definitions, but not implemented: