Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagNameSubnetMask = "subnet_mask" TagNameRouter = "router" TagNameTimeServer = "time_server" TagNameNameServer = "name_server" TagNameDomainName = "domain_name" TagNameBootfile = "bootfile" TagNameTFTPserver = "tftp_server" )
View Source
const ( KeyRole = "dhcp" KeyLeases = "leases" KeyScopes = "scopes" )
View Source
const (
EventTopicDHCPCreateLease = "roles.dhcp.lease.create"
)
View Source
const (
EventTopicDHCPLeasePut = "roles.dhcp.lease.put"
)
Variables ¶
View Source
var TagMap map[OptionTagName]uint8 = map[OptionTagName]uint8{ TagNameSubnetMask: dhcpv4.OptionSubnetMask.Code(), TagNameRouter: dhcpv4.OptionRouter.Code(), TagNameTimeServer: dhcpv4.OptionTimeServer.Code(), TagNameNameServer: dhcpv4.OptionNameServer.Code(), TagNameDomainName: dhcpv4.OptionDomainName.Code(), TagNameBootfile: dhcpv4.OptionBootfileName.Code(), TagNameTFTPserver: dhcpv4.OptionTFTPServerName.Code(), }
Functions ¶
func OptionValue ¶
Types ¶
type OptionTagName ¶
type OptionTagName string
Click to show internal directories.
Click to hide internal directories.