'Test uses administrative credentials to creates a
CVR (Centralized Virtual Routing) router using the
distributed=False.Then it will "update" the router
distributed attribute to True
Acceptance
The router is created and the "distributed" attribute is
set to False. Once the router is updated, the distributed
attribute will be set to True'

@decorators.idempotent_id('acd43596-c1fb-439d-ada8-31ad48ae3c2e')
def test_centralized_router_update_to_dvr(self):

    name = data_utils.rand_name('router')
    router = self.admin_client.create_router(name, distributed=False, ha=False, admin_state_up=False)
    self.addCleanup(self.admin_client.delete_router, router['router']['id'])
    self.assertFalse(router['router']['distributed'])
    self.assertFalse(router['router']['ha'])
    router = self.admin_client.update_router(router['router']['id'], distributed=True)
    self.assertTrue(router['router']['distributed'])
