[one-users] OCCI definition file and graphis

Ruben Diez rdiez at cesga.es
Mon Sep 26 03:20:02 PDT 2011


We are making some probes with the OCCI interface.

Our xml compute definition file is:

    <NAME>prueba occi</NAME>
    <DISK id='0'>
    <STORAGE href="http://meghacloud.cesga.es:4569/storage/247"/>
        <DRIVER type="raw"/>
        <NETWORK href="http://meghacloud.cesga.es:4569/network/171"/>

This file generates this deployment.0 file:

<domain type='kvm'>
        <type arch='x86_64'>hvm</type>
        <boot dev='hd'/>
        <disk type='file' device='disk'>
            <source file='/srv/cloud/one/var//2589/images/disk.0'/>
            <target dev='hda' bus='ide'/>
            <driver name='qemu' type='raw'/>
        <disk type='file' device='cdrom'>
            <source file='/srv/cloud/one/var//2589/images/disk.1'/>
            <target dev='hdb'/>
            <driver name='qemu' type='raw'/>
        <interface type='bridge'>
            <source bridge='virbrCLOUD'/>
            <mac address='02:fe:54:15:ad:99'/>

As you can see, no "graphics" line is generated for the deployment.0 
file .....

How can we make a compute definition file in the occi format that could 
generate a graphics line in the deployment.0 file as this (for example)??:

<graphics type='vnc' listen='' port='8089' keymap='es'/>

BTW, the generated deployment.0 not work... if we edit the deployment.0 
and add a graphics line it works fine...  any idea??

More information about the Users mailing list