code: def program_rtr_nwk_next_hop(self, rout_id, next_hop, cidr):
          
          namespace = self.find_rtr_namespace(rout_id)
          if namespace is None:
              LOG.error("Unable to find namespace for router %s", rout_id)
              return False
  
          args = ['route', 'add', '-net', cidr, 'gw', next_hop]
          ret = self.program_rtr(args, rout_id, namespace=namespace)
          if not ret:
              LOG.error("Program router returned error for %s", rout_id)
              return False
          return True
docs: Program the next hop for all networks of a tenant.