'Test uses administrative credentials to create a
SF (Single Failure) router using the ha=False.
Then it will "update" the router ha attribute to True
Acceptance
The router is created and the "ha" attribute is
set to False. Once the router is updated, the ha
attribute will be set to True'

@decorators.idempotent_id('5a6bfe82-5b23-45a4-b027-5160997d4753')
def test_legacy_router_update_to_ha(self):

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