~kirkland/eucalyptus/label-metadata

« back to all changes in this revision

Viewing changes to clc/modules/msgs/resources/aws-instances.xml

  • Committer: graziano obertelli
  • Date: 2009-01-07 03:32:35 UTC
  • Revision ID: graziano@cs.ucsb.edu-20090107033235-oxhuexp18v8hg0pw
Tags: 1.4
from CVS

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?><!--
 
2
  ~ Software License Agreement (BSD License)
 
3
  ~
 
4
  ~ Copyright (c) 2008, Regents of the University of California
 
5
  ~ All rights reserved.
 
6
  ~
 
7
  ~ Redistribution and use of this software in source and binary forms, with or
 
8
  ~ without modification, are permitted provided that the following conditions
 
9
  ~ are met:
 
10
  ~
 
11
  ~ * Redistributions of source code must retain the above
 
12
  ~   copyright notice, this list of conditions and the
 
13
  ~   following disclaimer.
 
14
  ~
 
15
  ~ * Redistributions in binary form must reproduce the above
 
16
  ~   copyright notice, this list of conditions and the
 
17
  ~   following disclaimer in the documentation and/or other
 
18
  ~   materials provided with the distribution.
 
19
  ~
 
20
  ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 
21
  ~ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 
22
  ~ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 
23
  ~ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 
24
  ~ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 
25
  ~ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 
26
  ~ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 
27
  ~ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 
28
  ~ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 
29
  ~ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 
30
  ~ POSSIBILITY OF SUCH DAMAGE.
 
31
  ~
 
32
  ~ Author: Chris Grzegorczyk grze@cs.ucsb.edu
 
33
  -->
 
34
 
 
35
<binding force-classes="true">
 
36
 
 
37
    <mapping class="edu.ucsb.eucalyptus.msgs.BlockDeviceMappingItemType" abstract="true">
 
38
        <value name="virtualName" field="virtualName"/>
 
39
        <value name="deviceName" field="deviceName"/>
 
40
    </mapping>
 
41
 
 
42
    <mapping class="edu.ucsb.eucalyptus.msgs.ReservationInfoType" abstract="true">
 
43
        <value name="reservationId" field="reservationId" usage="required"/>
 
44
        <value name="ownerId" field="ownerId" usage="required"/>
 
45
        <collection name="groupSet" field="groupSet" factory="org.jibx.runtime.Utility.arrayListFactory" item-type="java.lang.String">
 
46
            <structure name="item">
 
47
                <value name="groupId"/>
 
48
            </structure>
 
49
        </collection>
 
50
        <collection name="instancesSet" field="instancesSet" usage="required" factory="org.jibx.runtime.Utility.arrayListFactory">
 
51
            <structure name="item" map-as="edu.ucsb.eucalyptus.msgs.RunningInstancesItemType"/>
 
52
        </collection>
 
53
    </mapping>
 
54
 
 
55
    <mapping class="edu.ucsb.eucalyptus.msgs.TerminateInstancesItemType" abstract="true">
 
56
        <value name="instanceId" field="instanceId" usage="required"/>
 
57
        <structure name="shutdownState">
 
58
            <value name="code" field="shutdownStateCode" usage="required"/>
 
59
            <value name="name" field="shutdownStateName" usage="required"/>
 
60
        </structure>
 
61
        <structure name="previousState">
 
62
            <value name="code" field="previousStateCode" usage="required"/>
 
63
            <value name="name" field="previousStateName" usage="required"/>
 
64
        </structure>
 
65
    </mapping>
 
66
    
 
67
    <mapping class="edu.ucsb.eucalyptus.msgs.RunningInstancesItemType" abstract="true">
 
68
        <value name="instanceId" field="instanceId" usage="required"/>
 
69
        <value name="imageId" field="imageId" usage="required"/>
 
70
        <structure name="instanceState">
 
71
            <value name="code" field="stateCode" usage="required"/>
 
72
            <value name="name" field="stateName" usage="required"/>
 
73
        </structure>
 
