Skip to content

Cani alpha import csm

cani alpha import csm

Import assets using the csm provider

Synopsis

Import assets using the csm provider

cani alpha import csm [flags]

Options

      --sls-file string        Path to SLS dumpstate JSON file
      --smd-file string        Path to SMD state components JSON file
      --ignore-validation      Continue importing even if the external inventory fails validation
  -S, --use-simulator          Use simulation mode (localhost:8443, no auth, skip TLS verification)
  -k, --insecure               Skip TLS certificate verification
      --csm-api-host string    FQDN or host:port of the CSM API gateway (default "api-gw-service.local")
      --csm-keycloak-username string Keycloak username for authentication
      --csm-keycloak-password string Keycloak password for authentication
      --csm-url-sls string     Override the SLS API base URL
      --csm-url-hsm string     Override the HSM API base URL
      --csm-ca-cert string     Path to a PEM-encoded CA certificate
      --csm-k8s-pods-cidr string CIDR used by Kubernetes for pods (default "10.32.0.0/12")
      --csm-k8s-services-cidr string CIDR used by Kubernetes for services (default "10.16.0.0/12")

Options inherited from parent commands

      --phase string           ETL phases to run: e (extract), et (+transform), etl (+load) (default "etl")
      --no-color               Disable colorized output
      --step                   Step through each item interactively (implies --debug)
      --config string          config file (default "/home/runner/.cani/cani.yml")
      --debug                  enable debug mode
      --datastore string       datastore type (json, postgres) (default "json")
      --datastore-path string  override path to the datastore file (for testing)
      --types-dirs stringSlice local directories with additional hardware types
      --types-repos stringSlice git repo URLs with additional hardware types
      --types-repo-clone       clone types repos that are not yet cached locally
      --types-repo-pull        pull latest changes from types repos on startup
      --strict                 require a resolved device type (slug) for all devices (default true)

SEE ALSO