code: def pop_fw_local(self, tenant_id, net_id, direc, node_ip):
          
          net = self.get_network(net_id)
          serv_obj = self.get_service_obj(tenant_id)
          serv_obj.update_fw_local_cache(net_id, direc, node_ip)
          if net is not None:
              net_dict = self.fill_dcnm_net_info(tenant_id, direc, net.vlan,
                                                 net.segmentation_id)
              serv_obj.store_dcnm_net_dict(net_dict, direc)
          if direc == "in":
              subnet = self.service_in_ip.get_subnet_by_netid(net_id)
          else:
              subnet = self.service_out_ip.get_subnet_by_netid(net_id)
          if subnet is not None:
              subnet_dict = self.fill_dcnm_subnet_info(
                  tenant_id, subnet,
                  self.get_start_ip(subnet), self.get_end_ip(subnet),
                  self.get_gateway(subnet), self.get_secondary_gateway(subnet),
                  direc)
              serv_obj.store_dcnm_subnet_dict(subnet_dict, direc)
docs: Populate the local cache.
  
          Read the Network DB and populate the local cache.
          Read the subnet from the Subnet DB, given the net_id and populate the
          cache.