qacafe - ip test solutions
Knowledge Base > Basic Configuration > Can I split my local.conf configuration file into multiple files?

Can I split my local.conf configuration file into multiple files?

When working with multiple test configuration files, the Tcl 'source' command can be used to break out common parts of the configuration into a separate file. This can be useful for common configuration items such virtual services, port triggers, or EAP user identities. Tcl's 'source' command will automatically load in another configuration file.

For example, to load a common set of port-triggers located in /home/lab/test-configs/port-triggers.conf or EAP identities located in /home/lab/test-configs/eap-users.conf, you could include the following commands in your configuration file:

  # -- load the common port trigger configuration
  source /home/lab/test-configs/port-triggers.conf
  
  # -- load all configured EAP identities
  source /home/lab/test-configs/eap-users.conf