[PetiteCloud] API Example run

Aryeh Friedman aryeh.friedman at gmail.com
Sat Mar 1 22:49:09 PST 2014


aryeh at prometheus:~/work/src-petitecloud-aryeh-0.2.6 % petitecloud
src/samples/InstanceMapGetter.json
{
    "commandPath" : ":pc:L0:imap:get",
    "responseData" : [
        {
            "iD" : "8436130205871139864@
\/usr\/local\/etc\/petitecloud\/counters\/instances.cnt at 1",
            "hardwareSpecification" : {
                "name" : "pc-prod",
                "ram" : 2048,
                "cpuCount" : 1,
                "diskSize" : 10,
                "disks" : [
                    "/vms/import/backupInstance"
                ],
                "hypervisor" : "bhyve-freebsd"
            },
            "nicCount" : 1,
            "startOnBoot" : false,
            "status" : {
                "canStart" : false,
                "canBackUp" : true,
                "canClone" : true,
                "isRunning" : false
            }
        },
        {
            "iD" : "8436130205871139864@
\/usr\/local\/etc\/petitecloud\/counters\/instances.cnt at 2",
            "hardwareSpecification" : {
                "name" : "xAMP",
                "ram" : 512,
                "cpuCount" : 1,
                "diskSize" : 10,
                "disks" : [
                    "/vms/import/backupInstance1"
                ],
                "hypervisor" : "bhyve-freebsd"
            },
            "nicCount" : 1,
            "startOnBoot" : false,
            "status" : {
                "canStart" : false,
                "canBackUp" : true,
                "canClone" : true,
                "isRunning" : false
            }
        },
        {
            "iD" : "8436130205871139864@
\/usr\/local\/etc\/petitecloud\/counters\/instances.cnt at 3",
            "hardwareSpecification" : {
                "name" : "com-dev",
                "ram" : 2048,
                "cpuCount" : 1,
                "diskSize" : 10,
                "disks" : [
                    "/vms/import/backupInstance2"
                ],
                "hypervisor" : "bhyve-freebsd"
            },
            "nicCount" : 4,
            "startOnBoot" : false,
            "status" : {
                "canStart" : false,
                "canBackUp" : false,
                "canClone" : false,
                "isRunning" : true
            }
        },
        {
            "iD" : "8436130205871139864@
\/usr\/local\/etc\/petitecloud\/counters\/instances.cnt at 4",
            "hardwareSpecification" : {
                "name" : "pc-dev",
                "ram" : 2048,
                "cpuCount" : 1,
                "diskSize" : 10,
                "disks" : [
                    "/vms/import/backupInstance3"
                ],
                "hypervisor" : "bhyve-freebsd"
            },
            "nicCount" : 1,
            "startOnBoot" : false,
            "status" : {
                "canStart" : false,
                "canBackUp" : true,
                "canClone" : true,
                "isRunning" : false
            }
        },
        {
            "iD" : "7463096898492508119@
\/usr\/local\/etc\/petitecloud\/counters\/instances.cnt at 30",
            "hardwareSpecification" : {
                "name" : "The bride of pc-dev",
                "ram" : 8192,
                "cpuCount" : 3,
                "diskSize" : 30,
                "disks" : [
                    "/vms/pri/d1duqum1ls",
                    "/vms/import/backupInstance"
                ],
                "hypervisor" : "bhyve-freebsd"
            },
            "nicCount" : 1,
            "startOnBoot" : true,
            "status" : {
                "canStart" : false,
                "canBackUp" : false,
                "canClone" : false,
                "isRunning" : true
            }
        },
        {
            "iD" : "4218457870388338068@
\/usr\/local\/etc\/petitecloud\/counters\/instances.cnt at 3",
            "hardwareSpecification" : {
                "name" : "The bride of pc-dev (clone)",
                "ram" : 8192,
                "cpuCount" : 3,
                "diskSize" : 30,
                "disks" : [
                    "/vms/pri/kflq499t5n"
                ],
                "hypervisor" : "bhyve-freebsd"
            },
            "nicCount" : 1,
            "startOnBoot" : false,
            "status" : {
                "canStart" : false,
                "canBackUp" : true,
                "canClone" : true,
                "isRunning" : false
            }
        }
    ]
}

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.petitecloud.nyclocal.net/pipermail/petitecloud-general-petitecloud.nyclocal.net/attachments/20140302/b94233a8/attachment-0002.htm>


More information about the petitecloud-general mailing list