You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

To validate an xApp descriptor, you can utilize either the CLI tool or the REST APIs of xapp onboarder.


Prerequisites

  • A working RIC instance. Please refer to "RIC Installation Guide" for details.
  • xApp descriptor JSON file
  • Schema JSON file


Testing using xapp-onboarder CLI tools

  1. Find out the ingress IP for your RIC instance. If you deploy RIC using it/dep deployment script, it should be your host(VM)'s IP.
  2. Install xapp-onboarder CLI

    git clone "https://gerrit.o-ran-sc.org/r/it/dev"
    cd dev/xapp_onboarder
    pip3 install ./
  3. Set up the environment variables for CLI connection

    export CHART_REPO_URL="http://<INGRESS_IP>:32080/helmrepo"
    
    # It should return True if your CLI tool is properly connected to the RIC instance
    cli health
  4. Onboard your xApp.

    # Make sure that you have the xapp descriptor config file and the schema file at your local file system
    cli onboard CONFIG_FILE_PATH SHCEMA_FILE_PATH


  • No labels