Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
titleCreate/Query termination point
collapsetrue
For updating TP status.


URL: https://<AAI host>:<AAI port>/aai/v14/network/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{tp-id}
Method: PUT
Request Body:
{
    "interface-name":"{tp-id}",
    "network-ref" : "some network",
    "transparent" : "some value",
    "speed-value" : "eth bandwidth",
    "operational-status" : "some status",
    "relationship-list" : { 
      "relationship" : [
          {
                "related-to" : "vpn-binding",
                "related-link" : "url of vpn-binding",
                "relationship-data" : [
                    "relationship-key" : "vpn-binding.vpn-id",
                    "relationship-value" : "some-id"
                    ]
          }
        ]
      }
}


For query by TP & Status:


URL: https://<AAI host>:<AAI port>/aai/v14/network/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{tp-id}
Method: GET


Request Body :
{
}


Response body:
{
    "interface-name":"{tp-id}",
    "network-ref" : "some network",
    "transparent" : "some value",
    "speed-value" : "eth bandwidth",
    "operational-status" : "some status",
    "relationship-list" : { 
      "relationship" : [
          {
                "related-to" : "vpn-binding",
                "related-link" : "url of vpn-binding",
                "relationship-data" : [
                    "relationship-key" : "vpn-binding.vpn-id",
                    "relationship-value" : "some-id"
                    ]
          }
        ]
      }
}
Code Block
languagetext
firstlineQuery for network resources
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network/network-resources?network-id={networkId}&provide-id={providerId}
Method: GET
Response Body:
{
   "results" :	[
       "network-resource":{
            "network-id" : "{networkId}",
            "provider-id" : "{providerId}",
            "pnfs":{....},
            "relationship-list":{
                  "relationship" : [
                     {
                        "related-to" : "vpn-binding",
                        "related-link" : "url of vpn-binding",
                        "relationship-data" : [
                             "relationship-key" : "vpn-binding.vpn-id",
                             "relationship-value" : "some-id"
                         ]
                     }
                 ]               
            }
       }
	]
}
Code Block
languagetext
titleQuery service instances for CCVPN
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/business/customers/customer/{global-custoner-id}/service-subscriptions/service-subscription/{service-type}/service-instances?service-instance-id={serviceId}
Method: GET
Request Body:
{
}
Response Body:
{


}

...