Revision f6822a26 docs/examplesdir/listing.rst

b/docs/examplesdir/listing.rst
9 9
.. code-block:: console
10 10

  
11 11
    $ kamaki
12
    kamaki v0.9 - Interactive Shell
13
    .
12
    kamaki v0.10 - Interactive Shell
13

  
14 14
    /exit       terminate kamaki
15 15
    exit or ^D  exit context
16 16
    ? or help   available commands
17 17
    ?command    help on command
18 18
    !<command>  execute OS shell command
19
    .
19

  
20
    Session user is Tyler Durden <uuid: th3y-4r3-7h3-54m3-p3r50n>
20 21
    [kamaki]:
21 22

  
22 23
Simple listing
23 24
--------------
24 25

  
25
List configuration options, whether in the file or in memory
26
List configuration options, whether in the file or from defaults list
26 27

  
27 28
.. code-block:: console
28 29

  
......
78 79

  
79 80
    [kamaki]: network list
80 81
    1 public_network
81
    42 my_private)network
82
    42 my_private_network
82 83
    [kamaki]:
83 84

  
84 85
List flavors
......
96 97

  
97 98
    [kamaki]: image list
98 99
    f1r57-1m4g3-1d Debian Base Alpha
99
    .container_format: bare
100
    .disk_format:      diskdump
101
    .size:             474066944
102
    .status:           available
100
     container_format: bare
101
     disk_format:      diskdump
102
     size:             474066944
103
     status:           available
103 104
    53c0nd-1m4g3-1d Beta Debian Base
104
    .container_format: bare
105
    .disk_format:      diskdump
106
    .size:             474066944
107
    .status:           available
105
     container_format: bare
106
     disk_format:      diskdump
107
     size:             474066944
108
     status:           available
108 109
    [kamaki]: image compute list
109 110
    f1r57-1m4g3-1d Debian Base Alpha
110 111
    53c0nd-1m4g3-1d Beta Debian Base
......
130 131
    count:    3
131 132
    modified: 2013-06-17T12:35:11.613124+00:00
132 133
    policy:
133
    .       quota:      0
134
    .       versioning: auto
134
            quota:      0
135
            versioning: auto
135 136
    trash
136 137
    bytes:    0 (0B)
137 138
    count:    0
138 139
    modified: 2013-06-06T14:24:23.675891+00:00
139 140
    policy:
140
    .       quota:      0
141
    .       versioning: auto
141
            quota:      0
142
            versioning: auto
142 143
    [file]:
143 144

  
144 145
Create some more pithos container to experiment with
......
191 192
    type:      plan-text/unicode
192 193
    uuid:      0493f1d9-9410-4f4b-a81f-fe42f9cefa70
193 194
    version:   1085
194
    .
195
     
195 196
    video
196 197
    by:        s0m3-u53r-1d
197 198
    bytes:     0
......
201 202
    type:      application/directory
202 203
    uuid:      80e719f5-9d68-4333-9846-9943972ef1fd
203 204
    version:   1086
204
    .
205
     
205 206
    video/tk1.mpg
206 207
    by:        s0m3-u53r-1d
207 208
    bytes:     11000000 (11ΜΒB)
......
211 212
    type:      video/mpeg
212 213
    uuid:      b0b46b39-c59a-4adc-a386-6a169cb9f8a5
213 214
    version:   1079
214
    .
215
     
215 216
    video/tk2.mpg
216 217
    by:        s0m3-u53r-1d
217 218
    bytes:     12000000 (12MB)
......
221 222
    type:      video/mpeg
222 223
    uuid:      12a81309-db3c-4e30-ae9a-4ac2b8289def
223 224
    version:   1081
224
    .
225
     
225 226
    video/tk3.mpg
226 227
    by:        s0m3-u53r-1d
227 228
    bytes:     13000000 (13MB)
......
247 248
    type:      video/mpeg
248 249
    uuid:      b0b46b39-c59a-4adc-a386-6a169cb9f8a5
249 250
    version:   1079
250
    .
251
     
251 252
    video/tk2.mpg
252 253
    by:        s0m3-u53r-1d
253 254
    bytes:     12000000 (12MB)
......
257 258
    type:      video/mpeg
258 259
    uuid:      12a81309-db3c-4e30-ae9a-4ac2b8289def
