### Start NOC with Gufo Thor Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/index.md Use this command to start the NOC service after installation or configuration. ```shell gufo-thor up ``` -------------------------------- ### Example Gufo Thor Configuration Source: https://github.com/gufolabs/gufo_thor/blob/master/README.md An example of the thor.yml configuration file structure. This file defines settings for NOC version, installation name, domain, port, and services. ```yaml # Gufo Thor configuration version: "1.0" noc: tag: master installation_name: Unconfigured Installation expose: domain_name: go.getnoc.com port: 32777 services: [web, card] ``` -------------------------------- ### Serve Documentation Locally Source: https://github.com/gufolabs/gufo_thor/blob/master/AGENTS.md Start a local development server to preview the MkDocs documentation. ```bash mkdocs serve ``` -------------------------------- ### Simple Web-Only Template Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/templates.md Configuration for a simple web-only installation. ```yaml --8<-- "src/gufo/thor/samples/simple.yml" ``` -------------------------------- ### Install Gufo Thor Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/index.md Run this command to install or update Gufo Thor. It downloads and executes the installer script. ```shell curl https://sh.gufolabs.com/thor | sh ``` -------------------------------- ### Common Template Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/templates.md Configuration for an installation with a web interface, hardware integration, and an event-processing pipeline. ```yaml --8<-- "src/gufo/thor/samples/common.yml" ``` -------------------------------- ### NOC Installation Name Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/config/noc.md Sets the installation name as displayed in the web interface. The default value is 'Unconfigured Installation'. ```yaml noc: installation_name: "ACME INC" ``` -------------------------------- ### Generate Sample Configuration Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/index.md Generate a sample configuration file for Gufo Thor. Replace with 'simple', 'common', or 'lab1' for different setups. ```shell gufo-thor sample-config -t ``` -------------------------------- ### Check Gufo Thor Installation Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/installation.md Verify that Gufo Thor has been installed correctly by importing the module and checking its version. ```bash gufo-thor version ``` -------------------------------- ### Specify Starting Node of a Link Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/config/labs.md Defines the starting node for a network link. ```yaml labs: lab1: links: - node-a: r1 ``` -------------------------------- ### Lab1 Template Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/templates.md Configuration for a full hardware-integration stack with a sample lab setup including 3 VyOS routers connected in a ring. ```yaml --8<-- "src/gufo/thor/samples/lab1.yml" ``` -------------------------------- ### List of Service Names Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/config/services.md Specify services to start using a simple list of their names. ```yaml services: [web, card] ``` -------------------------------- ### Upgrade Gufo Thor Installation Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/installation.md Use pip to upgrade an existing Gufo Thor installation to the latest version. ```bash pip3 install --upgrade gufo-thor ``` -------------------------------- ### Destroy Gufo Thor Installation Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/cli.md Destroys the Gufo Thor installation and frees up associated resources. ```bash gufo-thor destroy ``` -------------------------------- ### Python VENV Installation of Gufo Thor Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/installation.md This method is suitable for evaluation, testing, and development. It sets up a Python virtual environment to isolate Thor and its libraries. ```bash python -m venv . . ./bin/activate curl https://sh.gufolabs.com/thor | sh ``` -------------------------------- ### Configure mTLS CA Certificate Path Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/config/expose.md Enable mTLS by defining the path to the CA chain, relative to the `assets` directory. For example, use `assets/ca.crt`. ```yaml expose: mtls_ca_cert: ca.crt ``` -------------------------------- ### Serve Documentation Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/dev/testing.md Rebuilds and serves the project documentation locally. This is useful for previewing changes. ```shell mkdocs serve ``` -------------------------------- ### Generate Sample Configuration Source: https://github.com/gufolabs/gufo_thor/blob/master/docs/reference/templates.md Use this command to generate a sample configuration file for a specified template. ```shell gufo-thor sample-config -t