aboutsummaryrefslogtreecommitdiff
path: root/tests/describe-instance-attribute.at
blob: 126991ff46f9dd4df8fddf93d28dfc55b735fea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# This file is part of Eclat -*- Autotest -*-
# Copyright (C) 2012-2015 Sergey Poznyakoff
#
# Eclat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Eclat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Eclat.  If not, see <http://www.gnu.org/licenses/>.

ECLAT_TEST_FORMAT([DescribeInstanceAttribute instanceType],
[DescribeInstanceAttribute DescribeInstanceAttribute-instanceType],
[describe-instance-attribute.fln],
[<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-08-15/">
    <requestId>07bdd73d-d1d0-4c07-b8d8-a50a24e737ad</requestId>
    <instanceId>i-12345678</instanceId>
    <instanceType>
        <value>m1.medium</value>
    </instanceType>
</DescribeInstanceAttributeResponse>
],
[m1.medium
])

ECLAT_TEST_FORMAT([DescribeInstanceAttribute kernel],
[DescribeInstanceAttribute DescribeInstanceAttribute-kernel],
[describe-instance-attribute.fln],
[<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-08-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> 
  <instanceId>i-10a64379</instanceId>
  <kernel>
    <value>aki-f70657b2</value>
  </kernel>
</DescribeInstanceAttributeResponse>
],
[aki-f70657b2
])

ECLAT_TEST_FORMAT([DescribeInstanceAttribute blockDeviceMapping],
[DescribeInstanceAttribute DescribeInstanceAttribute-blockDeviceMapping],
[describe-instance-attribute.fln],
[<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-08-15/">
    <requestId>dba8e015-a520-43f2-a7f9-63bd337f83bf</requestId>
    <instanceId>i-12345678</instanceId>
    <blockDeviceMapping>
        <item>
            <deviceName>/dev/sda1</deviceName>
            <ebs>
                <volumeId>vol-deadbeef</volumeId>
                <status>attached</status>
                <attachTime>2012-03-30T14:04:26.000Z</attachTime>
                <deleteOnTermination>true</deleteOnTermination>
            </ebs>
        </item>
        <item>
            <deviceName>/dev/sdf</deviceName>
            <ebs>
                <volumeId>vol-beefdead</volumeId>
                <status>attached</status>
                <attachTime>2012-03-30T16:11:14.000Z</attachTime>
                <deleteOnTermination>false</deleteOnTermination>
            </ebs>
        </item>
    </blockDeviceMapping>
</DescribeInstanceAttributeResponse>
],
[/dev/sda1	vol-deadbeef	attached	true	2012-03-30T14:04:26.000Z
/dev/sdf	vol-beefdead	attached	false	2012-03-30T16:11:14.000Z
])

ECLAT_TEST_FORMAT([DescribeInstanceAttribute groupSet],
[DescribeInstanceAttribute DescribeInstanceAttribute-groupSet],
[describe-instance-attribute.fln],
[<DescribeInstanceAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2012-08-15/">
    <requestId>42507af2-227a-4f76-b8c4-55bb0c2f1384</requestId>
    <instanceId>i-12345678</instanceId>
    <groupSet>
        <item>
            <groupId>sg-deadbeef</groupId>
        </item>
    </groupSet>
</DescribeInstanceAttributeResponse>
],
[sg-deadbeef
])

Return to:

Send suggestions and report system problems to the System administrator.