vatesfr / issue-xapi-vm-create

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

> git clone https://github.com/vatesfr/issue-xapi-vm-create

> cd issue-xapi-vm-create

> npm install

> ./dist/index.js <Xen Server URL> <username>
Password: *******
VM successfully created
{ uuid: '7e8bc15d-b869-0c02-c58d-88b0eafc75c7',
  allowed_operations:
   [ 'changing_dynamic_range',
     'changing_shadow_memory',
     'changing_static_range',
     'make_into_template',
     'migrate_send',
     'destroy',
     'export',
     'start_on',
     'start',
     'clone',
     'copy',
     'snapshot' ],
  current_operations: {},
  power_state: 'Halted',
  name_label: '',
  name_description: '',
  user_version: 1,
  is_a_template: false,
  suspend_VDI: 'OpaqueRef:NULL',
  resident_on: 'OpaqueRef:NULL',
  affinity: 'OpaqueRef:NULL',
  memory_overhead: 36700160,
  memory_target: 0,
  memory_static_max: 4294967296,
  memory_dynamic_max: 4294967296,
  memory_dynamic_min: 4294967296,
  memory_static_min: 134217728,
  VCPUs_params: {},
  VCPUs_max: 1,
  VCPUs_at_startup: 1,
  actions_after_shutdown: 'destroy',
  actions_after_reboot: 'restart',
  actions_after_crash: 'restart',
  consoles: [],
  VIFs: [],
  VBDs: [],
  crash_dumps: [],
  VTPMs: [],
  PV_bootloader: '',
  PV_kernel: '',
  PV_ramdisk: '',
  PV_args: '',
  PV_bootloader_args: '',
  PV_legacy_args: '',
  HVM_boot_policy: 'BIOS order',
  HVM_boot_params: { orders: 'cdn' },
  HVM_shadow_multiplier: 1,
  platform: {},
  PCI_bus: '',
  other_config: { mac_seed: '94fa3d34-ca83-35d3-0c4b-f60af53c40fc' },
  domid: -1,
  domarch: '',
  last_boot_CPU_flags: {},
  is_control_domain: false,
  metrics: 'OpaqueRef:d68ae8c4-60e9-ca85-b962-51acef4fb53c',
  guest_metrics: 'OpaqueRef:NULL',
  last_booted_record: '',
  recommendations: '',
  xenstore_data: {},
  ha_always_run: false,
  ha_restart_priority: '',
  is_a_snapshot: false,
  snapshot_of: 'OpaqueRef:NULL',
  snapshots: [],
  snapshot_time: '19700101T00:00:00Z',
  transportable_snapshot_id: '',
  blobs: {},
  tags: [],
  blocked_operations: {},
  snapshot_info: {},
  snapshot_metadata: '',
  parent: 'OpaqueRef:NULL',
  children: [],
  bios_strings: {},
  protection_policy: 'OpaqueRef:NULL',
  is_snapshot_from_vmpp: false,
  appliance: 'OpaqueRef:NULL',
  start_delay: 0,
  shutdown_delay: 0,
  order: 0,
  VGPUs: [],
  attached_PCIs: [],
  suspend_SR: 'OpaqueRef:NULL',
  version: 0,
  generation_id: '0:0',
  hardware_platform_version: 0,
  has_vendor_device: false }
VM successfully destroyed

About


Languages

Language:JavaScript 100.0%