~ionutbalutoiu/charms/trusty/neutron-api/next

« back to all changes in this revision

Viewing changes to unit_tests/test_neutron_api_context.py

  • Committer: Liam Young
  • Date: 2015-03-23 13:17:46 UTC
  • mfrom: (86 trunk)
  • mto: This revision was merged to the branch mainline in revision 90.
  • Revision ID: liam.young@canonical.com-20150323131746-qst1xl5havlogyli
Merged next in

Show diffs side-by-side

added added

removed removed

Lines of Context:
275
275
            'verbose': True,
276
276
            'l2_population': True,
277
277
            'overlay_network_type': 'gre',
 
278
            'quota_floatingip': 50,
 
279
            'quota_health_monitors': -1,
 
280
            'quota_member': -1,
 
281
            'quota_network': 10,
 
282
            'quota_pool': 10,
 
283
            'quota_port': 50,
 
284
            'quota_router': 10,
 
285
            'quota_security_group': 10,
 
286
            'quota_security_group_rule': 100,
 
287
            'quota_subnet': 10,
 
288
            'quota_vip': 10,
278
289
        }
279
290
        napi_ctxt = context.NeutronCCContext()
280
291
        with patch.object(napi_ctxt, '_ensure_packages'):
295
306
            'verbose': True,
296
307
            'l2_population': True,
297
308
            'overlay_network_type': 'vxlan',
 
309
            'quota_floatingip': 50,
 
310
            'quota_health_monitors': -1,
 
311
            'quota_member': -1,
 
312
            'quota_network': 10,
 
313
            'quota_pool': 10,
 
314
            'quota_port': 50,
 
315
            'quota_router': 10,
 
316
            'quota_security_group': 10,
 
317
            'quota_security_group_rule': 100,
 
318
            'quota_subnet': 10,
 
319
            'quota_vip': 10,
298
320
        }
299
321
        napi_ctxt = context.NeutronCCContext()
300
322
        with patch.object(napi_ctxt, '_ensure_packages'):