Revision ebeb600f doc/rapi.rst

b/doc/rapi.rst
414 414
  File storage driver.
415 415
``iallocator`` (string)
416 416
  Instance allocator name.
417
``source_handshake``
418
  Signed handshake from source (remote import only).
419
``source_x509_ca`` (string)
420
  Source X509 CA in PEM format (remote import only).
421
``source_instance_name`` (string)
422
  Source instance name (remote import only).
417 423
``hypervisor`` (string)
418 424
  Hypervisor name.
419 425
``hvparams`` (dict)
......
579 585
Takes no parameters.
580 586

  
581 587

  
588
``/2/instances/[instance_name]/prepare-export``
589
+++++++++++++++++++++++++++++++++++++++++++++++++
590

  
591
Prepares an export of an instance.
592

  
593
It supports the following commands: ``PUT``.
594

  
595
``PUT``
596
~~~~~~~
597

  
598
Takes one parameter, ``mode``, for the export mode. Returns a job ID.
599

  
600

  
601
``/2/instances/[instance_name]/export``
602
+++++++++++++++++++++++++++++++++++++++++++++++++
603

  
604
Exports an instance.
605

  
606
It supports the following commands: ``PUT``.
607

  
608
``PUT``
609
~~~~~~~
610

  
611
Returns a job ID.
612

  
613
Body parameters:
614

  
615
``mode`` (string)
616
  Export mode.
617
``destination`` (required)
618
  Destination information, depends on export mode.
619
``shutdown`` (bool, required)
620
  Whether to shutdown instance before export.
621
``remove_instance`` (bool)
622
  Whether to remove instance after export.
623
``x509_key_name``
624
  Name of X509 key (remote export only).
625
``destination_x509_ca``
626
  Destination X509 CA (remote export only).
627

  
628

  
582 629
``/2/instances/[instance_name]/tags``
583 630
+++++++++++++++++++++++++++++++++++++
584 631

  

Also available in: Unified diff