Versions Compared

Key

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

...

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


URL: https://<AAI host>:<AAI port>/aai/v14/network/network-resources/network-resource/{networkId}/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{tp-idifName}
Method: PUTPATCH
Request Body:
{
    "interfaceoperational-namestatus":"{tp-id}",
    "network-ref" : "some network", "some status"
}
Code Block
languagetext
titleUpdate Logic-link Status
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network/logical-links/logical-link/{linkName}
Method: PATCH
Request Body:
{
    "transparentoperational-status" : "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"
                    ]
          }
        ]
      }status"
}

Service Instance ID Look Up

...