• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None

      • supports the Create VNF AAI (vnf_id, data)
        • resource = /network/generic-vnfs/generic-vnf/{vnf_id}  
        • data = {
              "vnf-id": nf_inst_id,
              "vnf-name": vnf_inst_name,
              "vnf-type": "vnf-type-test111",
              "service-id": ns_inst_id,
              "in-maint": True,
              "is-closed-loop-disabled": False,
              "relationship-list": {
                  "relationship": [
                 
          Unknown macro: {            "related-to"}

                  ]
              }
          }

        • call AAI (resource, "PUT" data)
      • supports the Query VNF AAI (vnf_id)
        • resource = /network/generic-vnfs/generic-vnf/{vnf_id}?depth=all
        • call AAI (resource, "GET")
      • supports the Delete VNF AAI (vnf_id, resource_version="")
        • resource = network/generic-vnfs/generic-vnf/{vnf_id}
        • if resource_version is not empty, resource_version = resource + "?resource-version={resource_version}
        • call AAI (resource, "DELETE")

            byungwoojun Byung-Woo Jun
            byungwoojun Byung-Woo Jun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: