One path for doing AAI update is done via the Robot test scripts.  These scripts invoke a python based Heat bridge script, which can be viewed here:  https://github.com/onap/testsuite-heatbridge/tree/master/heatbridge/heatbridge


Another path for doing AAI update was introduced in Dublin.  This is java code built in to the SO VNF adapter for OpenStack - see: https://github.com/onap/so/tree/master/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge

Notes on usage:

  • It (the AAI update via SO code) will fail if the openstack adapter cannot query the Openstack hostname of the pserver where the vservers are located.
  • Observed that SO code expected to find a pserver object in AAI by 'hostname'.  What was present in AAI was present in AAI was a pserver object with ID of <cloud-owner>_<cloud-region>_hostname.  So, it is necessary to ensure that the pserver object is present in AAI for this SO AAI update code to work.


  • No labels