Skip to main content

gns3util class create

Create a class with students and groups

Synopsis

Create a class with students and groups. This command can either:
  • Create a class from a JSON file
  • Launch an interactive web interface for class creation
The class structure includes:
  • A main class group
  • Student groups within the class
  • Students assigned to both the class group and their respective student groups
gns3util class create [flags]

Examples


  # Create class from JSON file
  gns3util -s https://controller:3080 class create --file class.json

  # Launch interactive class creation
  gns3util -s https://controller:3080 class create --interactive
		

Options

      --cluster string   Cluster name
      --file string      JSON file containing class data
  -h, --help             help for create
      --host string      Host for interactive web interface (default "localhost")
      --interactive      Launch interactive web interface for class creation
      --port int         Port for interactive web interface (default 8080)

Options inherited from parent commands

  -i, --insecure          Ignore unsigned SSL-Certificates. Can be set via GNS3_INSECURE
  -k, --key-file string   Path to authentication keyfile. Can be set via GNS3_KEY_FILE or config.toml
  -o, --output string     Output format: [json, json-colorless, collapsed, yaml, toml, table, table-ascii]. Can be set via GNS3_OUTPUT (default "table")
  -s, --server string     GNS3v3 Server URL. Can be set via GNS3_SERVER or config.toml

SEE ALSO

Auto generated by spf13/cobra on 24-Mar-2026