Get Ports for Service Type

GET a list of ports that support LAG

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

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 2,
  "totalRows": 2,
  "data": [
    {
      "id": "2951-c6a376bb-4f2b-4c3f-9baf-ca57bee75d4b",
      "appId": null,
      "operationalState": "DOWN",
      "adminState": "UP",
      "neDeploymentState": "DEPLOYED",
      "externalIds": [
        {
          "context": "SAM",
          "location": [
            "135.121.158.6"
          ],
          "id": "network:22.22.22.22:lag:interface-1"
        }
      ],
      "neId": "1622-0926d123-7489-4162-88bc-c4ada81c22d6",
      "neName": "B-22.22.22.22",
      "name": "Lag 1",
      "portType": "EthernetCsmacd",
      "role": "NNI",
      "portSpeed": 0,
      "availableIngressBandwidth": 0,
      "availableEgressBandwidth": 0,
      "portCapability": {
        "odu": false,
        "vctypeCesopsnCas": null,
        "ycable": null,
        "vctypeCesopsn": null,
        "opsb": null,
        "vctypeSatopT1": null,
        "opsa": null,
        "l3vpn": false,
        "vctypeSatopE1": null,
        "och": false,
        "lag": true,
        "physicalLink": false,
        "elan": false,
        "eline": false,
        "cline": false
      },
      "description": null,
      "ethernet": {
        "encapType": "Null",
        "lldpConfiguration": null,
        "lldpRemotePeers": null,
        "lag": {
          "lagId": 1,
          "lagMembers": []
        }
      },
      "tdm": null,
      "interfaceId": 1342177281,
      "optics": null,
      "@class": "com.alu.wsc.api.generated.v3.Port"
    },
    {
      "id": "3533-a1b3bcfd-e100-46f9-8def-1fdefc7f897a",
      "appId": null,
      "operationalState": "DOWN",
      "adminState": "UP",
      "neDeploymentState": "DEPLOYED",
      "externalIds": [
        {
          "context": "SAM",
          "location": [
            "135.121.158.6"
          ],
          "id": "network:33.33.33.33:lag:interface-1"
        }
      ],
      "neId": "1625-d7d14794-b10d-4338-af88-ea876c02b2b5",
      "neName": "C-33.33.33.33",
      "name": "Lag 1",
      "portType": "EthernetCsmacd",
      "role": "NNI",
      "portSpeed": 0,
      "availableIngressBandwidth": 0,
      "availableEgressBandwidth": 0,
      "portCapability": {
        "odu": false,
        "vctypeCesopsnCas": null,
        "ycable": null,
        "vctypeCesopsn": null,
        "opsb": null,
        "vctypeSatopT1": null,
        "opsa": null,
        "l3vpn": false,
        "vctypeSatopE1": null,
        "och": false,
        "lag": true,
        "physicalLink": false,
        "elan": false,
        "eline": false,
        "cline": false
      },
      "description": null,
      "ethernet": {
        "encapType": "Null",
        "lldpConfiguration": null,
        "lldpRemotePeers": null,
        "lag": {
          "lagId": 1,
          "lagMembers": []
        }
      },
      "tdm": null,
      "interfaceId": 1342177281,
      "optics": null,
      "@class": "com.alu.wsc.api.generated.v3.Port"
    }
  ]
}