74
        <value name="privateDnsName" field="privateDnsName" usage="required"/>
 
75
        <value name="dnsName" field="dnsName" usage="required"/>
 
76
        <value name="reason" field="reason" usage="optional"/>
 
77
        <value name="keyName" field="keyName" usage="optional"/>
 
78
        <!--2006-10-01-->
 
79
        <value name="amiLaunchIndex" field="amiLaunchIndex" usage="optional"/>
 
80
        <!--2007-03-01-->
 
81
        <collection name="productCodes" field="productCodes" usage="optional" factory="org.jibx.runtime.Utility.arrayListFactory" item-type="java.lang.String">
 
82
            <structure name="item">
 
83
                <value name="productCode"/>
 
84
            </structure>
 
85
        </collection>
 
86
        <!--2007-08-29-->
 
87
        <value name="instanceType" field="instanceType" usage="optional"/>
 
88
        <value name="launchTime" field="launchTime" usage="optional"/>
 
89
        <!--2008-02-01-->
 
90
        <value name="placement" field="placement" usage="optional"/>
 
91
        <value name="kernelId" field="kernel" usage="optional"/>
 
92
        <value name="ramdiskId" field="ramdisk" usage="optional"/>
 
93
    </mapping>
 
94
 
 
95
    <mapping name="RunInstancesResponse" class="edu.ucsb.eucalyptus.msgs.RunInstancesResponseType" extends="edu.ucsb.eucalyptus.msgs.EucalyptusMessage">
 
96
        <structure map-as="edu.ucsb.eucalyptus.msgs.EucalyptusMessage"/>
 
97
        <structure field="rsvInfo" map-as="edu.ucsb.eucalyptus.msgs.ReservationInfoType"/>
 
98
    </mapping>
 
99
 
 
100
    <mapping name="RunInstances" class="edu.ucsb.eucalyptus.msgs.RunInstancesType">
 
101
        <value name="imageId" field="imageId" usage="required"/>
 
102
        <value name="minCount" field="minCount" usage="required"/>
 
103
        <value name="maxCount" field="maxCount" usage="required"/>
 
104
        <value name="keyName" field="keyName" usage="optional"/>
 
105
        <structure name="groupSet" usage="optional">
 
106
            <collection field="groupSet" factory="org.jibx.runtime.Utility.arrayListFactory" item-type="java.lang.String">
 
107
                <structure name="item">
 
108
                    <value name="groupId"/>
 
109
                </structure>
 
110
            </collection>
 
111
        </structure>
 
112
        <value name="additionalInfo" field="additionalInfo" usage="optional"/>
 
113
        <!--2006-10-01-->
 
114
        <structure name="userData" usage="optional">
 
115
            <value name="data" field="userData"/>
 
116
            <value name="version" field="version" usage="optional"/>
 
117
            <value name="encoding" field="encoding" usage="optional"/>
 
118
        </structure>
 
119
        <!--2007-01-19-->
 
120
        <value name="addressingType" field="addressingType" usage="optional"/>
 
121
        <!--2007-08-29-->
 
122
        <value name="instanceType" field="instanceType" usage="optional"/>
 
123
        <!--2008-02-01-->
 
124
        <structure name="placement" usage="optional">
 
125
            <value name="availabilityZone" field="availabilityZone"/>
 
126
        </structure>
 
127
        <value name="kernelId" field="kernelId" usage="optional"/>
 
128
        <value name="ramdiskId" field="ramdiskId" usage="optional"/>
 
129
        <structure name="blockDeviceMapping" usage="optional">
 
130
            <collection field="blockDeviceMapping" factory="org.jibx.runtime.Utility.arrayListFactory">
 
131
                <structure name="item" map-as="edu.ucsb.eucalyptus.msgs.BlockDeviceMappingItemType"/>
 
132
            </collection>
 
133
        </structure>
 
134
    </mapping>
 
135
 
 
136
 
 
137
    <mapping name="DescribeInstancesResponse"
 
138
             class="edu.ucsb.eucalyptus.msgs.DescribeInstancesResponseType"
 