259 260
    version:   1081
260
    .
261
     
261 262
    video/tk3.mpg
262 263
    by:        s0m3-u53r-1d
263 264
    bytes:     13000000 (13MB)
......
358 359
                           OS-EXT-IPS:type: fixed
359 360
                           addr:            192.168.12.4
360 361
                           version:         4
361
                        . . . . . . .
362
                        
362 363
                           OS-EXT-IPS:type: fixed
363 364
                           addr:            2001:648:2ffc:1222:a800:2ff:fee3:49f1
364 365
                           version:         6
......
383 384
                    links:
384 385
                            href: https://example.com/compute/v2.0/flavors/1
385 386
                            rel:  bookmark
386
                         . . . . . . .
387
                        
387 388
                            href: https://example.com/compute/v2.0/flavors/1
388 389
                            rel:  self
389 390
        hostId:
......
392 393
                    links:
393 394
                            href: https://example.com/compute/v2.0/images/f1r57-1m4g3-1d
394 395
                            rel:  bookmark
395
                         . . . . . . .
396

  
396 397
                            href: https://example.com/compute/v2.0/images/f1r57-1m4g3-1d
397 398
                            rel:  self
398
                         . . . . . . .
399

  
399 400
                            href: https:/example.com/image/v1.0/images/f1r57-1m4g3-1d
400 401
                            rel:  alternate
401 402
        key_name:        None
402 403
        links:
403 404
                       href: https://example.com/compute/v2.0/servers/4201
404 405
                       rel:  bookmark
405
                    . . . . . . .
406

  
406 407
                       href: https://example.com/compute/v2.0/servers/4201
407 408
                       rel:  self
408 409
        metadata:
......
424 425
                           OS-EXT-IPS:type: fixed
425 426
                           addr:            192.168.12.4
426 427
                           version:         4
427
                        . . . . . . .
428

  
428 429
                           OS-EXT-IPS:type: fixed
429 430
                           addr:            2002:648:2ffc:1222:a800:2ff:fee3:49f1
430 431
                           version:         6
......
449 450
                    links:
450 451
                            href: https://example.com/compute/v2.0/flavors/2
451 452
                            rel:  bookmark
452
                         . . . . . . .
453

  
453 454
                            href: https://example.com/compute/v2.0/flavors/2
454 455
                            rel:  self
455 456
        hostId:
......
458 459
                    links:
459 460
                            href: https://example.com/compute/v2.0/images/53c0nd-1m4g3-1d
460 461
                            rel:  bookmark
461
                         . . . . . . .
462
                        
462 463
                            href: https://example.com/compute/v2.0/images/53c0nd-1m4g3-1d
463 464
                            rel:  self
464
                         . . . . . . .
465
                        
465 466
                            href: https:/example.com/image/v1.0/images/53c0nd-1m4g3-1d
466 467
                            rel:  alternate
467 468
        key_name:        None
468 469
        links:
469 470
                       href: https://example.com/compute/v2.0/servers/4202
470 471
                       rel:  bookmark
471
                    . . . . . . .
472
                   
472 473
                       href: https://example.com/compute/v2.0/servers/4202
473 474
                       rel:  self
474 475
        metadata:
......
556 557
        links:
557 558
             href: https://example.com/cyclades/compute/v2.0/images/f1r57-1m4g3-1d
558 559
             rel:  bookmark
559
          . . . . . . .
560
         
560 561
             href: https://example.com/cyclades/compute/v2.0/images/f1r57-1m4g3-1d
561 562
             rel:  self
562
          . . . . . . .
563
         
563 564
             href: https://example.com/cyclades/image/v1.0/images/f1r57-1m4g3-1d
564 565
             rel:  alternate
565 566
        metadata:
......
581 582
        links:
582 583
             href: https://example.com/cyclades/compute/v2.0/images/53c0nd-1m4g3-1d
583 584
             rel:  bookmark
584
          . . . . . . .
585
         
585 586
             href: https://example.com/cyclades/compute/v2.0/images/53c0nd-1m4g3-1d
586 587
             rel:  self
587
          . . . . . . .
588
         
588 589
             href: https://example.com/cyclades/image/v1.0/images/53c0nd-1m4g3-1d
589 590
             rel:  alternate
590 591
        metadata:

Also available in: Unified diff