metal-networker

command module
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 1 Imported by: 0

README

metal-networker

Configures networking related resources such as interfaces, frr and nftables.

Preconditions

Ubuntu operating system in place with the following packages installed:

  • ifupdown2
  • frr > 7.0
  • nftables

Usage

metal-networker must be invoked with the configuration file as argument. It is expected that the configuration file contains valid YAML. See ./internal/netconf/testdata/firewall.yaml for a valid configuration for firewalls and ./internal/netconf/testdata/machine.yaml for a valid configuration for machines.

# metal-networker <config-file>
./metal-networker machine|firewall configure --input install.yaml

Documentation

Overview

Package main provides primitives for applying changes to network configuration.

Directories

Path Synopsis
Package cmd groups functionality to configure machines or firewalls.
Package cmd groups functionality to configure machines or firewalls.
internal
netconf
Package netconf groups functionality to configure networking related resources.
Package netconf groups functionality to configure networking related resources.
netconf/tpl/statik
Package statik provides vfs access to static content content here is generated with the statik command from the make process.
Package statik provides vfs access to static content content here is generated with the statik command from the make process.
pkg
exec
Package exec groups functionality related for command execution.
Package exec groups functionality related for command execution.
net
Package net contains code to apply changes to network interfaces and FRR (Free Range Routing).
Package net contains code to apply changes to network interfaces and FRR (Free Range Routing).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL