Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SDNC - OOF:

Calculate Route

Type : POST 

URL : /v1/route

Payload: 

{

  "srcPort":

  {

  "src-access-topology-id": "Topo113",

  "src-access-client-id": "clientU12",

  "src-access-provider-id": "VDF1234",

  "src-access-node-id": "Node123",

  "src-access-ltp-id": "1345"

  },

  "dstPort":

  {

  "dst-access-topology-id": "Topo3421",

  "dst-access-client-id": "clientD123",

  "dst-access-provider-id": "VDF3214",

  "dst-access-node-id": "node323",

  "dst-access-ltp-id": "3452"

  }

}


Normal response codes: 
-200, 
-2XX
Error response codes: 
-badRequest(400), 
-unauthorized (401), 
-internalServerError(500)'


Response: 

{

   "VPNs":[

     {

       "access-topology-id": ”Topo123”,

        "access-client-id": “client-123”,

        "access-provider-id": “provider-123”,

        "access-node-id": “node-123”,

        "src-access-ltp-id": “ltp-src-123”,

        "dst-access-ltp-id": “ltp-dst-123”

     }

         ]

}


OOF- AAI for retrieving topology information: 


1. Get the logical links as “operation-status = Up”

Method: GET URL: https://<AAI host>:<AAI port>/aai/v14/network/logical-links?operation-status="Up"

returns logical-links []

2. query for the name of the p-interface from the logical link.

logical-links [].get[0].relationship-list[0].relationship.relationship-key: "p-interface.interface-name"."relationship-value": "some name”

3. Search for the name of the pnffrom the urlof the p-interface and compare with the request from SDNC

4. Fill the corresponding ingress and e-gressof the TP info and send the response back to SDNC









  • No labels