https://github.com/pelioniot/edge-resource-manager
Izuma Edge Resource Manager
https://github.com/pelioniot/edge-resource-manager
edge edge-computing
Last synced: 11 months ago
JSON representation
Izuma Edge Resource Manager
- Host: GitHub
- URL: https://github.com/pelioniot/edge-resource-manager
- Owner: PelionIoT
- License: apache-2.0
- Created: 2023-09-18T08:17:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T10:10:53.000Z (over 1 year ago)
- Last Synced: 2025-03-22T07:56:10.459Z (over 1 year ago)
- Topics: edge, edge-computing
- Language: Go
- Homepage: https://www.izumanetworks.com
- Size: 144 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Edge Resource Manager
The Edge Resource Manager adds LwM2M resources to an Edge device at runtime.
It achieves this by communicating to edge-core using the gateway resource manager REST API.
The API is detailed in [grm-json-rpc](https://developer.izumanetworks.com/docs/device-management-edge/latest/managing/grm-json-rpc.html)
## Configuration
The edge-resource manager takes a configuration file as its input that describes the resources that are to be added to edge-core.
The file [`izuma-base-config.yaml`](izuma-base-config.yaml) provides an example of this configuration file. It is expected that each use case of edge-resource-manager provides their own implementation of the configuration file.
The configuration file contains information about how to connect to edge-core and the LwM2M resources than should be added.
The **name** and **enable** fields of each LwM2M resource are read only resources. They cannot be changed at runtime.
## Execution
The edge-resource-manager should be started as a systemd service on the gateway.
A typical service file is shown below:
```
[Unit]
Description=edge-resource-manager: Adds gateway capability resources.
Requires=edge-proxy.service
After=edge-proxy.service
[Service]
Restart=always
RestartSec=5s
ExecStart=/usr/bin/edge-resource-manager -config /etc/edge/izuma-base-config.yaml
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
```
## Yocto recipe
There is a Yocto recipe available in [meta-edge/recipes-edge/edge-resource-manager](https://github.com/PelionIoT/meta-edge/tree/main/recipes-edge/edge-resource-manager).