Homer CLI

Configuration manager for network devices

usage: homer [-h] [-v | -q] [-c CONFIG] [--version]
             query {generate,diff,commit} ...

Positional Arguments

query

Select which devices to target

action

Possible choices: generate, diff, commit

Action to perform: generate, diff, commit

Named Arguments

-v, --verbose

Verbose (debug) logging

Default: 20

-q, --quiet

Silent mode, only log warnings

Default: 20

-c, --config

Main configuration file to load.

Default: "/etc/homer/config.yaml"

--version

show program's version number and exit

Sub-commands

generate

Generate the configurations locally.

homer generate [-h]

diff

Perform a commit check and show the differences between the generated configuration and the live one.

homer diff [-h] [-o]

Named Arguments

-o, --omit-diff

Omit the actual diff to prevent the leak of private data

Default: False

commit

Actually commit the generated configuration to the devices.

homer commit [-h] message

Positional Arguments

message

A mandatory commit message. The running username will be automatically added.