Assign Steering Parameter Tunnel BA

Assign a steering parameter to a service tunnel directed from node B to node A.

PUT https://<NSP Server>:8543/sdn/api/v4/services/tunnel/4098-73212e52-3776-4cda-bf16-0a442b71a087

Request:

{
  "data": {
    "steeringParameters": [
      {
        "name": {
          "string": "nodeAtonodeB"
        }
      }
    ]
  }
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 1,
  "totalRows": 1,
  "data": {
    "id": "4098-73212e52-3776-4cda-bf16-0a442b71a087",
    "appId": null,
    "operationalState": "UP",
    "adminState": "UP",
    "neDeploymentState": "DEPLOYED",
    "externalIds": [
      {
        "context": "NFM_P",
        "location": [
          "135.121.156.100"
        ],
        "id": "serviceTunnel:from-22.22.22.22-id-2"
      }
    ],
    "name": "22_11_1506488367557",
    "serviceType": "TUNNEL",
    "tenantIds": [
      "0"
    ],
    "objective": "COST",
    "bidirectional": "ANY_REVERSE_ROUTE",
    "bw": 50000,
    "reverseBW": null,
    "maxLatency": 0,
    "maxCost": 0,
    "maxHops": 0,
    "lifeCycle": {
      "phase": "Deployment",
      "state": "Deployed",
      "reason": "Service tunnel resynched from NFM-P"
    },
    "templateId": null,
    "tunnelSelectionId": null,
    "pathProfileId": null,
    "groupId": null,
    "endpoints": [
      {
        "id": null,
        "appId": null,
        "operationalState": null,
        "adminState": null,
        "neDeploymentState": null,
        "externalIds": null,
        "neId": "1526-ff2a9aed-27be-4870-9020-a0c75432ff1f",
        "neName": "A-11.11.11.11",
        "portId": null,
        "portName": null,
        "serviceId": "4098-73212e52-3776-4cda-bf16-0a442b71a087",
        "name": "22_11_1506488367557",
        "innerTag": null,
        "outerTag": null,
        "siteServiceQosProfile": {
          "qosProfile": 0,
          "ingressOverrideQueues": null,
          "egressOverrideQueues": null,
          "ingressParam": null,
          "egressParam": null
        },
        "isHub": null,
        "aggregateBw": 0,
        "@class": "com.alu.wsc.api.generated.v4.L2ServiceEndpoint"
      },
      {
        "id": null,
        "appId": null,
        "operationalState": null,
        "adminState": null,
        "neDeploymentState": null,
        "externalIds": null,
        "neId": "1536-65f5928f-863c-458f-ad90-487f24648993",
        "neName": "B-22.22.22.22",
        "portId": null,
        "portName": null,
        "serviceId": "4098-73212e52-3776-4cda-bf16-0a442b71a087",
        "name": "22_11_1506488367557",
        "innerTag": null,
        "outerTag": null,
        "siteServiceQosProfile": {
          "qosProfile": 0,
          "ingressOverrideQueues": null,
          "egressOverrideQueues": null,
          "ingressParam": null,
          "egressParam": null
        },
        "isHub": null,
        "aggregateBw": 50000,
        "@class": "com.alu.wsc.api.generated.v4.L2ServiceEndpoint"
      }
    ],
    "sourceNodeId": {
      "ipv6Address": null,
      "ipv4Address": {
        "string": "22.22.22.22"
      }
    },
    "destinationNodeId": {
      "ipv6Address": null,
      "ipv4Address": {
        "string": "11.11.11.11"
      }
    },
    "sourceEndpoints": [
      {
        "nodeId": "1536-65f5928f-863c-458f-ad90-487f24648993",
        "portId": "2634-f886f20b-2c98-4f0c-8918-08edf68cf961"
      },
      {
        "nodeId": "1526-ff2a9aed-27be-4870-9020-a0c75432ff1f",
        "portId": "2126-df2a0378-a459-430d-ae35-83518281c079"
      }
    ],
    "destinationEndpoints": [
      {
        "nodeId": "1536-65f5928f-863c-458f-ad90-487f24648993",
        "portId": "2634-f886f20b-2c98-4f0c-8918-08edf68cf961"
      },
      {
        "nodeId": "1526-ff2a9aed-27be-4870-9020-a0c75432ff1f",
        "portId": "2126-df2a0378-a459-430d-ae35-83518281c079"
      }
    ],
    "underlyingTransport": "MPLS",
    "steeringParameters": [
      "nodeAtonodeB"
    ],
    "ownership": {
      "consumable": true,
      "modifiable": true,
      "deletable": true
    },
    "availableBw": 0,
    "description": null,
    "latency": 0,
    "cost": 1000,
    "hops": 1,
    "@class": "com.alu.wsc.api.generated.v4.BaseService"
  }
}