zoukankan      html  css  js  c++  java
  • 虚拟机快照与磁盘快照

    虚拟机快照

    如下是请求参数格式:
    {"action":{"perform":"snapshot_create","params":{"snapshot_name":"test-snapshot-01"}},"csrftoken":"342fa4820296edeb42847f7919a7f3f2"}:

    磁盘快照

    如下是请求参数格式:
    {"action":{"perform":"saveas","params":{"disk_id":"1","image_name":"test-001","type":"","hot":true,"clonetemplate":false}},"csrftoken":"342fa4820296edeb42847f7919a7f3f2"}:


    {"action":{"perform":"saveas","params":{"disk_id":"1","image_name":"test-disk-snapshot-01","type":"","hot":true,"clonetemplate":false}},"csrftoken":"342fa4820296edeb42847f7919a7f3f2"}:

     -------------------------------错误的消息格式-----------------------------------------------------------------

    { id: -1,content: [VirtualMachineSaveDisk] Error allocating a new image. NAME is already taken by IMAGE 265.,
    creator: DNT,date: 2014-09-18,time: 01:54:27,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] Error allocating a new image. NAME is already taken by IMAGE 265.,
    creator: DNT,date: 2014-09-18,time: 01:54:37,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] Error allocating a new image. NAME is already taken by IMAGE 265.,
    creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] VM has to be RUNNING, POWEROFF or SUSPENDED to snapshot disks.,
    creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] VM has to be RUNNING, POWEROFF or SUSPENDED to snapshot disks.,
    creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] VM has to be RUNNING, POWEROFF or SUSPENDED to snapshot disks.,
    creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] VM has to be RUNNING, POWEROFF or SUSPENDED to snapshot disks.,
    creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] Error allocating a new image. NAME is already taken by IMAGE 265.,
    creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] VM has to be RUNNING, POWEROFF or SUSPENDED to snapshot disks.,
    creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] Error allocating a new image. NAME is already taken by IMAGE 265.
    ,creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] Error allocating a new image. NAME is already taken by IMAGE 265.
    ,creator: DNT,date: 2014-09-18,time: 01:55:11,type: ERROR_MSG },
    { id: -1,content: [VirtualMachineSaveDisk] Error allocating a new image. NAME is already taken by IMAGE 265.
    ,creator: DNT,date: 2014-09-18,time: 02:01:29,type: ERROR_MSG }

  • 相关阅读:
    python os 用法(转)
    caffe for python
    day20-Python运维开发基础(装饰器 / 类中的方法 / 类的方法变属性)
    day19-Python运维开发基础(类的魔术方法)
    day18-Python运维开发基础(单继承 / 多继承 / 菱形继承、类的多态)
    day17-Python运维开发基础(类的封装 / 对象和类的相关操作、构造方法)
    day16-Python运维开发基础(os / os.path / shutil模块)
    Linux 创建网卡子接口
    day15-Python运维开发基础(json序列化模块、random / time / zipfile / OS模块函数)
    day14-Python运维开发基础(内置函数、pickle序列化模块、math数学模块)
  • 原文地址:https://www.cnblogs.com/heidsoft/p/3979398.html
Copyright © 2011-2022 走看看