Versions Compared

Key

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

In ONAP community, Using ansible server to configure VNF is more popular now. As of Casablanca release, APPC has provided one single ansible server configuration functionality. In Dublin, APPC will allow multiple ansible server end points for routing life cycle command (see LCM API for more details). In order to support these new functions. APPC will be enhancing in several adapators, database as well as CDT GUI. This page describes how to implement, how to use this feature, and some sample requests/response will be shown.

(To Be Continued...)

Design

Database enhancement:

...

Code Block
languagejs
titleSample Request to Save
{
  "input": {
    "design-request": {
      "request-id":"704632839946",
      "action": "uploadArtifact",
      "payload":
          "{\"userID\": \"admin\",\"vnf-type\" : \"NULL
            \",\"action\" : \"NULL\",\"artifact-name\" :
            \"reference_AllAction_vnfc2_0.0.1V.json\",\"artifact-type\"
            : \"APPC-CONFIG\",\"artifact-version\" :
           \"0.1\",\"artifact-contents\": "<content>”
    }
  }
}


Code Block

...

language

...

js

...

titleSample request to retrieve:
{

...


  "input":

...

 {
    "design-request":

...

 {
      "request-id": "704632839946",

...


      "action": "getArtifact",

...


      "payload": 
          "{\"vnf-type\":\"NULL\",\"vnfc-type\":\"null\",\"protocol\":\"\",\"incart\":\"N\",\"action\":\"NULL
            \",\"artifact-name\":\"reference_AllAction_vnfc2_0.0.1V.json\",\"artifact-type\":\"APPC-CONFIG\",\"userID\":\"admin\"}"

...


    }
  }
}


  }}

(To Be Continued...)



CDT GUI enhancement:

Runtime enhancement:

...