ALPON
Set Network Interface Priorities
Changed onSet network interface priorities on the ALPON device. The priority values must be sequential and start from 1, with no gaps or zeros. For example, the priorities should be 1, 2, 3, 4, etc. If any of the provided priorities are invalid, the request will fail with a validation error.
Example payload:
{
"priorities": [
{"name": "eth0", "value": 1},
{"name": "usb0", "value": 2},
{"name": "wlan0", "value": 3}
]
}
Possible Error Codes:
- AssetNotFound: The asset with the specified ID was not found.
- AssetNotAlponDevice: The device is not an ALPON device.
- ErrorInvalidPriorityValue: Priority values cannot be negative.
- ErrorInvalidPrioritySequence: The priority values must start from 1 and increment without gaps (e.g., 1, 2, 3, ...).
- ErrorUpdatingNetworkPriorities: Error updating network priorities, make sure the interface names are correct and exist on the device.
- DeviceNotReachable: The device is not reachable.
Note:
- The priority values should start from 1 and increment without gaps (e.g., 1, 2, 3, ...).
- No priority value can be 0 or skipped.
patch/assets/{asset_id}/alpon/network/priority
Request
- Base URLhttps://api.sixfab.com/v1
- URLhttps://api.sixfab.com/v1/assets/{asset_id}/alpon/network/priority
- AuthAPI key in header X-API-Key
Path parameters
asset_idstring required
Serial Number, UUID, SIM SID or SIM ICCID
Headers
x-forwarded-forstring
Request body
Response
Network priorities updated successfully and saved to database
unknown required
Changes
- info
endpoint added
- info