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

    slavavrn

    @slavavrn

    1
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    slavavrn Unfollow Follow

    Best posts made by slavavrn

    • RE: How to revert VM to snapshot

      Re: Automation script to revert and save snapshot

      Thanks.

      Can I be sure that all API capabilities are reflected in Swagger?

      So far, I've only found one method: creating a scheduled job, which can be launched via the API.
      curl -k -X POST -b 'authenticationToken=<my-token-from-user-authentication-tokens>' 'https://<xen-local>/rest/v0/schedules/<schedule-id>/actions/run'
      But that's a bit of a complicated process.

      posted in REST API
      S
      slavavrn

    Latest posts made by slavavrn

    • RE: How to revert VM to snapshot

      Re: Automation script to revert and save snapshot

      Thanks.

      Can I be sure that all API capabilities are reflected in Swagger?

      So far, I've only found one method: creating a scheduled job, which can be launched via the API.
      curl -k -X POST -b 'authenticationToken=<my-token-from-user-authentication-tokens>' 'https://<xen-local>/rest/v0/schedules/<schedule-id>/actions/run'
      But that's a bit of a complicated process.

      posted in REST API
      S
      slavavrn
    • How to revert VM to snapshot

      Re: Automation script to revert and save snapshot

      I have the same question.
      I'm trying
      curl -k -X POST -b 'authenticationToken=<my-token-from-user-authentication-tokens>' 'https://<xen-local>/rest/v0/vm-snapshot/<snapshot-id>/actions'
      and i get
      []
      How do i revert to the snapshot?

      posted in REST API
      S
      slavavrn