Version 2 (modified by 3 years ago) ( diff ) | ,
---|
CPE management
Portax CPE management API
DESCRIPTION
Management API allows remote CPE management (eg. reboot)
METHODS
POST
Send command to CPE. Expects UTF-8 JSON encoded data in the POST body.
FIELDS
Required attributes.
- command
- Either
reboot
(using SNMP command to CPE) orrestart
using SNMP via CMTS.
- mac
- MAC address list, either single MAC or array of MAC addresses.
- note
- Log message.
EXAMPLE
data.json
{ "command": "reboot", "mac": ["24:76:7d:1f:3c:b9"], "note": "test" }
curl -s --cert-type P12 --cert $CERT:$PASS -X POST \ -H "Content-Type: application/json" \ --data @data.json $URL/rest/cpe
Note:
See TracWiki
for help on using the wiki.