public final class BasicDeviceOperator extends BasicElementOperator
| Modifier and Type | Method and Description |
|---|---|
static org.onosproject.net.device.DeviceDescription |
combine(org.onosproject.net.config.basics.BasicDeviceConfig cfg,
org.onosproject.net.device.DeviceDescription descr)
Generates a DeviceDescription containing fields from a DeviceDescription and
a DeviceConfig.
|
static org.onosproject.net.SparseAnnotations |
combine(org.onosproject.net.config.basics.BasicDeviceConfig cfg,
org.onosproject.net.SparseAnnotations an)
Generates an annotation from an existing annotation and DeviceConfig.
|
static org.onosproject.net.device.DeviceDescription |
descriptionOf(org.onosproject.net.Device device)
Returns a description of the given device.
|
combineElementAnnotationspublic static org.onosproject.net.device.DeviceDescription combine(org.onosproject.net.config.basics.BasicDeviceConfig cfg,
org.onosproject.net.device.DeviceDescription descr)
cfg - the device config entity from network configdescr - a DeviceDescriptionpublic static org.onosproject.net.SparseAnnotations combine(org.onosproject.net.config.basics.BasicDeviceConfig cfg,
org.onosproject.net.SparseAnnotations an)
cfg - the device config entity from network configan - the annotationpublic static org.onosproject.net.device.DeviceDescription descriptionOf(org.onosproject.net.Device device)
device - the device