Get Ports

Get a list of ports that support CLINE services.

GET https://<NSP Server>:8543/sdn/api/v3/ports/servicetype/CLINE

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 2,
  "totalRows": 2,
  "data": [
    {
      "id": "2978-c319a277-c2ef-4fd4-93b7-ece07c271481",
      "appId": null,
      "operationalState": "DOWN",
      "adminState": "UP",
      "neDeploymentState": "DEPLOYED",
      "externalIds": [
        {
          "context": "SAM",
          "location": [
            "135.121.158.6"
          ],
          "id": "network:33.33.33.33:shelf-1:cardSlot-3:card:daughterCardSlot-1:daughterCard:port-1:sts1-1:ds3e3-1:ds1e1-1@SVC"
        }
      ],
      "neId": "1625-d7d14794-b10d-4338-af88-ea876c02b2b5",
      "neName": "C-33.33.33.33",
      "name": "Channel 3/1/1.ds1-1.1",
      "portType": "Ds1",
      "role": "UNI",
      "portSpeed": 1544,
      "availableIngressBandwidth": 0,
      "availableEgressBandwidth": 0,
      "portCapability": {
        "odu": false,
        "vctypeCesopsnCas": false,
        "ycable": null,
        "vctypeCesopsn": false,
        "opsb": null,
        "vctypeSatopT1": true,
        "opsa": null,
        "l3vpn": false,
        "vctypeSatopE1": false,
        "och": false,
        "lag": false,
        "physicalLink": false,
        "elan": false,
        "eline": false,
        "cline": true
      },
      "description": null,
      "ethernet": null,
      "tdm": {
        "channelFraming": "ds1-unframed",
        "signalMode": "SIGNAL_MODE_NONE",
        "ds0ChannelGroups": [
          {
            "name": "Channel 3/1/1.ds0Grp-1.1.1",
            "id": "2980-b68883ad-4e86-43bc-8376-47517d6115be",
            "adminState": "UP",
            "operationalState": "DOWN",
            "encapType": "CEM",
            "timeSlots": "1-24"
          }
        ]
      },
      "interfaceId": 639664195,
      "optics": null,
      "@class": "com.alu.wsc.api.generated.v3.Port"
    },
    {
      "id": "3075-74b9e163-4b66-4ffc-b73a-b492deef7fbf",
      "appId": null,
      "operationalState": "DOWN",
      "adminState": "UP",
      "neDeploymentState": "DEPLOYED",
      "externalIds": [
        {
          "context": "SAM",
          "location": [
            "135.121.158.6"
          ],
          "id": "network:22.22.22.22:shelf-1:cardSlot-3:card:daughterCardSlot-1:daughterCard:port-1:sts1-1:ds3e3-1:ds1e1-1@SVC"
        }
      ],
      "neId": "1622-0926d123-7489-4162-88bc-c4ada81c22d6",
      "neName": "B-22.22.22.22",
      "name": "Channel 3/1/1.ds1-1.1",
      "portType": "Ds1",
      "role": "UNI",
      "portSpeed": 1544,
      "availableIngressBandwidth": 0,
      "availableEgressBandwidth": 0,
      "portCapability": {
        "odu": false,
        "vctypeCesopsnCas": false,
        "ycable": null,
        "vctypeCesopsn": false,
        "opsb": null,
        "vctypeSatopT1": true,
        "opsa": null,
        "l3vpn": false,
        "vctypeSatopE1": false,
        "och": false,
        "lag": false,
        "physicalLink": false,
        "elan": false,
        "eline": false,
        "cline": true
      },
      "description": null,
      "ethernet": null,
      "tdm": {
        "channelFraming": "ds1-unframed",
        "signalMode": "SIGNAL_MODE_NONE",
        "ds0ChannelGroups": [
          {
            "name": "Channel 3/1/1.ds0Grp-1.1.1",
            "id": "3077-d7eb64da-fa89-4541-be81-dbffc9fb2db0",
            "adminState": "UP",
            "operationalState": "DOWN",
            "encapType": "CEM",
            "timeSlots": "1-24"
          }
        ]
      },
      "interfaceId": 639664195,
      "optics": null,
      "@class": "com.alu.wsc.api.generated.v3.Port"
    }
  ]
}