Cisco D9800 Reference Manual page 155

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

API Definitions
If successful, the return body will be:
"response": {
}
Example 2: Changing multiple RF Tuning Parameters
The following example assumes that the user has successfully logged onto the unit, received the session id
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. Please change
the IP to the specific unit IP in use. This example changes several RF port 3 tuning parameters. It will set the
IQ mode to Normal, sdten to Yes, paten to Yes and niten to No.
curl -X POST –i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/rf?port=3&verbose=1&iq=Normal&paten=Yes&sdten=Yes&niten=No"
If successful, the return body will be:
"response": {
}
GET Examples
Example 3: GET the full RF tuning values for a specific RF port
The following example assumes that the user has successfully logged onto the unit, received the session id
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. Please change
the IP to the specific unit IP in use. This example retrieves all of the RF tuning settings for RF port 3. Please
note that the user MUST always specify the port number in the URI.
curl -X GET -i
"https://192.168.0.1/ws/v2/service_cfg/input/rf?port=3"
If successful, the return body will be:
"input": {
}
"code": "10",
"result": "success",
"message": ""
"code": "10",
"result": "success",
"message": ""
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"rf": {
"port": "3",
"act": "No",
"dnlkfreq": "12.31",
"symrate": "30.0",
"fec": "Auto",
"mod": "DVB-S2",
"rolloff": ".35",
"iq": "Normal",
"pwr": "Off",
"sel22khz": "Off",
"lo1": "10.75",
"lo2": "0.0",
"xover": "0.0",
"pol": "Horizontal",
"orbpos": "0.0",
"ewflag": "N/A",
"afcrange": "3.0",
"strm1sel": "Yes",
"strm2sel": "No",
"strm3sel": "No",
"strm4sel": "No",
"strm5sel": "No",
"strm6sel": "No",
"acqmode": "Basic",
"netid": "1",
"freqmode": "NIT",
"svclstmode": "Rigorous",
"niten": "No",
"sdten": "Yes",
"paten": "Yes"
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Input Configuration Command
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents