Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
10 views11 pages

Rcview Rest API

The document outlines API requests for managing network elements (NEs) and their ports, including methods to retrieve all NEs, get ports of a specific NE, and check ingress and egress speed limits. It specifies request methods, URLs, parameters, and response structures for each API call. Examples of response data for NEs and ports are provided, detailing attributes such as IP addresses, port names, and rate limits.

Uploaded by

hericklenon29
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views11 pages

Rcview Rest API

The document outlines API requests for managing network elements (NEs) and their ports, including methods to retrieve all NEs, get ports of a specific NE, and check ingress and egress speed limits. It specifies request methods, URLs, parameters, and response structures for each API call. Examples of response data for NEs and ports are provided, detailing attributes such as IP addresses, port names, and rate limits.

Uploaded by

hericklenon29
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

GET ALL NEs

Request Method

PUT

Request URL

/tiap_ems_north/tiap_ems_basic_mgt/v1/ne/mplsNeListfilter

Request Parameters

- Authentication-Token:Token

Request Body

- node:Default fill in root to obtain all network element information.

Response Parameters

key Type Description

Response Example

"code": 0,

"total": 1,
"data": [

"derive": 1,

"displayNeTypeName": "RAX721-C-2C24",

"fixedNeModelName": "RAX721-A",

"fixedNeTypeId": 10000,

"fixedNeTypeName": "RAX721-A",

"hardwareVer": "A.01",

"hostName": "721-2c-2",

"iconCls": "x-tree-node-icon",

"ipAddress": "10.200.206.112",

"lastResSyncBeginTime": 1751614779984,

"lastResSyncEndTime": 1751614820003,

"lastSyncStatus": 3,

"leaf": true,

"macAddress": "a8:6d:5f:72:46:e9",

"minAlarmLevel": 10,

"mplsLsrId": "1.1.1.2",

"name": "10.200.206.112-721-2",

"neId": 109,
"neModelName": "RAX721-C-2C24",

"neModelUserLabel": "RAX721-C-2C24",

"neTypeId": 10017,

"neTypeName": "RAX721-C-2C24",

"neTypeUserLabel": "RAX721-C-2C24",

"seriesId": 5,

"seriesNeTypeName": "V6R2",

"softBaseVersion": "P200R003C00",

"softwareVer": "10.4.46_20250626(Compiled Jun 26


2025,12:41:28)",

"statusIsPingOk": 1,

"svgIcon": "icon-PTN-1U",

"symbolName1": "10.200.206.112-721-2",

"userLabel": "10.200.206.112-721-2",

"vendor": "Raisecom"

...

GET Ports of NE
Request Method

POST

Request URL

tiap_ems_north/tiap_ems_basic_mgt/v20/interface/ethport/condition_query

Request Parameters

- Authentication-Token:Token

Request Body

- neId:NE ID from GET ALL NEs interface

Response Parameters

key Type Description


1:ACCESS
accessType INT
2:Trunk

Response Example

"code": 0,

"total": 1,

"data": [
{

"accessEgressVlanList": "",

"accessType": 1,

"accessVlanId": "0",

"activeMauIndex": "1",

"adminStatus": 1,

"bandwidth": 100000,

"cardId": "/ne=110/shelf=1/slot=1/card=1.1",

"cardName": "1-Mainboard",

"comboPortMediaMode": 0,

"comboPortMediaPriority": "0",

"configDuplex": -1,

"configSpeed": -1,

"duplexOperateStatus": "3",

"ethCfgPortType": 0,

"flowControlRecv": 0,

"flowControlSend": 0,

"forceTransmitEnable": 2,

"ifAlias": "",

"ifPortPHYAlsEnbale": 2,
"indexInMib":
"16.104.117.110.100.114.101.100.103.105.103.101.49.47.49.47.49",

"instance":
"16.104.117.110.100.114.101.100.103.105.103.101.49.47.49.47.49",

"ipAddressUnnumbered": "",

"jumboFrame": 10000,

"l2vpnInterfaceFaultAction": 0,

"macAddress": "a8:6d:5f:72:46:cf",

"mauIndex": "[272900096.1]",

"mauNum": 1,

"mtu": 1500,

"neId": 110,

"operStatus": 1,

"portDesc": "",

"portFixName": "hundredgige1/1/1",

"portId": "/ne=110/shelf=1/slot=1/card=1.1/port=1#portType=197",

"portIdentifier": "272900096",

"portIndex": 1,

"portLayerMode": 2,

"portLocation": 0,

"portName": "hundredgige1/1/1",
"portSlot": 1,

"portSubIndex": -1,

"portTypeId": 197,

"portWorkingMode": -1,

"rateOperateStatus": "10",

"tpId": "1",

"trunkAllowVlanList": "",

"trunkNativeVlan": "0",

"trunkUntagVlanList": "",

"userLabel": "hundredgige1/1/1",

"vibrationSuppressPeriod": 0,

"vpnBindingMode": 2,

"vrfName": ""

...

GET Port Ingress Speed Limit of NE

Request Method

GET
Request URL

tiap_ems_north/tiap_ems_basic_mgt/v20/rate_limit_if_ingress

Request Parameters

- Authentication-Token:Token
- neId:NE ID from GET ALL NEs interface
- page:
- start:
- limit:

Response Parameters

key Type Description

Response Example

"code": 0,

"total": 1,

"data": [

"instance": "272900096",

"neId": 110,
"portIndexInMib": "272900096",

"portName": "hundredgige1/1/1",

"rateLimitIfIngressCbs": 1250,

"rateLimitIfIngressCbsOper": 1250,

"rateLimitIfIngressCir": 10000,

"rateLimitIfIngressCirOper": 10000,

"rateLimitIfIngressPbs": 1,

"rateLimitIfIngressPbsOper": 0,

"rateLimitIfIngressPir": 0,

"rateLimitIfIngressPirOper": 0,

"rid": 2

...

GET Port Ingress Speed Limit of NE

Request Method

GET

Request URL

tiap_ems_north/tiap_ems_basic_mgt/v20/rate_limit_if_egress
Request Parameters

- Authentication-Token:Token
- neId:NE ID from GET ALL NEs interface
- page:
- start:
- limit:

Response Parameters

key Type Description

Response Example

"code": 0,

"total": 1,

"data": [

"instance": "272900096",

"neId": 110,

"portIndexInMib": "272900096",
"portName": "hundredgige1/1/1",

"rateLimitIfEgressCbs": 25000,

"rateLimitIfEgressCbsOper": 25001,

"rateLimitIfEgressCir": 200000,

"rateLimitIfEgressCirOper": 200000,

"rateLimitIfEgressPbs": 1,

"rateLimitIfEgressPbsOper": 0,

"rateLimitIfEgressPir": 0,

"rateLimitIfEgressPirOper": 0,

"rid": 1

...

You might also like