Skip to content

Configuring Capabilities

Users can view the managed resources and their status in the IE Runtime UI. To enable this, add the following JSON object to the device capabilities.json file. If you set defaultStatus to enabled, the UI shows the Resource Manager details.

For example:

{
    "capabilityId": "host.resourcemanager",
    "name": "Resource Manager Plugin Support",
    "description": "Specifies support for resource manager plugins on the device and notifies Industrial Edge to use these.",
    "scope": "protected",
    "property": "optional",
    "details": {
        "defaultStatus": "disabled",
        "ie.device.hardware.cpu_allocation": "false",
        "ie.device.hardware.nic_allocation": "false",
        "ie.device.hardware.gpu_allocation": "false",
        "ie.device.hardware.memory_allocation":"false"
    }
}

Set ie.device.hardware.cpu_allocation, ie.device.hardware.nic_allocation, ie.device.hardware.gpu_allocation, and ie.device.hardware.memory_allocation to true when the corresponding plug-ins are installed on the device.

The following table associates the above capabilities with the corresponding resource classes:

Capability Resource Class
ie.device.hardware.cpu_allocation siemens.com/isolated_core
ie.device.hardware.nic_allocation siemens.com/isolated_network
ie.device.hardware.gpu_allocation nvidia.com/gpu
ie.device.hardware.memory_allocation siemens.com/shared_memory

These capabilities and their configuration can change in future releases.

NOTICE

The values specified in the host.runtime.nfr capability hold for configurations without isolated CPUs. If you are using the Resource Manager's CPU plugin, the cpu property, which imposes an upper limit on the apps' CPU usage, may no longer be valid. Similarly, apps isolating CPUs are not bound to the memory property. To ensure that the specified limits are obeyed system-wide, any apps that have claimed isolated CPUs must be stopped.