139
             extends="edu.ucsb.eucalyptus.msgs.EucalyptusMessage">
 
140
        <structure map-as="edu.ucsb.eucalyptus.msgs.EucalyptusMessage"/>
 
141
        <collection name="reservationSet" field="reservationSet" usage="required" factory="org.jibx.runtime.Utility.arrayListFactory">
 
142
            <structure name="item" map-as="edu.ucsb.eucalyptus.msgs.ReservationInfoType"/>
 
143
        </collection>
 
144
    </mapping>
 
145
 
 
146
    <mapping name="DescribeInstances" class="edu.ucsb.eucalyptus.msgs.DescribeInstancesType">
 
147
        <collection name="instancesSet" factory="org.jibx.runtime.Utility.arrayListFactory" field="instancesSet" item-type="java.lang.String">
 
148
            <structure name="item">
 
149
                <value name="instanceId"/>
 
150
            </structure>
 
151
        </collection>
 
152
    </mapping>
 
153
 
 
154
    <mapping name="TerminateInstancesResponse"
 
155
             class="edu.ucsb.eucalyptus.msgs.TerminateInstancesResponseType"
 
156
             extends="edu.ucsb.eucalyptus.msgs.EucalyptusMessage">
 
157
        <structure map-as="edu.ucsb.eucalyptus.msgs.EucalyptusMessage"/>
 
158
        <collection name="instancesSet" factory="org.jibx.runtime.Utility.arrayListFactory" field="instancesSet">
 
159
            <structure name="item" map-as="edu.ucsb.eucalyptus.msgs.TerminateInstancesItemType"/>
 
160
        </collection>
 
161
    </mapping>
 
162
 
 
163
    <mapping name="TerminateInstances" class="edu.ucsb.eucalyptus.msgs.TerminateInstancesType">
 
164
        <collection name="instancesSet" factory="org.jibx.runtime.Utility.arrayListFactory" field="instancesSet" item-type="java.lang.String">
 
165
            <structure name="item">
 
166
                <value name="instanceId"/>
 
167
            </structure>
 
168
        </collection>
 
169
    </mapping>
 
170
    <!--2007-01-03-->
 
171
    <mapping name="RebootInstancesResponse" class="edu.ucsb.eucalyptus.msgs.RebootInstancesResponseType" extends="edu.ucsb.eucalyptus.msgs.EucalyptusMessage">
 
172
        <structure map-as="edu.ucsb.eucalyptus.msgs.EucalyptusMessage"/>
 
173
        <value name="return" field="_return"/>
 
174
    </mapping>
 
175
    <!--2007-01-03-->
 
176
    <mapping name="RebootInstances" class="edu.ucsb.eucalyptus.msgs.RebootInstancesType">
 
177
        <collection name="instancesSet" factory="org.jibx.runtime.Utility.arrayListFactory" field="instancesSet" item-type="java.lang.String">
 
178
            <structure name="item">
 
179
                <value name="instanceId"/>
 
180
            </structure>
 
181
        </collection>
 
182
    </mapping>
 
183
    <!--2007-01-03-->
 
184
    <mapping name="GetConsoleOutputResponse" class="edu.ucsb.eucalyptus.msgs.GetConsoleOutputResponseType" extends="edu.ucsb.eucalyptus.msgs.EucalyptusMessage">
 
185
        <structure map-as="edu.ucsb.eucalyptus.msgs.EucalyptusMessage"/>
 
186
        <value name="instanceId" field="instanceId" usage="optional"/>
 
187
        <value name="timestamp" field="timestamp" usage="optional"/>
 
188
        <value name="output" field="output" usage="optional"/>
 
189
    </mapping>
 
190
    <!--2007-01-03-->
 
191
    <mapping name="GetConsoleOutput" class="edu.ucsb.eucalyptus.msgs.GetConsoleOutputType">
 
192
        <value name="instanceId" field="instanceId"/>
 
193
    </mapping>
 
194
 
 
195
</binding>
 
 
b'\\ No newline at end of file'