Uploaded image for project: 'Optimization Framework'
  1. Optimization Framework
  2. OPTFRA-335

Making flavors an optional field in HAS candidate object

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Casablanca Release
    • Beijing Release
    • None

      F\or each cloud candidate or VNF, Conductor now fetches a field called 'flavors' from A&AI (the code below).

      def _get_flavors(self, cloud_owner, cloud_region_id):
      '''
      Fetch all flavors of a given cloud regions specified using

      {cloud-owner}

      /

      {cloud-region-id}

      composite key
      :return flavors_info json object which list of flavor nodes and
      its children - HPACapabilities:
      '''
      LOG.debug("Fetch all flavors and its child nodes HPACapabilities")
      flavor_path = constants.FLAVORS_URI % (cloud_owner, cloud_region_id)
      path = self._aai_versioned_path(flavor_path)
      ...

      However, AAI seems to take a lot of time to respond to the query when the information isn't available. Hence, the data component would take much more time (30 seconds vs 3 minutes) to initialize and translate a plan or order.

            dileep.ranganathan dileep.ranganathan
            snarayanan snarayanan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: