Documentation
¶
Index ¶
Constants ¶
View Source
const DBVersion = 1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DumpCommand ¶
type FindCommand ¶
type JsonCommand ¶
type JsonCommand struct {
Input string `arg:"-i,--input" help:"Input file" default:"smi_objects.gob"`
}
type SmiEntry ¶
type SmiEntry struct { Module gosmi.SmiModule Nodes []SmiNodeWithIndex Types []gosmi.SmiType }
type WalkCommand ¶
type WalkCommand struct { Input string `arg:"-i,--input" help:"Input file" default:"smi_objects.gob"` Host string `arg:"-H,--host" help:"Host to walk" default:"localhost"` Community string `arg:"-c,--community" help:"Community to walk" default:"public"` Port uint16 `arg:"-p,--port" help:"Port to walk" default:"161"` OIDs []string `arg:"-t,--target,separate,required" help:"OID to walk (multiple supported)"` Verbose bool `arg:"-v,--verbose" help:"Verbose output"` Json bool `arg:"-j,--json" help:"Output in JSON"` CSV bool `arg:"-C,--csv" help:"Output in CSV"` }
Click to show internal directories.
Click to hide internal directories.