Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-140

Research API filter/follow using manifest.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Inventory
    • None
    • False
    • False

      R&D of supporting framework.

      Explore the option of expanding the Inventory API semantic to allow more precise requests. Ideally, the UI should specify the attributes it needs, as well as the relationships to follow. The following example could be the payload sent by the UI to retrieve a VM:

      {
        "attributes": [
          "name",
          "cpu",
          "memory",
          "host.name",
          "host.cluster.name",
          "host.cluster.datacenter.name"
        ]
      }
      

      The backend would understand that it needs to follow the host, then cluster, then datacenter relationships and then only return the names.

              jortel Jeff Ortel
              fdupont@redhat.com Fabien Dupont
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: