NOTICE
To be able to configure a network interface via a label, the Industrial Edge Device Kit version must be 1.6.0-6 or higher.
If you want to configure your devices with a network label, you must provide "map" in the device description:
"ethernet": {
"configurationTypes": ["map"],
"numberOfPorts": 2,
"map": [{
"label": "<device_network_label_1>",
"interface-name": "<corresponding_interface_name_1>"
}, {
"label": "<device_network_label_2>",
"interface-name": "<corresponding_interface_name_2>"
}]
}
You can use the "ip link" command to display network interfaces on a Linux device.
So, if the ethernet configuration is:
"ethernet": {
"configurationTypes": ["map"],
"numberOfPorts": 2,
"map": [{
"label": "Interface A",
"interface-name": "enp0s3"
}, {
"label": "Interface B",
"interface-name": "enp0s8"
}]
}
then the corresponding network configuration UI will be as follows: