dhcp

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package dhcp is a generated from VPP binary API module 'dhcp'.

 It contains following objects:
	 11 services
	  5 types
	 25 messages

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type DHCP6AddressInfo added in v1.8.1

type DHCP6AddressInfo struct {
	Address       []byte `struc:"[16]byte"`
	ValidTime     uint32
	PreferredTime uint32
}

DHCP6AddressInfo represents VPP binary API type 'dhcp6_address_info':

func (*DHCP6AddressInfo) GetCrcString added in v1.8.1

func (*DHCP6AddressInfo) GetCrcString() string

func (*DHCP6AddressInfo) GetTypeName added in v1.8.1

func (*DHCP6AddressInfo) GetTypeName() string

type DHCP6ClientsEnableDisable added in v1.8.1

type DHCP6ClientsEnableDisable struct {
	Enable uint8
}

DHCP6ClientsEnableDisable represents VPP binary API message 'dhcp6_clients_enable_disable':

func (*DHCP6ClientsEnableDisable) GetCrcString added in v1.8.1

func (*DHCP6ClientsEnableDisable) GetCrcString() string

func (*DHCP6ClientsEnableDisable) GetMessageName added in v1.8.1

func (*DHCP6ClientsEnableDisable) GetMessageName() string

func (*DHCP6ClientsEnableDisable) GetMessageType added in v1.8.1

func (*DHCP6ClientsEnableDisable) GetMessageType() api.MessageType

type DHCP6ClientsEnableDisableReply added in v1.8.1

type DHCP6ClientsEnableDisableReply struct {
	Retval int32
}

DHCP6ClientsEnableDisableReply represents VPP binary API message 'dhcp6_clients_enable_disable_reply':

func (*DHCP6ClientsEnableDisableReply) GetCrcString added in v1.8.1

func (*DHCP6ClientsEnableDisableReply) GetCrcString() string

func (*DHCP6ClientsEnableDisableReply) GetMessageName added in v1.8.1

func (*DHCP6ClientsEnableDisableReply) GetMessageName() string

func (*DHCP6ClientsEnableDisableReply) GetMessageType added in v1.8.1

type DHCP6DuidLlSet added in v1.8.1

type DHCP6DuidLlSet struct {
	DuidLl []byte `struc:"[10]byte"`
}

DHCP6DuidLlSet represents VPP binary API message 'dhcp6_duid_ll_set':

func (*DHCP6DuidLlSet) GetCrcString added in v1.8.1

func (*DHCP6DuidLlSet) GetCrcString() string

func (*DHCP6DuidLlSet) GetMessageName added in v1.8.1

func (*DHCP6DuidLlSet) GetMessageName() string

func (*DHCP6DuidLlSet) GetMessageType added in v1.8.1

func (*DHCP6DuidLlSet) GetMessageType() api.MessageType

type DHCP6DuidLlSetReply added in v1.8.1

type DHCP6DuidLlSetReply struct {
	Retval int32
}

DHCP6DuidLlSetReply represents VPP binary API message 'dhcp6_duid_ll_set_reply':

func (*DHCP6DuidLlSetReply) GetCrcString added in v1.8.1

func (*DHCP6DuidLlSetReply) GetCrcString() string

func (*DHCP6DuidLlSetReply) GetMessageName added in v1.8.1

func (*DHCP6DuidLlSetReply) GetMessageName() string

func (*DHCP6DuidLlSetReply) GetMessageType added in v1.8.1

func (*DHCP6DuidLlSetReply) GetMessageType() api.MessageType

type DHCP6PdPrefixInfo added in v1.8.1

type DHCP6PdPrefixInfo struct {
	Prefix        []byte `struc:"[16]byte"`
	PrefixLength  uint8
	ValidTime     uint32
	PreferredTime uint32
}

DHCP6PdPrefixInfo represents VPP binary API type 'dhcp6_pd_prefix_info':

func (*DHCP6PdPrefixInfo) GetCrcString added in v1.8.1

func (*DHCP6PdPrefixInfo) GetCrcString() string

func (*DHCP6PdPrefixInfo) GetTypeName added in v1.8.1

func (*DHCP6PdPrefixInfo) GetTypeName() string

type DHCP6PdReplyEvent added in v1.8.1

type DHCP6PdReplyEvent struct {
	PID             uint32
	SwIfIndex       uint32
	ServerIndex     uint32
	MsgType         uint8
	T1              uint32
	T2              uint32
	InnerStatusCode uint16
	StatusCode      uint16
	Preference      uint8
	NPrefixes       uint32 `struc:"sizeof=Prefixes"`
	Prefixes        []DHCP6PdPrefixInfo
}

DHCP6PdReplyEvent represents VPP binary API message 'dhcp6_pd_reply_event':

func (*DHCP6PdReplyEvent) GetCrcString added in v1.8.1

func (*DHCP6PdReplyEvent) GetCrcString() string

func (*DHCP6PdReplyEvent) GetMessageName added in v1.8.1

func (*DHCP6PdReplyEvent) GetMessageName() string

func (*DHCP6PdReplyEvent) GetMessageType added in v1.8.1

func (*DHCP6PdReplyEvent) GetMessageType() api.MessageType

type DHCP6PdSendClientMessage added in v1.8.1

type DHCP6PdSendClientMessage struct {
	SwIfIndex   uint32
	ServerIndex uint32
	Irt         uint32
	Mrt         uint32
	Mrc         uint32
	Mrd         uint32
	Stop        uint8
	MsgType     uint8
	T1          uint32
	T2          uint32
	NPrefixes   uint32 `struc:"sizeof=Prefixes"`
	Prefixes    []DHCP6PdPrefixInfo
}

DHCP6PdSendClientMessage represents VPP binary API message 'dhcp6_pd_send_client_message':

func (*DHCP6PdSendClientMessage) GetCrcString added in v1.8.1

func (*DHCP6PdSendClientMessage) GetCrcString() string

func (*DHCP6PdSendClientMessage) GetMessageName added in v1.8.1

func (*DHCP6PdSendClientMessage) GetMessageName() string

func (*DHCP6PdSendClientMessage) GetMessageType added in v1.8.1

func (*DHCP6PdSendClientMessage) GetMessageType() api.MessageType

type DHCP6PdSendClientMessageReply added in v1.8.1

type DHCP6PdSendClientMessageReply struct {
	Retval int32
}

DHCP6PdSendClientMessageReply represents VPP binary API message 'dhcp6_pd_send_client_message_reply':

func (*DHCP6PdSendClientMessageReply) GetCrcString added in v1.8.1

func (*DHCP6PdSendClientMessageReply) GetCrcString() string

func (*DHCP6PdSendClientMessageReply) GetMessageName added in v1.8.1

func (*DHCP6PdSendClientMessageReply) GetMessageName() string

func (*DHCP6PdSendClientMessageReply) GetMessageType added in v1.8.1

func (*DHCP6PdSendClientMessageReply) GetMessageType() api.MessageType

type DHCP6ReplyEvent added in v1.8.1

type DHCP6ReplyEvent struct {
	PID             uint32
	SwIfIndex       uint32
	ServerIndex     uint32
	MsgType         uint8
	T1              uint32
	T2              uint32
	InnerStatusCode uint16
	StatusCode      uint16
	Preference      uint8
	NAddresses      uint32 `struc:"sizeof=Addresses"`
	Addresses       []DHCP6AddressInfo
}

DHCP6ReplyEvent represents VPP binary API message 'dhcp6_reply_event':

func (*DHCP6ReplyEvent) GetCrcString added in v1.8.1

func (*DHCP6ReplyEvent) GetCrcString() string

func (*DHCP6ReplyEvent) GetMessageName added in v1.8.1

func (*DHCP6ReplyEvent) GetMessageName() string

func (*DHCP6ReplyEvent) GetMessageType added in v1.8.1

func (*DHCP6ReplyEvent) GetMessageType() api.MessageType

type DHCP6SendClientMessage added in v1.8.1

type DHCP6SendClientMessage struct {
	SwIfIndex   uint32
	ServerIndex uint32
	Irt         uint32
	Mrt         uint32
	Mrc         uint32
	Mrd         uint32
	Stop        uint8
	MsgType     uint8
	T1          uint32
	T2          uint32
	NAddresses  uint32 `struc:"sizeof=Addresses"`
	Addresses   []DHCP6AddressInfo
}

DHCP6SendClientMessage represents VPP binary API message 'dhcp6_send_client_message':

func (*DHCP6SendClientMessage) GetCrcString added in v1.8.1

func (*DHCP6SendClientMessage) GetCrcString() string

func (*DHCP6SendClientMessage) GetMessageName added in v1.8.1

func (*DHCP6SendClientMessage) GetMessageName() string

func (*DHCP6SendClientMessage) GetMessageType added in v1.8.1

func (*DHCP6SendClientMessage) GetMessageType() api.MessageType

type DHCP6SendClientMessageReply added in v1.8.1

type DHCP6SendClientMessageReply struct {
	Retval int32
}

DHCP6SendClientMessageReply represents VPP binary API message 'dhcp6_send_client_message_reply':

func (*DHCP6SendClientMessageReply) GetCrcString added in v1.8.1

func (*DHCP6SendClientMessageReply) GetCrcString() string

func (*DHCP6SendClientMessageReply) GetMessageName added in v1.8.1

func (*DHCP6SendClientMessageReply) GetMessageName() string

func (*DHCP6SendClientMessageReply) GetMessageType added in v1.8.1

func (*DHCP6SendClientMessageReply) GetMessageType() api.MessageType

type DHCPClient added in v1.8.1

type DHCPClient struct {
	SwIfIndex        uint32
	Hostname         []byte `struc:"[64]byte"`
	ID               []byte `struc:"[64]byte"`
	WantDHCPEvent    uint8
	SetBroadcastFlag uint8
	PID              uint32
}

DHCPClient represents VPP binary API type 'dhcp_client':

func (*DHCPClient) GetCrcString added in v1.8.1

func (*DHCPClient) GetCrcString() string

func (*DHCPClient) GetTypeName added in v1.8.1

func (*DHCPClient) GetTypeName() string

type DHCPClientConfig added in v1.8.1

type DHCPClientConfig struct {
	IsAdd  uint8
	Client DHCPClient
}

DHCPClientConfig represents VPP binary API message 'dhcp_client_config':

func (*DHCPClientConfig) GetCrcString added in v1.8.1

func (*DHCPClientConfig) GetCrcString() string

func (*DHCPClientConfig) GetMessageName added in v1.8.1

func (*DHCPClientConfig) GetMessageName() string

func (*DHCPClientConfig) GetMessageType added in v1.8.1

func (*DHCPClientConfig) GetMessageType() api.MessageType

type DHCPClientConfigReply added in v1.8.1

type DHCPClientConfigReply struct {
	Retval int32
}

DHCPClientConfigReply represents VPP binary API message 'dhcp_client_config_reply':

func (*DHCPClientConfigReply) GetCrcString added in v1.8.1

func (*DHCPClientConfigReply) GetCrcString() string

func (*DHCPClientConfigReply) GetMessageName added in v1.8.1

func (*DHCPClientConfigReply) GetMessageName() string

func (*DHCPClientConfigReply) GetMessageType added in v1.8.1

func (*DHCPClientConfigReply) GetMessageType() api.MessageType

type DHCPClientDetails added in v1.8.1

type DHCPClientDetails struct {
	Client DHCPClient
	Lease  DHCPLease
}

DHCPClientDetails represents VPP binary API message 'dhcp_client_details':

func (*DHCPClientDetails) GetCrcString added in v1.8.1

func (*DHCPClientDetails) GetCrcString() string

func (*DHCPClientDetails) GetMessageName added in v1.8.1

func (*DHCPClientDetails) GetMessageName() string

func (*DHCPClientDetails) GetMessageType added in v1.8.1

func (*DHCPClientDetails) GetMessageType() api.MessageType

type DHCPClientDump added in v1.8.1

type DHCPClientDump struct{}

DHCPClientDump represents VPP binary API message 'dhcp_client_dump':

func (*DHCPClientDump) GetCrcString added in v1.8.1

func (*DHCPClientDump) GetCrcString() string

func (*DHCPClientDump) GetMessageName added in v1.8.1

func (*DHCPClientDump) GetMessageName() string

func (*DHCPClientDump) GetMessageType added in v1.8.1

func (*DHCPClientDump) GetMessageType() api.MessageType

type DHCPComplEvent added in v1.8.1

type DHCPComplEvent struct {
	PID   uint32
	Lease DHCPLease
}

DHCPComplEvent represents VPP binary API message 'dhcp_compl_event':

func (*DHCPComplEvent) GetCrcString added in v1.8.1

func (*DHCPComplEvent) GetCrcString() string

func (*DHCPComplEvent) GetMessageName added in v1.8.1

func (*DHCPComplEvent) GetMessageName() string

func (*DHCPComplEvent) GetMessageType added in v1.8.1

func (*DHCPComplEvent) GetMessageType() api.MessageType

type DHCPLease added in v1.8.1

type DHCPLease struct {
	SwIfIndex     uint32
	State         uint8
	Hostname      []byte `struc:"[64]byte"`
	IsIPv6        uint8
	MaskWidth     uint8
	HostAddress   []byte `struc:"[16]byte"`
	RouterAddress []byte `struc:"[16]byte"`
	HostMac       []byte `struc:"[6]byte"`
}

DHCPLease represents VPP binary API type 'dhcp_lease':

func (*DHCPLease) GetCrcString added in v1.8.1

func (*DHCPLease) GetCrcString() string

func (*DHCPLease) GetTypeName added in v1.8.1

func (*DHCPLease) GetTypeName() string

type DHCPProxyConfig added in v1.8.1

type DHCPProxyConfig struct {
	RxVrfID        uint32
	ServerVrfID    uint32
	IsIPv6         uint8
	IsAdd          uint8
	DHCPServer     []byte `struc:"[16]byte"`
	DHCPSrcAddress []byte `struc:"[16]byte"`
}

DHCPProxyConfig represents VPP binary API message 'dhcp_proxy_config':

func (*DHCPProxyConfig) GetCrcString added in v1.8.1

func (*DHCPProxyConfig) GetCrcString() string

func (*DHCPProxyConfig) GetMessageName added in v1.8.1

func (*DHCPProxyConfig) GetMessageName() string

func (*DHCPProxyConfig) GetMessageType added in v1.8.1

func (*DHCPProxyConfig) GetMessageType() api.MessageType

type DHCPProxyConfigReply added in v1.8.1

type DHCPProxyConfigReply struct {
	Retval int32
}

DHCPProxyConfigReply represents VPP binary API message 'dhcp_proxy_config_reply':

func (*DHCPProxyConfigReply) GetCrcString added in v1.8.1

func (*DHCPProxyConfigReply) GetCrcString() string

func (*DHCPProxyConfigReply) GetMessageName added in v1.8.1

func (*DHCPProxyConfigReply) GetMessageName() string

func (*DHCPProxyConfigReply) GetMessageType added in v1.8.1

func (*DHCPProxyConfigReply) GetMessageType() api.MessageType

type DHCPProxyDetails added in v1.8.1

type DHCPProxyDetails struct {
	RxVrfID        uint32
	VssOui         uint32
	VssFibID       uint32
	VssType        uint8
	VssVPNAsciiID  []byte `struc:"[129]byte"`
	IsIPv6         uint8
	DHCPSrcAddress []byte `struc:"[16]byte"`
	Count          uint8  `struc:"sizeof=Servers"`
	Servers        []DHCPServer
}

DHCPProxyDetails represents VPP binary API message 'dhcp_proxy_details':

func (*DHCPProxyDetails) GetCrcString added in v1.8.1

func (*DHCPProxyDetails) GetCrcString() string

func (*DHCPProxyDetails) GetMessageName added in v1.8.1

func (*DHCPProxyDetails) GetMessageName() string

func (*DHCPProxyDetails) GetMessageType added in v1.8.1

func (*DHCPProxyDetails) GetMessageType() api.MessageType

type DHCPProxyDump added in v1.8.1

type DHCPProxyDump struct {
	IsIP6 uint8
}

DHCPProxyDump represents VPP binary API message 'dhcp_proxy_dump':

func (*DHCPProxyDump) GetCrcString added in v1.8.1

func (*DHCPProxyDump) GetCrcString() string

func (*DHCPProxyDump) GetMessageName added in v1.8.1

func (*DHCPProxyDump) GetMessageName() string

func (*DHCPProxyDump) GetMessageType added in v1.8.1

func (*DHCPProxyDump) GetMessageType() api.MessageType

type DHCPProxySetVss added in v1.8.1

type DHCPProxySetVss struct {
	TblID      uint32
	VssType    uint8
	VPNAsciiID []byte `struc:"[129]byte"`
	Oui        uint32
	VPNIndex   uint32
	IsIPv6     uint8
	IsAdd      uint8
}

DHCPProxySetVss represents VPP binary API message 'dhcp_proxy_set_vss':

func (*DHCPProxySetVss) GetCrcString added in v1.8.1

func (*DHCPProxySetVss) GetCrcString() string

func (*DHCPProxySetVss) GetMessageName added in v1.8.1

func (*DHCPProxySetVss) GetMessageName() string

func (*DHCPProxySetVss) GetMessageType added in v1.8.1

func (*DHCPProxySetVss) GetMessageType() api.MessageType

type DHCPProxySetVssReply added in v1.8.1

type DHCPProxySetVssReply struct {
	Retval int32
}

DHCPProxySetVssReply represents VPP binary API message 'dhcp_proxy_set_vss_reply':

func (*DHCPProxySetVssReply) GetCrcString added in v1.8.1

func (*DHCPProxySetVssReply) GetCrcString() string

func (*DHCPProxySetVssReply) GetMessageName added in v1.8.1

func (*DHCPProxySetVssReply) GetMessageName() string

func (*DHCPProxySetVssReply) GetMessageType added in v1.8.1

func (*DHCPProxySetVssReply) GetMessageType() api.MessageType

type DHCPServer added in v1.8.1

