@validation.required_parameters("subnets_per_network")
    @validation.required_services(consts.Service.NEUTRON)
    @scenario.configure(context={"cleanup": ["neutron"]})
    def create_and_delete_routers(self,
                                  network_create_args=None,
                                  subnet_create_args=None,
                                  subnet_cidr_start=None,
                                  subnets_per_network=None,
                                  router_create_args=None):
        network, subnets, routers = self._create_network_structure(
            network_create_args, subnet_create_args, subnet_cidr_start,
            subnets_per_network, router_create_args)

        for e in range(subnets_per_network):
            router = routers[e]
            subnet = subnets[e]
            self._remove_interface_router(subnet["subnet"], router["router"])
            self._delete_router(router)
Create and delete a given number of routers.
dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/neutron/network.py/NeutronNetworks.create_and_delete_routers