templategen

package
v0.0.0-...-a7ebeb7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: BSD-3-Clause Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveJunosConfig

func SaveJunosConfig(file string, templ string, payload JunosTemplatePayload) error

SaveJunosConfig does as it says on the tin!

Types

type JunosTemplatePayload

type JunosTemplatePayload struct {
	Gateway    string
	FixedIP    string
	HostName   string
	DomainName string
	DNSServers []string
	NTPServers []string
}

JunosTemplatePayload holds data for populating Junos device configs

Jump to

Keyboard shortcuts

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