type DHCPServer struct {
	ServerVrfID uint32
	DHCPServer  []byte `struc:"[16]byte"`
}

DHCPServer represents VPP binary API type 'dhcp_server':

func (*DHCPServer) GetCrcString added in v1.8.1

func (*DHCPServer) GetCrcString() string

func (*DHCPServer) GetTypeName added in v1.8.1

func (*DHCPServer) GetTypeName() string

type Services added in v1.8.1

type Services interface {
	DumpDHCPClient(*DHCPClientDump) ([]*DHCPClientDetails, error)
	DumpDHCPProxy(*DHCPProxyDump) ([]*DHCPProxyDetails, error)
	DHCP6ClientsEnableDisable(*DHCP6ClientsEnableDisable) (*DHCP6ClientsEnableDisableReply, error)
	DHCP6DuidLlSet(*DHCP6DuidLlSet) (*DHCP6DuidLlSetReply, error)
	DHCP6PdSendClientMessage(*DHCP6PdSendClientMessage) (*DHCP6PdSendClientMessageReply, error)
	DHCP6SendClientMessage(*DHCP6SendClientMessage) (*DHCP6SendClientMessageReply, error)
	DHCPClientConfig(*DHCPClientConfig) (*DHCPClientConfigReply, error)
	DHCPProxyConfig(*DHCPProxyConfig) (*DHCPProxyConfigReply, error)
	DHCPProxySetVss(*DHCPProxySetVss) (*DHCPProxySetVssReply, error)
	WantDHCP6PdReplyEvents(*WantDHCP6PdReplyEvents) (*WantDHCP6PdReplyEventsReply, error)
	WantDHCP6ReplyEvents(*WantDHCP6ReplyEvents) (*WantDHCP6ReplyEventsReply, error)
}

Services represents VPP binary API services:

type WantDHCP6PdReplyEvents added in v1.8.1

type WantDHCP6PdReplyEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantDHCP6PdReplyEvents represents VPP binary API message 'want_dhcp6_pd_reply_events':

func (*WantDHCP6PdReplyEvents) GetCrcString added in v1.8.1

func (*WantDHCP6PdReplyEvents) GetCrcString() string

func (*WantDHCP6PdReplyEvents) GetMessageName added in v1.8.1

func (*WantDHCP6PdReplyEvents) GetMessageName() string

func (*WantDHCP6PdReplyEvents) GetMessageType added in v1.8.1

func (*WantDHCP6PdReplyEvents) GetMessageType() api.MessageType

type WantDHCP6PdReplyEventsReply added in v1.8.1

type WantDHCP6PdReplyEventsReply struct {
	Retval int32
}

WantDHCP6PdReplyEventsReply represents VPP binary API message 'want_dhcp6_pd_reply_events_reply':

func (*WantDHCP6PdReplyEventsReply) GetCrcString added in v1.8.1

func (*WantDHCP6PdReplyEventsReply) GetCrcString() string

func (*WantDHCP6PdReplyEventsReply) GetMessageName added in v1.8.1

func (*WantDHCP6PdReplyEventsReply) GetMessageName() string

func (*WantDHCP6PdReplyEventsReply) GetMessageType added in v1.8.1

func (*WantDHCP6PdReplyEventsReply) GetMessageType() api.MessageType

type WantDHCP6ReplyEvents added in v1.8.1

type WantDHCP6ReplyEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantDHCP6ReplyEvents represents VPP binary API message 'want_dhcp6_reply_events':

func (*WantDHCP6ReplyEvents) GetCrcString added in v1.8.1

func (*WantDHCP6ReplyEvents) GetCrcString() string

func (*WantDHCP6ReplyEvents) GetMessageName added in v1.8.1

func (*WantDHCP6ReplyEvents) GetMessageName() string

func (*WantDHCP6ReplyEvents) GetMessageType added in v1.8.1

func (*WantDHCP6ReplyEvents) GetMessageType() api.MessageType

type WantDHCP6ReplyEventsReply added in v1.8.1

type WantDHCP6ReplyEventsReply struct {
	Retval int32
}

WantDHCP6ReplyEventsReply represents VPP binary API message 'want_dhcp6_reply_events_reply':

func (*WantDHCP6ReplyEventsReply) GetCrcString added in v1.8.1

func (*WantDHCP6ReplyEventsReply) GetCrcString() string

func (*WantDHCP6ReplyEventsReply) GetMessageName added in v1.8.1

func (*WantDHCP6ReplyEventsReply) GetMessageName() string

func (*WantDHCP6ReplyEventsReply) GetMessageType added in v1.8.1

func (*WantDHCP6ReplyEventsReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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