'Test distributed router creation
Test uses administrative credentials to creates a
DVR (Distributed Virtual Routing) router using the
distributed=True.
Acceptance
The router is created and the "distributed" attribute is
set to True'

@decorators.idempotent_id('08a2a0a8-f1e4-4b34-8e30-e522e836c44e')
def test_distributed_router_creation(self):

    name = data_utils.rand_name('router')
    router = self.admin_routers_client.create_router(name=name, distributed=True)
    self.addCleanup(self.admin_routers_client.delete_router, router['router']['id'])
    self.assertTrue(router['router']['distributed'])
