Remove _create_router in scenario.manager
_create_router is used only once in scenario.manager, so this is to:
1. remove _create_router
2. move the logic of creating router to _get_router
3. pass external_gateway_info argument to client.create_router
instead of using client.update_router
4. use self.__class__.__name__ as prefix of random router name
5. remove self.assertEqual(router['name'], name), and add this
check in api test test_create_show_list_update_delete_router.
Change-Id: I5aa5a42aaa1ebd654b7e979e3807d3edbf2efa9e
2 files changed