def program_rtr_nwk_next_hop(self, rout_id, next_hop, cidr):
namespace = self.find_rtr_namespace(rout_id)<EOL>if namespace is None:<EOL><INDENT>LOG.error("<STR_LIT>", rout_id)<EOL>return False<EOL><DEDENT>args = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', cidr, '<STR_LIT>', next_hop]<EOL>ret = self.program_rtr(args, rout_id, namespace=namespace)<EOL>if not ret:<EOL><INDENT>LOG.error("<STR_LIT>", rout_id)<EOL>return False<EOL><DEDENT>return True<EOL>
Program the next hop for all networks of a tenant.