csi config shcd
csi config shcd
Generates hmn_connections.json, switch_metadata.csv, and application_node_config.yaml from an SHCD JSON file
Synopsis
Generates hmn_connections.json, switch_metadata.csv, application_node_config.yaml from an SHCD JSON file.
It accepts only a valid JSON file, generated by 'canu', which is creates a machine-
readable format understood by csi. It is checked against a pre-defined schema and
if it adheres to it, it generates the necessary seed files.
csi config shcd FILEPATH [flags]
Options
-A, --application-node-config Generate the application_node_config.yaml file
-h, --help help for shcd
-H, --hmn-connections Generate the hmn_connections.json file
-N, --ncn-metadata Generate the ncn_metadata.csv file
-M, --prefix-subrole-mapping stringToString Specify one or more additional <Prefix>=<Subrole> mappings to use when generating application_node_config.yaml. Multiple mappings can be specified in the format of <prefix1>=<subrole1>,<prefix2>=<subrole2> (default [])
-S, --switch-metadata Generate the switch_metadata.csv file
Options inherited from parent commands
-c, --config string Path to a CSI config file (default is $PWD/system_config.yaml).
--csm-api-url string (for use against a completed CSM installation) The URL to a CSM API. (default "https://api-gw-service-nmn.local")
-i, --input-dir string A directory to read input files from (--config will take precedence, but only for system_config.yaml).
--k8s-namespace string (for use against a completed CSM installation) The namespace that the --k8s-secret-name belongs to. (default "default")
--k8s-secret-name string (for use against a completed CSM installation) The name of the Kubernetes secret to look for an OpenID credential in for CSM APIs (a.k.a. TOKEN=). (default "admin-client-auth")
SEE ALSO
- csi config - HPC configuration