Using AAI in Openlab
AAI has a single instance of ONAP in the "A & AI" project in the windriver lab.
Once you are connected to the openlab via openvpn, use ssh to connect to to the AAI rancher server as user 'ubuntu'
Rancher server IP address is currently 10.12.6.205
$ ssh -i ~/.ssh/onap_key ubuntu@10.12.6.205
Become root:
$ sudo /bin/su
If you want to test out a change to one of AAI's charts, make the change and submit to gerrit.
Cherry pick your change (in this example we're pulling patch set 1 of 47121). If you click "Download" from the gerrit change you want to cherry pick, it will give you a dialog box as below and you can copy it to your clipboard:
$ cd /root/oom
$ git fetch https://gerrit.onap.org/r/oom refs/changes/21/47121/1 && git cherry-pick FETCH_HEAD
Now I have my changes local to rancher, where I can give it a try.
Run the following to get your change applied:
Look at the AAI pods:
You'll see something similar to this if everything came up correctly:
Run a healthdist to check the AAI services
Log into the resources node:
From the resources container you can look at logs to see application status, or send requests via curl to test the API.