Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircuitID ¶
CircuitID represents the structure of network vendor interface formats
func ParseCircuitID ¶
ParseCircuitID will parse dhcpv4 packet and return CircuitID info
func (*CircuitID) FormatCircuitID ¶
FormatCircuitID is the CircuitID format we send in our Bootfile URL for ZTP devices
type VendorData ¶
type VendorData struct {
VendorName, Model, Serial string
}
VendorData is optional data a particular vendor may or may not include in the Vendor Class options.
func ParseVendorData ¶
func ParseVendorData(packet *dhcpv4.DHCPv4) (*VendorData, error)
ParseVendorData will try to parse dhcp4 options looking for more specific vendor data (like model, serial number, etc).
Click to show internal directories.
Click to hide internal directories.