XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. samuelolavo
    3. Topics
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 9
    • Groups 0

    Topics

    • S

      Clarification on Creating ResourceSet via xo-cli

      Watching Ignoring Scheduled Pinned Locked Moved REST API
      4
      0 Votes
      4 Posts
      147 Views
      julien-fJ
      @samuelolavo Shell only handles string values, to pass other types to xo-cli you need to encode them in JSON and use the json: prefix: xo-cli resourceSet.create name=test-resource subjects=json:'["d301d9ea-9e22-4480-bf40-111111111111"]' objects=json:'["8fb06362-d8fe-598b-f819-11111111111111"]' shareByDefault=json:true
    • S

      xo-cli user.create issues

      Watching Ignoring Scheduled Pinned Locked Moved REST API
      7
      0 Votes
      7 Posts
      268 Views
      julien-fJ
      @samuelolavo No, users management and self service are not in the REST API yet.
    • S

      Inquiry about Obtaining VM Disk Space Usage via XO API or XO-CLI

      Watching Ignoring Scheduled Pinned Locked Moved REST API
      5
      0 Votes
      5 Posts
      351 Views
      julien-fJ
      First of all, take a look at the general XO REST API documentation. Then, take a look at xo-cli --help which explain how to use it to interact with the REST API. You can list all VDIs at /rest/v0/vdis, snapshots are available at /rest/v0/vdi-snapshots. You also have the ability to list the VDIs attached to a specific VM at /rest/v0/vms/:id/vdis.
    • S

      Accessing Resource Set and ACLs Information via API

      Watching Ignoring Scheduled Pinned Locked Moved REST API
      3
      0 Votes
      3 Posts
      205 Views
      julien-fJ
      @samuelolavo Not exposed in the REST API yet. You can use the legacy API for this: xo-cli acl.get xo-cli resourceSet.getAll