Versions Compared

Key

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

Disclaimer: We are using the HPA & Cloud Agnostic Intent - R3 Test Plan as reference. The postman given here are only for reference. Please make necessary edits according to the test plan.

...

If Multicloud team has data for creating the Cloud-region and doesn't have the HPA, then please update the existing data with the flavors with HPA.

  1. Import the postman collection collection committed to the repository: https://gerrit.onap.org/r/gitweb?p=aai%2Ftest-config.git;hb=refs%2Fchanges%2F88%2F86588%2F1;f=testsuite%2Fdatacollections%2FOOF-HPA-Cloud-Agnostic-Intent-CASABLANCA.postman_collection.json (original version attached to wiki:  CASABLANCA_AAI_postman.json )
  2. To add/remove HPA Capabilities edit the flavors section in the body of PUT Cloud-Region{x}
  3. Once all the necessary Use postman to add the complex and cloud regions in the order specified below
  4. Use the GET requests to verify the data.


...

Note: For testing purposes, policies go hand in hand with the available HPA capabilities. This means for a matching homing solution to be identified, we have to inject policies that is a subset of available HPA capabilities. 

/wiki/spaces/Login to Policy GUI by using the pap port https://${k8s_node_ip}:30219/onap/login.htm  credentials are demo/demo

Wiki reference for Policy GUI - /wiki/spaces/DW/pages/16279393. The models in this wiki might not be the latest. Please refer below for the OOF Policy models.

Create Policy model

Using the policy GUI upload all the policy models in the portal using either Method 1 or Method 2.OOF Policy models including HPA

Method 1 (Import CSV)

Shortcurt to upload model - Not tested

  1. Select Policy→Dictionary from left panel
  2. Click on the 
    Status
    colourBlue
    titleImport Dictionary's
     button and use the OOFPolicyDictionary_For_Import.csv to import models. 

Image Added

Method 2 (Manual upload)

Manual Method to Upload models by creating dictionary as per the below screen shots.

OOF Policy models including HPA available here OOF Policy Tosca Models

  1. Select Policy→Dictionary from left panel
  2. Select MicroService Policy from Policy Type Dictionary drop down
  3. Select MicroService Models from Select Dictionary drop down
  4. Click on the
    Status
    colourGreen
    titleCreate
     button.
  5. Creating menu is self explanatory, please give same version for all the models imported together.

Image Added

Create and Push Policy

...