Rate This Document
Findability
Accuracy
Completeness
Readability

Code Directory Structure and File Permissions

Do not modify the content and permissions of the following directories and files. Otherwise, the usability and security of the programming framework may be affected.

Table 1 Code directory structure and file permissions

Level-1 Directory

Level-2 Directory/File

Level-3 Directory/File

Level-4 Directory/File

Description

flexda_sdk(700)

build(700)

cs_keys_and_pubkey_hash(700)

N/A

Stores user public and private keys.

ucode_index.gz(400)

N/A

Preset Huawei log module, which contains log content and indexes.

sim_all.ld(400)

N/A

Link script.

include(700)

common(700)

  • node_id.h(400)
  • typedef.h(400)

Type definition header files provided by Huawei.

dfx(700)

  • log_api.h(400)
  • log.h(400)

Header files and log APIs provided by Huawei.

nal(700)

  • counter_attr.h(400)
  • nal_attr_common.h(400)
  • nal_flow_table_attr.h(400)

Header files and API declarations provided by Huawei.

dsl(700)

  • log.hdr(400)
  • hydra_builtin.hdr(400)
  • hydra_core.hdr(400)
  • hydra_externs.hdr(400)
  • hydra_headers.hdr(400)
  • hydra_models.hdr(400)
  • hydra_parser.hdr(400)

Header files, log API declarations related to DSL code, and core class library description provided by Huawei.

control_plane(700)

  • libapi.h(400)
  • hook.h(400)

Header files and OVS control plane-related API declarations provided by Huawei.

lib(700)

  • libbase.a(400)
  • libdsl.a(400)
  • libnic.a(400)
  • libovs.a(400)
  • libpubservice.a(400)
  • libroce.a(400)
  • libtoe.a(400)
  • libvirtio.a(400)
  • libvroce.a(400)
  • libnal.a(400)
  • libhal.a(400)

N/A

Library files provided by Huawei.

tools(700)

compiler(700)

  • bin_make(500)
  • firmwarebuilder(500)
  • gen_nesbc_packet(500)
  • gen_pcptr(500)
  • flexdacc(500)

Tools in the programming framework.

hydra(700)

  • hydrac(500)
  • hydraNexusOut(500)

Hydra tools.

res_planning(700)

dpu_cfg_tools(500)

Solver tools.

libs(700)

Stores the SO dynamic libraries on which the solver depends.

configs/dpu3.1/eth_2x100G_dpu/resource_eth_2x100G_dpu_bms_blk.xml(600)

DPU resource configuration file.