code: def create_os_in_nwk(self, tenant_id, fw_dict, is_fw_virt=False):
          
          tenant_name = fw_dict.get('tenant_name')
          try:
              net, subnet = self._create_os_nwk(tenant_id, tenant_name, "in",
                                                is_fw_virt=is_fw_virt)
              if net is None or subnet is None:
                  return False
          except Exception as exc:
              # If Openstack network creation fails, IP address is released.
              # Seg, VLAN creation happens only after network creation in
              # Openstack is successful.
              LOG.error("Creation of In Openstack Network failed tenant "
                        "%(tenant)s, Exception %(exc)s",
                        {'tenant': tenant_id, 'exc': str(exc)})
              return False
          ret = fw_const.OS_IN_NETWORK_CREATE_SUCCESS
          net_dict = self.retrieve_dcnm_net_info(tenant_id, "in")
          subnet_dict = self.retrieve_dcnm_subnet_info(tenant_id, "in")
          # Very unlikely case, so nothing released.
          if not net_dict or not subnet_dict:
              LOG.error("Allocation of net,subnet failed Len net %(len_net)s"
                        "sub %(len_sub)s",
                        {'len_net': len(net_dict), 'len_sub': len(subnet_dict)})
              ret = fw_const.OS_IN_NETWORK_CREATE_FAIL
          # Updating the FW and Nwk DB
          self.store_net_fw_db(tenant_id, net, net_dict, subnet_dict,
                               "in", 'SUCCESS', os_status=ret)
          return True
docs: Create the Openstack IN network and stores the values in DB.