Revision 6c931e8b docs/upgrade-0.13.rst

b/docs/upgrade-0.13.rst
229 229

  
230 230
    # pithos:       PITHOS_QUOTAHOLDER_TOKEN   = <the same random string>
231 231
    # pithos:       PITHOS_QUOTAHOLDER_URL     = http://quotaholder.host/quotaholder/v
232
    # pithos:       PITHOS_USE_QUOTAHOLDER     = True
232 233
    # All services must match the quotaholder token and url configured for quotaholder.
233 234

  
234 235
Specifically:
......
255 256

  
256 257
    PITHOS_QUOTAHOLDER_URL = 'https://accounts.synnefo.local/quotaholder/v'
257 258
    PITHOS_QUOTAHOLDER_TOKEN = 'aExampleTokenJbFm12w'
259
    PITHOS_USE_QUOTAHOLDER = True
258 260

  
259 261
3.4 Setup astakos
260 262
-----------------
......
352 354
    # Set the cloud service properties
353 355
    ASTAKOS_SERVICES = {
354 356
        'cyclades': {
355
            #This can also be set from a management command
356
            'url': 'https://cyclades.host/ui/',
357
            'order': 0,
357
    #        # Specifying the key 'url' will overwrite it.
358
    #        # Use this to (re)set service URL.
359
    #        'url': 'https://cyclades.synnefo.local/ui/',
360
    #        # order services in listings, cloudbar, etc.
361
    #        'order' : 1
358 362
            'resources': [{
359
                'name':'disk',
360
                'group':'compute',
361
                'uplimit':300*1024*1024*1024,
362
                'unit':'bytes',
363
                'name': 'disk',
364
                'group': 'compute',
365
                'uplimit': 30*1024*1024*1024,
366
                'unit': 'bytes',
363 367
                'desc': 'Virtual machine disk size'
364
                },{
365
                'name':'cpu',
366
                'group':'compute',
367
                'uplimit':24,
368
                }, {
369
                'name': 'cpu',
370
                'group': 'compute',
371
                'uplimit': 6,
368 372
                'desc': 'Number of virtual machine processors'
369
                },{
370
                'name':'ram',
371
                'group':'compute',
372
                'uplimit':40*1024*1024*1024,
373
                'unit':'bytes',
373
                }, {
374
                'name': 'ram',
375
                'group': 'compute',
376
                'uplimit': 6*1024*1024*1024,
377
                'unit': 'bytes',
374 378
                'desc': 'Virtual machines'
375
                },{
376
                'name':'vm',
377
                'group':'compute',
378
                'uplimit':5,
379
                }, {
380
                'name': 'vm',
381
                'group': 'compute',
382
                'uplimit': 2,
379 383
                'desc': 'Number of virtual machines'
380
                },{
381
                'name':'network.private',
382
                'group':'network',
383
                'uplimit':5,
384
                }, {
385
                'name': 'network.private',
386
                'group': 'network',
387
                'uplimit': 1,
384 388
                'desc': 'Private networks'
385 389
                }
386 390
            ]
387 391
        },
388 392
        'pithos+': {
389
            'url': 'https://pithos.host/ui/',
390
            'order': 1,
393
    #        # Use this to (re)set service URL.
394
    #        'url': 'https://pithos.synnefo.local/ui/',
395
    #        # order services in listings, cloudbar, etc.
396
    #        'order' : 2
391 397
            'resources':[{
392
                'name':'diskspace',
393
                'group':'storage',
394
                'uplimit':20 * 1024 * 1024 * 1024,
395
                'unit':'bytes',
398
                'name': 'diskspace',
399
                'group': 'storage',
400
                'uplimit': 5*1024*1024*1024,
401
                'unit': 'bytes',
396 402
                'desc': 'Pithos account diskspace'
397 403
                }]
398 404
        }

Also available in: Unified diff