Documentation ¶
Overview ¶
Package dhcp contains generated bindings for API file dhcp.api.
Contents:
3 enums 6 structs 29 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type DHCP6AddressInfo
- type DHCP6ClientsEnableDisable
- func (*DHCP6ClientsEnableDisable) GetCrcString() string
- func (*DHCP6ClientsEnableDisable) GetMessageName() string
- func (*DHCP6ClientsEnableDisable) GetMessageType() api.MessageType
- func (m *DHCP6ClientsEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6ClientsEnableDisable) Reset()
- func (m *DHCP6ClientsEnableDisable) Size() (size int)
- func (m *DHCP6ClientsEnableDisable) Unmarshal(b []byte) error
- type DHCP6ClientsEnableDisableReply
- func (*DHCP6ClientsEnableDisableReply) GetCrcString() string
- func (*DHCP6ClientsEnableDisableReply) GetMessageName() string
- func (*DHCP6ClientsEnableDisableReply) GetMessageType() api.MessageType
- func (m *DHCP6ClientsEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6ClientsEnableDisableReply) Reset()
- func (m *DHCP6ClientsEnableDisableReply) Size() (size int)
- func (m *DHCP6ClientsEnableDisableReply) Unmarshal(b []byte) error
- type DHCP6DuidLlSet
- func (*DHCP6DuidLlSet) GetCrcString() string
- func (*DHCP6DuidLlSet) GetMessageName() string
- func (*DHCP6DuidLlSet) GetMessageType() api.MessageType
- func (m *DHCP6DuidLlSet) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6DuidLlSet) Reset()
- func (m *DHCP6DuidLlSet) Size() (size int)
- func (m *DHCP6DuidLlSet) Unmarshal(b []byte) error
- type DHCP6DuidLlSetReply
- func (*DHCP6DuidLlSetReply) GetCrcString() string
- func (*DHCP6DuidLlSetReply) GetMessageName() string
- func (*DHCP6DuidLlSetReply) GetMessageType() api.MessageType
- func (m *DHCP6DuidLlSetReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6DuidLlSetReply) Reset()
- func (m *DHCP6DuidLlSetReply) Size() (size int)
- func (m *DHCP6DuidLlSetReply) Unmarshal(b []byte) error
- type DHCP6PdPrefixInfo
- type DHCP6PdReplyEvent
- func (*DHCP6PdReplyEvent) GetCrcString() string
- func (*DHCP6PdReplyEvent) GetMessageName() string
- func (*DHCP6PdReplyEvent) GetMessageType() api.MessageType
- func (m *DHCP6PdReplyEvent) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6PdReplyEvent) Reset()
- func (m *DHCP6PdReplyEvent) Size() (size int)
- func (m *DHCP6PdReplyEvent) Unmarshal(b []byte) error
- type DHCP6PdSendClientMessage
- func (*DHCP6PdSendClientMessage) GetCrcString() string
- func (*DHCP6PdSendClientMessage) GetMessageName() string
- func (*DHCP6PdSendClientMessage) GetMessageType() api.MessageType
- func (m *DHCP6PdSendClientMessage) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6PdSendClientMessage) Reset()
- func (m *DHCP6PdSendClientMessage) Size() (size int)
- func (m *DHCP6PdSendClientMessage) Unmarshal(b []byte) error
- type DHCP6PdSendClientMessageReply
- func (*DHCP6PdSendClientMessageReply) GetCrcString() string
- func (*DHCP6PdSendClientMessageReply) GetMessageName() string
- func (*DHCP6PdSendClientMessageReply) GetMessageType() api.MessageType
- func (m *DHCP6PdSendClientMessageReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6PdSendClientMessageReply) Reset()
- func (m *DHCP6PdSendClientMessageReply) Size() (size int)
- func (m *DHCP6PdSendClientMessageReply) Unmarshal(b []byte) error
- type DHCP6ReplyEvent
- func (*DHCP6ReplyEvent) GetCrcString() string
- func (*DHCP6ReplyEvent) GetMessageName() string
- func (*DHCP6ReplyEvent) GetMessageType() api.MessageType
- func (m *DHCP6ReplyEvent) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6ReplyEvent) Reset()
- func (m *DHCP6ReplyEvent) Size() (size int)
- func (m *DHCP6ReplyEvent) Unmarshal(b []byte) error
- type DHCP6SendClientMessage
- func (*DHCP6SendClientMessage) GetCrcString() string
- func (*DHCP6SendClientMessage) GetMessageName() string
- func (*DHCP6SendClientMessage) GetMessageType() api.MessageType
- func (m *DHCP6SendClientMessage) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6SendClientMessage) Reset()
- func (m *DHCP6SendClientMessage) Size() (size int)
- func (m *DHCP6SendClientMessage) Unmarshal(b []byte) error
- type DHCP6SendClientMessageReply
- func (*DHCP6SendClientMessageReply) GetCrcString() string
- func (*DHCP6SendClientMessageReply) GetMessageName() string
- func (*DHCP6SendClientMessageReply) GetMessageType() api.MessageType
- func (m *DHCP6SendClientMessageReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCP6SendClientMessageReply) Reset()
- func (m *DHCP6SendClientMessageReply) Size() (size int)
- func (m *DHCP6SendClientMessageReply) Unmarshal(b []byte) error
- type DHCPClient
- type DHCPClientConfig
- func (*DHCPClientConfig) GetCrcString() string
- func (*DHCPClientConfig) GetMessageName() string
- func (*DHCPClientConfig) GetMessageType() api.MessageType
- func (m *DHCPClientConfig) Marshal(b []byte) ([]byte, error)
- func (m *DHCPClientConfig) Reset()
- func (m *DHCPClientConfig) Size() (size int)
- func (m *DHCPClientConfig) Unmarshal(b []byte) error
- type DHCPClientConfigReply
- func (*DHCPClientConfigReply) GetCrcString() string
- func (*DHCPClientConfigReply) GetMessageName() string
- func (*DHCPClientConfigReply) GetMessageType() api.MessageType
- func (m *DHCPClientConfigReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCPClientConfigReply) Reset()
- func (m *DHCPClientConfigReply) Size() (size int)
- func (m *DHCPClientConfigReply) Unmarshal(b []byte) error
- type DHCPClientDetails
- func (*DHCPClientDetails) GetCrcString() string
- func (*DHCPClientDetails) GetMessageName() string
- func (*DHCPClientDetails) GetMessageType() api.MessageType
- func (m *DHCPClientDetails) Marshal(b []byte) ([]byte, error)
- func (m *DHCPClientDetails) Reset()
- func (m *DHCPClientDetails) Size() (size int)
- func (m *DHCPClientDetails) Unmarshal(b []byte) error
- type DHCPClientDump
- func (*DHCPClientDump) GetCrcString() string
- func (*DHCPClientDump) GetMessageName() string
- func (*DHCPClientDump) GetMessageType() api.MessageType
- func (m *DHCPClientDump) Marshal(b []byte) ([]byte, error)
- func (m *DHCPClientDump) Reset()
- func (m *DHCPClientDump) Size() (size int)
- func (m *DHCPClientDump) Unmarshal(b []byte) error
- type DHCPClientState
- type DHCPComplEvent
- func (*DHCPComplEvent) GetCrcString() string
- func (*DHCPComplEvent) GetMessageName() string
- func (*DHCPComplEvent) GetMessageType() api.MessageType
- func (m *DHCPComplEvent) Marshal(b []byte) ([]byte, error)
- func (m *DHCPComplEvent) Reset()
- func (m *DHCPComplEvent) Size() (size int)
- func (m *DHCPComplEvent) Unmarshal(b []byte) error
- type DHCPLease
- type DHCPPluginControlPing
- func (*DHCPPluginControlPing) GetCrcString() string
- func (*DHCPPluginControlPing) GetMessageName() string
- func (*DHCPPluginControlPing) GetMessageType() api.MessageType
- func (m *DHCPPluginControlPing) Marshal(b []byte) ([]byte, error)
- func (m *DHCPPluginControlPing) Reset()
- func (m *DHCPPluginControlPing) Size() (size int)
- func (m *DHCPPluginControlPing) Unmarshal(b []byte) error
- type DHCPPluginControlPingReply
- func (*DHCPPluginControlPingReply) GetCrcString() string
- func (*DHCPPluginControlPingReply) GetMessageName() string
- func (*DHCPPluginControlPingReply) GetMessageType() api.MessageType
- func (m *DHCPPluginControlPingReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCPPluginControlPingReply) Reset()
- func (m *DHCPPluginControlPingReply) Size() (size int)
- func (m *DHCPPluginControlPingReply) Unmarshal(b []byte) error
- type DHCPPluginGetVersion
- func (*DHCPPluginGetVersion) GetCrcString() string
- func (*DHCPPluginGetVersion) GetMessageName() string
- func (*DHCPPluginGetVersion) GetMessageType() api.MessageType
- func (m *DHCPPluginGetVersion) Marshal(b []byte) ([]byte, error)
- func (m *DHCPPluginGetVersion) Reset()
- func (m *DHCPPluginGetVersion) Size() (size int)
- func (m *DHCPPluginGetVersion) Unmarshal(b []byte) error
- type DHCPPluginGetVersionReply
- func (*DHCPPluginGetVersionReply) GetCrcString() string
- func (*DHCPPluginGetVersionReply) GetMessageName() string
- func (*DHCPPluginGetVersionReply) GetMessageType() api.MessageType
- func (m *DHCPPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCPPluginGetVersionReply) Reset()
- func (m *DHCPPluginGetVersionReply) Size() (size int)
- func (m *DHCPPluginGetVersionReply) Unmarshal(b []byte) error
- type DHCPProxyConfig
- func (*DHCPProxyConfig) GetCrcString() string
- func (*DHCPProxyConfig) GetMessageName() string
- func (*DHCPProxyConfig) GetMessageType() api.MessageType
- func (m *DHCPProxyConfig) Marshal(b []byte) ([]byte, error)
- func (m *DHCPProxyConfig) Reset()
- func (m *DHCPProxyConfig) Size() (size int)
- func (m *DHCPProxyConfig) Unmarshal(b []byte) error
- type DHCPProxyConfigReply
- func (*DHCPProxyConfigReply) GetCrcString() string
- func (*DHCPProxyConfigReply) GetMessageName() string
- func (*DHCPProxyConfigReply) GetMessageType() api.MessageType
- func (m *DHCPProxyConfigReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCPProxyConfigReply) Reset()
- func (m *DHCPProxyConfigReply) Size() (size int)
- func (m *DHCPProxyConfigReply) Unmarshal(b []byte) error
- type DHCPProxyDetails
- func (*DHCPProxyDetails) GetCrcString() string
- func (*DHCPProxyDetails) GetMessageName() string
- func (*DHCPProxyDetails) GetMessageType() api.MessageType
- func (m *DHCPProxyDetails) Marshal(b []byte) ([]byte, error)
- func (m *DHCPProxyDetails) Reset()
- func (m *DHCPProxyDetails) Size() (size int)
- func (m *DHCPProxyDetails) Unmarshal(b []byte) error
- type DHCPProxyDump
- func (*DHCPProxyDump) GetCrcString() string
- func (*DHCPProxyDump) GetMessageName() string
- func (*DHCPProxyDump) GetMessageType() api.MessageType
- func (m *DHCPProxyDump) Marshal(b []byte) ([]byte, error)
- func (m *DHCPProxyDump) Reset()
- func (m *DHCPProxyDump) Size() (size int)
- func (m *DHCPProxyDump) Unmarshal(b []byte) error
- type DHCPProxySetVss
- func (*DHCPProxySetVss) GetCrcString() string
- func (*DHCPProxySetVss) GetMessageName() string
- func (*DHCPProxySetVss) GetMessageType() api.MessageType
- func (m *DHCPProxySetVss) Marshal(b []byte) ([]byte, error)
- func (m *DHCPProxySetVss) Reset()
- func (m *DHCPProxySetVss) Size() (size int)
- func (m *DHCPProxySetVss) Unmarshal(b []byte) error
- type DHCPProxySetVssReply
- func (*DHCPProxySetVssReply) GetCrcString() string
- func (*DHCPProxySetVssReply) GetMessageName() string
- func (*DHCPProxySetVssReply) GetMessageType() api.MessageType
- func (m *DHCPProxySetVssReply) Marshal(b []byte) ([]byte, error)
- func (m *DHCPProxySetVssReply) Reset()
- func (m *DHCPProxySetVssReply) Size() (size int)
- func (m *DHCPProxySetVssReply) Unmarshal(b []byte) error
- type DHCPServer
- type Dhcpv6MsgType
- type DomainServer
- type RPCService
- type RPCService_DHCPClientDumpClient
- type RPCService_DHCPProxyDumpClient
- type VssType
- type WantDHCP6PdReplyEvents
- func (*WantDHCP6PdReplyEvents) GetCrcString() string
- func (*WantDHCP6PdReplyEvents) GetMessageName() string
- func (*WantDHCP6PdReplyEvents) GetMessageType() api.MessageType
- func (m *WantDHCP6PdReplyEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantDHCP6PdReplyEvents) Reset()
- func (m *WantDHCP6PdReplyEvents) Size() (size int)
- func (m *WantDHCP6PdReplyEvents) Unmarshal(b []byte) error
- type WantDHCP6PdReplyEventsReply
- func (*WantDHCP6PdReplyEventsReply) GetCrcString() string
- func (*WantDHCP6PdReplyEventsReply) GetMessageName() string
- func (*WantDHCP6PdReplyEventsReply) GetMessageType() api.MessageType
- func (m *WantDHCP6PdReplyEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantDHCP6PdReplyEventsReply) Reset()
- func (m *WantDHCP6PdReplyEventsReply) Size() (size int)
- func (m *WantDHCP6PdReplyEventsReply) Unmarshal(b []byte) error
- type WantDHCP6ReplyEvents
- func (*WantDHCP6ReplyEvents) GetCrcString() string
- func (*WantDHCP6ReplyEvents) GetMessageName() string
- func (*WantDHCP6ReplyEvents) GetMessageType() api.MessageType
- func (m *WantDHCP6ReplyEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantDHCP6ReplyEvents) Reset()
- func (m *WantDHCP6ReplyEvents) Size() (size int)
- func (m *WantDHCP6ReplyEvents) Unmarshal(b []byte) error
- type WantDHCP6ReplyEventsReply
- func (*WantDHCP6ReplyEventsReply) GetCrcString() string
- func (*WantDHCP6ReplyEventsReply) GetMessageName() string
- func (*WantDHCP6ReplyEventsReply) GetMessageType() api.MessageType
- func (m *WantDHCP6ReplyEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantDHCP6ReplyEventsReply) Reset()
- func (m *WantDHCP6ReplyEventsReply) Size() (size int)
- func (m *WantDHCP6ReplyEventsReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "dhcp" APIVersion = "3.0.1" VersionCrc = 0x3cf8291a )
Variables ¶
var ( DHCPClientState_name = map[uint32]string{ 1: "DHCP_CLIENT_STATE_API_DISCOVER", 2: "DHCP_CLIENT_STATE_API_REQUEST", 3: "DHCP_CLIENT_STATE_API_BOUND", } DHCPClientState_value = map[string]uint32{ "DHCP_CLIENT_STATE_API_DISCOVER": 1, "DHCP_CLIENT_STATE_API_REQUEST": 2, "DHCP_CLIENT_STATE_API_BOUND": 3, } )
var ( Dhcpv6MsgType_name = map[uint32]string{ 1: "DHCPV6_MSG_API_SOLICIT", 2: "DHCPV6_MSG_API_ADVERTISE", 3: "DHCPV6_MSG_API_REQUEST", 4: "DHCPV6_MSG_API_CONFIRM", 5: "DHCPV6_MSG_API_RENEW", 6: "DHCPV6_MSG_API_REBIND", 7: "DHCPV6_MSG_API_REPLY", 8: "DHCPV6_MSG_API_RELEASE", 9: "DHCPV6_MSG_API_DECLINE", 10: "DHCPV6_MSG_API_RECONFIGURE", 11: "DHCPV6_MSG_API_INFORMATION_REQUEST", 12: "DHCPV6_MSG_API_RELAY_FORW", 13: "DHCPV6_MSG_API_RELAY_REPL", } Dhcpv6MsgType_value = map[string]uint32{ "DHCPV6_MSG_API_SOLICIT": 1, "DHCPV6_MSG_API_ADVERTISE": 2, "DHCPV6_MSG_API_REQUEST": 3, "DHCPV6_MSG_API_CONFIRM": 4, "DHCPV6_MSG_API_RENEW": 5, "DHCPV6_MSG_API_REBIND": 6, "DHCPV6_MSG_API_REPLY": 7, "DHCPV6_MSG_API_RELEASE": 8, "DHCPV6_MSG_API_DECLINE": 9, "DHCPV6_MSG_API_RECONFIGURE": 10, "DHCPV6_MSG_API_INFORMATION_REQUEST": 11, "DHCPV6_MSG_API_RELAY_FORW": 12, "DHCPV6_MSG_API_RELAY_REPL": 13, } )
var ( VssType_name = map[uint32]string{ 0: "VSS_TYPE_API_ASCII", 1: "VSS_TYPE_API_VPN_ID", 123: "VSS_TYPE_API_INVALID", 255: "VSS_TYPE_API_DEFAULT", } VssType_value = map[string]uint32{ "VSS_TYPE_API_ASCII": 0, "VSS_TYPE_API_VPN_ID": 1, "VSS_TYPE_API_INVALID": 123, "VSS_TYPE_API_DEFAULT": 255, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type DHCP6AddressInfo ¶
type DHCP6AddressInfo struct { Address ip_types.IP6Address `binapi:"ip6_address,name=address" json:"address,omitempty"` ValidTime uint32 `binapi:"u32,name=valid_time" json:"valid_time,omitempty"` PreferredTime uint32 `binapi:"u32,name=preferred_time" json:"preferred_time,omitempty"` }
DHCP6AddressInfo defines type 'dhcp6_address_info'.
type DHCP6ClientsEnableDisable ¶
type DHCP6ClientsEnableDisable struct {
Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
}
DHCP6ClientsEnableDisable defines message 'dhcp6_clients_enable_disable'.
func (*DHCP6ClientsEnableDisable) GetCrcString ¶
func (*DHCP6ClientsEnableDisable) GetCrcString() string
func (*DHCP6ClientsEnableDisable) GetMessageName ¶
func (*DHCP6ClientsEnableDisable) GetMessageName() string
func (*DHCP6ClientsEnableDisable) GetMessageType ¶
func (*DHCP6ClientsEnableDisable) GetMessageType() api.MessageType
func (*DHCP6ClientsEnableDisable) Marshal ¶
func (m *DHCP6ClientsEnableDisable) Marshal(b []byte) ([]byte, error)
func (*DHCP6ClientsEnableDisable) Reset ¶
func (m *DHCP6ClientsEnableDisable) Reset()
func (*DHCP6ClientsEnableDisable) Size ¶
func (m *DHCP6ClientsEnableDisable) Size() (size int)
func (*DHCP6ClientsEnableDisable) Unmarshal ¶
func (m *DHCP6ClientsEnableDisable) Unmarshal(b []byte) error
type DHCP6ClientsEnableDisableReply ¶
type DHCP6ClientsEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCP6ClientsEnableDisableReply defines message 'dhcp6_clients_enable_disable_reply'.
func (*DHCP6ClientsEnableDisableReply) GetCrcString ¶
func (*DHCP6ClientsEnableDisableReply) GetCrcString() string
func (*DHCP6ClientsEnableDisableReply) GetMessageName ¶
func (*DHCP6ClientsEnableDisableReply) GetMessageName() string
func (*DHCP6ClientsEnableDisableReply) GetMessageType ¶
func (*DHCP6ClientsEnableDisableReply) GetMessageType() api.MessageType
func (*DHCP6ClientsEnableDisableReply) Marshal ¶
func (m *DHCP6ClientsEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*DHCP6ClientsEnableDisableReply) Reset ¶
func (m *DHCP6ClientsEnableDisableReply) Reset()
func (*DHCP6ClientsEnableDisableReply) Size ¶
func (m *DHCP6ClientsEnableDisableReply) Size() (size int)
func (*DHCP6ClientsEnableDisableReply) Unmarshal ¶
func (m *DHCP6ClientsEnableDisableReply) Unmarshal(b []byte) error
type DHCP6DuidLlSet ¶
type DHCP6DuidLlSet struct {
DuidLl []byte `binapi:"u8[10],name=duid_ll" json:"duid_ll,omitempty"`
}
DHCP6DuidLlSet defines message 'dhcp6_duid_ll_set'.
func (*DHCP6DuidLlSet) GetCrcString ¶
func (*DHCP6DuidLlSet) GetCrcString() string
func (*DHCP6DuidLlSet) GetMessageName ¶
func (*DHCP6DuidLlSet) GetMessageName() string
func (*DHCP6DuidLlSet) GetMessageType ¶
func (*DHCP6DuidLlSet) GetMessageType() api.MessageType
func (*DHCP6DuidLlSet) Reset ¶
func (m *DHCP6DuidLlSet) Reset()
func (*DHCP6DuidLlSet) Size ¶
func (m *DHCP6DuidLlSet) Size() (size int)
func (*DHCP6DuidLlSet) Unmarshal ¶
func (m *DHCP6DuidLlSet) Unmarshal(b []byte) error
type DHCP6DuidLlSetReply ¶
type DHCP6DuidLlSetReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCP6DuidLlSetReply defines message 'dhcp6_duid_ll_set_reply'.
func (*DHCP6DuidLlSetReply) GetCrcString ¶
func (*DHCP6DuidLlSetReply) GetCrcString() string
func (*DHCP6DuidLlSetReply) GetMessageName ¶
func (*DHCP6DuidLlSetReply) GetMessageName() string
func (*DHCP6DuidLlSetReply) GetMessageType ¶
func (*DHCP6DuidLlSetReply) GetMessageType() api.MessageType
func (*DHCP6DuidLlSetReply) Marshal ¶
func (m *DHCP6DuidLlSetReply) Marshal(b []byte) ([]byte, error)
func (*DHCP6DuidLlSetReply) Reset ¶
func (m *DHCP6DuidLlSetReply) Reset()
func (*DHCP6DuidLlSetReply) Size ¶
func (m *DHCP6DuidLlSetReply) Size() (size int)
func (*DHCP6DuidLlSetReply) Unmarshal ¶
func (m *DHCP6DuidLlSetReply) Unmarshal(b []byte) error
type DHCP6PdPrefixInfo ¶
type DHCP6PdPrefixInfo struct { Prefix ip_types.IP6Prefix `binapi:"ip6_prefix,name=prefix" json:"prefix,omitempty"` ValidTime uint32 `binapi:"u32,name=valid_time" json:"valid_time,omitempty"` PreferredTime uint32 `binapi:"u32,name=preferred_time" json:"preferred_time,omitempty"` }
DHCP6PdPrefixInfo defines type 'dhcp6_pd_prefix_info'.
type DHCP6PdReplyEvent ¶
type DHCP6PdReplyEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` ServerIndex uint32 `binapi:"u32,name=server_index" json:"server_index,omitempty"` MsgType Dhcpv6MsgType `binapi:"dhcpv6_msg_type,name=msg_type" json:"msg_type,omitempty"` T1 uint32 `binapi:"u32,name=T1" json:"T1,omitempty"` T2 uint32 `binapi:"u32,name=T2" json:"T2,omitempty"` InnerStatusCode uint16 `binapi:"u16,name=inner_status_code" json:"inner_status_code,omitempty"` StatusCode uint16 `binapi:"u16,name=status_code" json:"status_code,omitempty"` Preference uint8 `binapi:"u8,name=preference" json:"preference,omitempty"` NPrefixes uint32 `binapi:"u32,name=n_prefixes" json:"-"` Prefixes []DHCP6PdPrefixInfo `binapi:"dhcp6_pd_prefix_info[n_prefixes],name=prefixes" json:"prefixes,omitempty"` }
DHCP6PdReplyEvent defines message 'dhcp6_pd_reply_event'.
func (*DHCP6PdReplyEvent) GetCrcString ¶
func (*DHCP6PdReplyEvent) GetCrcString() string
func (*DHCP6PdReplyEvent) GetMessageName ¶
func (*DHCP6PdReplyEvent) GetMessageName() string
func (*DHCP6PdReplyEvent) GetMessageType ¶
func (*DHCP6PdReplyEvent) GetMessageType() api.MessageType
func (*DHCP6PdReplyEvent) Reset ¶
func (m *DHCP6PdReplyEvent) Reset()
func (*DHCP6PdReplyEvent) Size ¶
func (m *DHCP6PdReplyEvent) Size() (size int)
func (*DHCP6PdReplyEvent) Unmarshal ¶
func (m *DHCP6PdReplyEvent) Unmarshal(b []byte) error
type DHCP6PdSendClientMessage ¶
type DHCP6PdSendClientMessage struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` ServerIndex uint32 `binapi:"u32,name=server_index" json:"server_index,omitempty"` Irt uint32 `binapi:"u32,name=irt" json:"irt,omitempty"` Mrt uint32 `binapi:"u32,name=mrt" json:"mrt,omitempty"` Mrc uint32 `binapi:"u32,name=mrc" json:"mrc,omitempty"` Mrd uint32 `binapi:"u32,name=mrd" json:"mrd,omitempty"` Stop bool `binapi:"bool,name=stop" json:"stop,omitempty"` MsgType Dhcpv6MsgType `binapi:"dhcpv6_msg_type,name=msg_type" json:"msg_type,omitempty"` T1 uint32 `binapi:"u32,name=T1" json:"T1,omitempty"` T2 uint32 `binapi:"u32,name=T2" json:"T2,omitempty"` NPrefixes uint32 `binapi:"u32,name=n_prefixes" json:"-"` Prefixes []DHCP6PdPrefixInfo `binapi:"dhcp6_pd_prefix_info[n_prefixes],name=prefixes" json:"prefixes,omitempty"` }
DHCP6PdSendClientMessage defines message 'dhcp6_pd_send_client_message'.
func (*DHCP6PdSendClientMessage) GetCrcString ¶
func (*DHCP6PdSendClientMessage) GetCrcString() string
func (*DHCP6PdSendClientMessage) GetMessageName ¶
func (*DHCP6PdSendClientMessage) GetMessageName() string
func (*DHCP6PdSendClientMessage) GetMessageType ¶
func (*DHCP6PdSendClientMessage) GetMessageType() api.MessageType
func (*DHCP6PdSendClientMessage) Marshal ¶
func (m *DHCP6PdSendClientMessage) Marshal(b []byte) ([]byte, error)
func (*DHCP6PdSendClientMessage) Reset ¶
func (m *DHCP6PdSendClientMessage) Reset()
func (*DHCP6PdSendClientMessage) Size ¶
func (m *DHCP6PdSendClientMessage) Size() (size int)
func (*DHCP6PdSendClientMessage) Unmarshal ¶
func (m *DHCP6PdSendClientMessage) Unmarshal(b []byte) error
type DHCP6PdSendClientMessageReply ¶
type DHCP6PdSendClientMessageReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCP6PdSendClientMessageReply defines message 'dhcp6_pd_send_client_message_reply'.
func (*DHCP6PdSendClientMessageReply) GetCrcString ¶
func (*DHCP6PdSendClientMessageReply) GetCrcString() string
func (*DHCP6PdSendClientMessageReply) GetMessageName ¶
func (*DHCP6PdSendClientMessageReply) GetMessageName() string
func (*DHCP6PdSendClientMessageReply) GetMessageType ¶
func (*DHCP6PdSendClientMessageReply) GetMessageType() api.MessageType
func (*DHCP6PdSendClientMessageReply) Marshal ¶
func (m *DHCP6PdSendClientMessageReply) Marshal(b []byte) ([]byte, error)
func (*DHCP6PdSendClientMessageReply) Reset ¶
func (m *DHCP6PdSendClientMessageReply) Reset()
func (*DHCP6PdSendClientMessageReply) Size ¶
func (m *DHCP6PdSendClientMessageReply) Size() (size int)
func (*DHCP6PdSendClientMessageReply) Unmarshal ¶
func (m *DHCP6PdSendClientMessageReply) Unmarshal(b []byte) error
type DHCP6ReplyEvent ¶
type DHCP6ReplyEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` ServerIndex uint32 `binapi:"u32,name=server_index" json:"server_index,omitempty"` MsgType Dhcpv6MsgType `binapi:"dhcpv6_msg_type,name=msg_type" json:"msg_type,omitempty"` T1 uint32 `binapi:"u32,name=T1" json:"T1,omitempty"` T2 uint32 `binapi:"u32,name=T2" json:"T2,omitempty"` InnerStatusCode uint16 `binapi:"u16,name=inner_status_code" json:"inner_status_code,omitempty"` StatusCode uint16 `binapi:"u16,name=status_code" json:"status_code,omitempty"` Preference uint8 `binapi:"u8,name=preference" json:"preference,omitempty"` NAddresses uint32 `binapi:"u32,name=n_addresses" json:"-"` Addresses []DHCP6AddressInfo `binapi:"dhcp6_address_info[n_addresses],name=addresses" json:"addresses,omitempty"` }
DHCP6ReplyEvent defines message 'dhcp6_reply_event'.
func (*DHCP6ReplyEvent) GetCrcString ¶
func (*DHCP6ReplyEvent) GetCrcString() string
func (*DHCP6ReplyEvent) GetMessageName ¶
func (*DHCP6ReplyEvent) GetMessageName() string
func (*DHCP6ReplyEvent) GetMessageType ¶
func (*DHCP6ReplyEvent) GetMessageType() api.MessageType
func (*DHCP6ReplyEvent) Reset ¶
func (m *DHCP6ReplyEvent) Reset()
func (*DHCP6ReplyEvent) Size ¶
func (m *DHCP6ReplyEvent) Size() (size int)
func (*DHCP6ReplyEvent) Unmarshal ¶
func (m *DHCP6ReplyEvent) Unmarshal(b []byte) error
type DHCP6SendClientMessage ¶
type DHCP6SendClientMessage struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` ServerIndex uint32 `binapi:"u32,name=server_index" json:"server_index,omitempty"` Irt uint32 `binapi:"u32,name=irt" json:"irt,omitempty"` Mrt uint32 `binapi:"u32,name=mrt" json:"mrt,omitempty"` Mrc uint32 `binapi:"u32,name=mrc" json:"mrc,omitempty"` Mrd uint32 `binapi:"u32,name=mrd" json:"mrd,omitempty"` Stop bool `binapi:"bool,name=stop" json:"stop,omitempty"` MsgType Dhcpv6MsgType `binapi:"dhcpv6_msg_type,name=msg_type" json:"msg_type,omitempty"` T1 uint32 `binapi:"u32,name=T1" json:"T1,omitempty"` T2 uint32 `binapi:"u32,name=T2" json:"T2,omitempty"` NAddresses uint32 `binapi:"u32,name=n_addresses" json:"-"` Addresses []DHCP6AddressInfo `binapi:"dhcp6_address_info[n_addresses],name=addresses" json:"addresses,omitempty"` }
DHCP6SendClientMessage defines message 'dhcp6_send_client_message'.
func (*DHCP6SendClientMessage) GetCrcString ¶
func (*DHCP6SendClientMessage) GetCrcString() string
func (*DHCP6SendClientMessage) GetMessageName ¶
func (*DHCP6SendClientMessage) GetMessageName() string
func (*DHCP6SendClientMessage) GetMessageType ¶
func (*DHCP6SendClientMessage) GetMessageType() api.MessageType
func (*DHCP6SendClientMessage) Marshal ¶
func (m *DHCP6SendClientMessage) Marshal(b []byte) ([]byte, error)
func (*DHCP6SendClientMessage) Reset ¶
func (m *DHCP6SendClientMessage) Reset()
func (*DHCP6SendClientMessage) Size ¶
func (m *DHCP6SendClientMessage) Size() (size int)
func (*DHCP6SendClientMessage) Unmarshal ¶
func (m *DHCP6SendClientMessage) Unmarshal(b []byte) error
type DHCP6SendClientMessageReply ¶
type DHCP6SendClientMessageReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCP6SendClientMessageReply defines message 'dhcp6_send_client_message_reply'.
func (*DHCP6SendClientMessageReply) GetCrcString ¶
func (*DHCP6SendClientMessageReply) GetCrcString() string
func (*DHCP6SendClientMessageReply) GetMessageName ¶
func (*DHCP6SendClientMessageReply) GetMessageName() string
func (*DHCP6SendClientMessageReply) GetMessageType ¶
func (*DHCP6SendClientMessageReply) GetMessageType() api.MessageType
func (*DHCP6SendClientMessageReply) Marshal ¶
func (m *DHCP6SendClientMessageReply) Marshal(b []byte) ([]byte, error)
func (*DHCP6SendClientMessageReply) Reset ¶
func (m *DHCP6SendClientMessageReply) Reset()
func (*DHCP6SendClientMessageReply) Size ¶
func (m *DHCP6SendClientMessageReply) Size() (size int)
func (*DHCP6SendClientMessageReply) Unmarshal ¶
func (m *DHCP6SendClientMessageReply) Unmarshal(b []byte) error
type DHCPClient ¶
type DHCPClient struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Hostname string `binapi:"string[64],name=hostname" json:"hostname,omitempty"` ID []byte `binapi:"u8[64],name=id" json:"id,omitempty"` WantDHCPEvent bool `binapi:"bool,name=want_dhcp_event" json:"want_dhcp_event,omitempty"` SetBroadcastFlag bool `binapi:"bool,name=set_broadcast_flag" json:"set_broadcast_flag,omitempty"` Dscp ip_types.IPDscp `binapi:"ip_dscp,name=dscp" json:"dscp,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
DHCPClient defines type 'dhcp_client'.
type DHCPClientConfig ¶
type DHCPClientConfig struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` Client DHCPClient `binapi:"dhcp_client,name=client" json:"client,omitempty"` }
DHCPClientConfig defines message 'dhcp_client_config'.
func (*DHCPClientConfig) GetCrcString ¶
func (*DHCPClientConfig) GetCrcString() string
func (*DHCPClientConfig) GetMessageName ¶
func (*DHCPClientConfig) GetMessageName() string
func (*DHCPClientConfig) GetMessageType ¶
func (*DHCPClientConfig) GetMessageType() api.MessageType
func (*DHCPClientConfig) Reset ¶
func (m *DHCPClientConfig) Reset()
func (*DHCPClientConfig) Size ¶
func (m *DHCPClientConfig) Size() (size int)
func (*DHCPClientConfig) Unmarshal ¶
func (m *DHCPClientConfig) Unmarshal(b []byte) error
type DHCPClientConfigReply ¶
type DHCPClientConfigReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCPClientConfigReply defines message 'dhcp_client_config_reply'.
func (*DHCPClientConfigReply) GetCrcString ¶
func (*DHCPClientConfigReply) GetCrcString() string
func (*DHCPClientConfigReply) GetMessageName ¶
func (*DHCPClientConfigReply) GetMessageName() string
func (*DHCPClientConfigReply) GetMessageType ¶
func (*DHCPClientConfigReply) GetMessageType() api.MessageType
func (*DHCPClientConfigReply) Marshal ¶
func (m *DHCPClientConfigReply) Marshal(b []byte) ([]byte, error)
func (*DHCPClientConfigReply) Reset ¶
func (m *DHCPClientConfigReply) Reset()
func (*DHCPClientConfigReply) Size ¶
func (m *DHCPClientConfigReply) Size() (size int)
func (*DHCPClientConfigReply) Unmarshal ¶
func (m *DHCPClientConfigReply) Unmarshal(b []byte) error
type DHCPClientDetails ¶
type DHCPClientDetails struct { Client DHCPClient `binapi:"dhcp_client,name=client" json:"client,omitempty"` Lease DHCPLease `binapi:"dhcp_lease,name=lease" json:"lease,omitempty"` }
DHCPClientDetails defines message 'dhcp_client_details'.
func (*DHCPClientDetails) GetCrcString ¶
func (*DHCPClientDetails) GetCrcString() string
func (*DHCPClientDetails) GetMessageName ¶
func (*DHCPClientDetails) GetMessageName() string
func (*DHCPClientDetails) GetMessageType ¶
func (*DHCPClientDetails) GetMessageType() api.MessageType
func (*DHCPClientDetails) Reset ¶
func (m *DHCPClientDetails) Reset()
func (*DHCPClientDetails) Size ¶
func (m *DHCPClientDetails) Size() (size int)
func (*DHCPClientDetails) Unmarshal ¶
func (m *DHCPClientDetails) Unmarshal(b []byte) error
type DHCPClientDump ¶
type DHCPClientDump struct{}
DHCPClientDump defines message 'dhcp_client_dump'.
func (*DHCPClientDump) GetCrcString ¶
func (*DHCPClientDump) GetCrcString() string
func (*DHCPClientDump) GetMessageName ¶
func (*DHCPClientDump) GetMessageName() string
func (*DHCPClientDump) GetMessageType ¶
func (*DHCPClientDump) GetMessageType() api.MessageType
func (*DHCPClientDump) Reset ¶
func (m *DHCPClientDump) Reset()
func (*DHCPClientDump) Size ¶
func (m *DHCPClientDump) Size() (size int)
func (*DHCPClientDump) Unmarshal ¶
func (m *DHCPClientDump) Unmarshal(b []byte) error
type DHCPClientState ¶
type DHCPClientState uint32
DHCPClientState defines enum 'dhcp_client_state'.
const ( DHCP_CLIENT_STATE_API_DISCOVER DHCPClientState = 1 DHCP_CLIENT_STATE_API_REQUEST DHCPClientState = 2 DHCP_CLIENT_STATE_API_BOUND DHCPClientState = 3 )
func (DHCPClientState) String ¶
func (x DHCPClientState) String() string
type DHCPComplEvent ¶
type DHCPComplEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` Lease DHCPLease `binapi:"dhcp_lease,name=lease" json:"lease,omitempty"` }
DHCPComplEvent defines message 'dhcp_compl_event'.
func (*DHCPComplEvent) GetCrcString ¶
func (*DHCPComplEvent) GetCrcString() string
func (*DHCPComplEvent) GetMessageName ¶
func (*DHCPComplEvent) GetMessageName() string
func (*DHCPComplEvent) GetMessageType ¶
func (*DHCPComplEvent) GetMessageType() api.MessageType
func (*DHCPComplEvent) Reset ¶
func (m *DHCPComplEvent) Reset()
func (*DHCPComplEvent) Size ¶
func (m *DHCPComplEvent) Size() (size int)
func (*DHCPComplEvent) Unmarshal ¶
func (m *DHCPComplEvent) Unmarshal(b []byte) error
type DHCPLease ¶
type DHCPLease struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` State DHCPClientState `binapi:"dhcp_client_state,name=state" json:"state,omitempty"` IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` Hostname string `binapi:"string[64],name=hostname" json:"hostname,omitempty"` MaskWidth uint8 `binapi:"u8,name=mask_width" json:"mask_width,omitempty"` HostAddress ip_types.Address `binapi:"address,name=host_address" json:"host_address,omitempty"` RouterAddress ip_types.Address `binapi:"address,name=router_address" json:"router_address,omitempty"` HostMac ethernet_types.MacAddress `binapi:"mac_address,name=host_mac" json:"host_mac,omitempty"` Count uint8 `binapi:"u8,name=count" json:"-"` DomainServer []DomainServer `binapi:"domain_server[count],name=domain_server" json:"domain_server,omitempty"` }
DHCPLease defines type 'dhcp_lease'.
type DHCPPluginControlPing ¶
type DHCPPluginControlPing struct{}
DHCPPluginControlPing defines message 'dhcp_plugin_control_ping'.
func (*DHCPPluginControlPing) GetCrcString ¶
func (*DHCPPluginControlPing) GetCrcString() string
func (*DHCPPluginControlPing) GetMessageName ¶
func (*DHCPPluginControlPing) GetMessageName() string
func (*DHCPPluginControlPing) GetMessageType ¶
func (*DHCPPluginControlPing) GetMessageType() api.MessageType
func (*DHCPPluginControlPing) Marshal ¶
func (m *DHCPPluginControlPing) Marshal(b []byte) ([]byte, error)
func (*DHCPPluginControlPing) Reset ¶
func (m *DHCPPluginControlPing) Reset()
func (*DHCPPluginControlPing) Size ¶
func (m *DHCPPluginControlPing) Size() (size int)
func (*DHCPPluginControlPing) Unmarshal ¶
func (m *DHCPPluginControlPing) Unmarshal(b []byte) error
type DHCPPluginControlPingReply ¶
type DHCPPluginControlPingReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"` VpePID uint32 `binapi:"u32,name=vpe_pid" json:"vpe_pid,omitempty"` }
DHCPPluginControlPingReply defines message 'dhcp_plugin_control_ping_reply'.
func (*DHCPPluginControlPingReply) GetCrcString ¶
func (*DHCPPluginControlPingReply) GetCrcString() string
func (*DHCPPluginControlPingReply) GetMessageName ¶
func (*DHCPPluginControlPingReply) GetMessageName() string
func (*DHCPPluginControlPingReply) GetMessageType ¶
func (*DHCPPluginControlPingReply) GetMessageType() api.MessageType
func (*DHCPPluginControlPingReply) Marshal ¶
func (m *DHCPPluginControlPingReply) Marshal(b []byte) ([]byte, error)
func (*DHCPPluginControlPingReply) Reset ¶
func (m *DHCPPluginControlPingReply) Reset()
func (*DHCPPluginControlPingReply) Size ¶
func (m *DHCPPluginControlPingReply) Size() (size int)
func (*DHCPPluginControlPingReply) Unmarshal ¶
func (m *DHCPPluginControlPingReply) Unmarshal(b []byte) error
type DHCPPluginGetVersion ¶
type DHCPPluginGetVersion struct{}
DHCPPluginGetVersion defines message 'dhcp_plugin_get_version'.
func (*DHCPPluginGetVersion) GetCrcString ¶
func (*DHCPPluginGetVersion) GetCrcString() string
func (*DHCPPluginGetVersion) GetMessageName ¶
func (*DHCPPluginGetVersion) GetMessageName() string
func (*DHCPPluginGetVersion) GetMessageType ¶
func (*DHCPPluginGetVersion) GetMessageType() api.MessageType
func (*DHCPPluginGetVersion) Marshal ¶
func (m *DHCPPluginGetVersion) Marshal(b []byte) ([]byte, error)
func (*DHCPPluginGetVersion) Reset ¶
func (m *DHCPPluginGetVersion) Reset()
func (*DHCPPluginGetVersion) Size ¶
func (m *DHCPPluginGetVersion) Size() (size int)
func (*DHCPPluginGetVersion) Unmarshal ¶
func (m *DHCPPluginGetVersion) Unmarshal(b []byte) error
type DHCPPluginGetVersionReply ¶
type DHCPPluginGetVersionReply struct { Major uint32 `binapi:"u32,name=major" json:"major,omitempty"` Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"` }
DHCPPluginGetVersionReply defines message 'dhcp_plugin_get_version_reply'.
func (*DHCPPluginGetVersionReply) GetCrcString ¶
func (*DHCPPluginGetVersionReply) GetCrcString() string
func (*DHCPPluginGetVersionReply) GetMessageName ¶
func (*DHCPPluginGetVersionReply) GetMessageName() string
func (*DHCPPluginGetVersionReply) GetMessageType ¶
func (*DHCPPluginGetVersionReply) GetMessageType() api.MessageType
func (*DHCPPluginGetVersionReply) Marshal ¶
func (m *DHCPPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
func (*DHCPPluginGetVersionReply) Reset ¶
func (m *DHCPPluginGetVersionReply) Reset()
func (*DHCPPluginGetVersionReply) Size ¶
func (m *DHCPPluginGetVersionReply) Size() (size int)
func (*DHCPPluginGetVersionReply) Unmarshal ¶
func (m *DHCPPluginGetVersionReply) Unmarshal(b []byte) error
type DHCPProxyConfig ¶
type DHCPProxyConfig struct { RxVrfID uint32 `binapi:"u32,name=rx_vrf_id" json:"rx_vrf_id,omitempty"` ServerVrfID uint32 `binapi:"u32,name=server_vrf_id" json:"server_vrf_id,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` DHCPServer ip_types.Address `binapi:"address,name=dhcp_server" json:"dhcp_server,omitempty"` DHCPSrcAddress ip_types.Address `binapi:"address,name=dhcp_src_address" json:"dhcp_src_address,omitempty"` }
DHCPProxyConfig defines message 'dhcp_proxy_config'.
func (*DHCPProxyConfig) GetCrcString ¶
func (*DHCPProxyConfig) GetCrcString() string
func (*DHCPProxyConfig) GetMessageName ¶
func (*DHCPProxyConfig) GetMessageName() string
func (*DHCPProxyConfig) GetMessageType ¶
func (*DHCPProxyConfig) GetMessageType() api.MessageType
func (*DHCPProxyConfig) Reset ¶
func (m *DHCPProxyConfig) Reset()
func (*DHCPProxyConfig) Size ¶
func (m *DHCPProxyConfig) Size() (size int)
func (*DHCPProxyConfig) Unmarshal ¶
func (m *DHCPProxyConfig) Unmarshal(b []byte) error
type DHCPProxyConfigReply ¶
type DHCPProxyConfigReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCPProxyConfigReply defines message 'dhcp_proxy_config_reply'.
func (*DHCPProxyConfigReply) GetCrcString ¶
func (*DHCPProxyConfigReply) GetCrcString() string
func (*DHCPProxyConfigReply) GetMessageName ¶
func (*DHCPProxyConfigReply) GetMessageName() string
func (*DHCPProxyConfigReply) GetMessageType ¶
func (*DHCPProxyConfigReply) GetMessageType() api.MessageType
func (*DHCPProxyConfigReply) Marshal ¶
func (m *DHCPProxyConfigReply) Marshal(b []byte) ([]byte, error)
func (*DHCPProxyConfigReply) Reset ¶
func (m *DHCPProxyConfigReply) Reset()
func (*DHCPProxyConfigReply) Size ¶
func (m *DHCPProxyConfigReply) Size() (size int)
func (*DHCPProxyConfigReply) Unmarshal ¶
func (m *DHCPProxyConfigReply) Unmarshal(b []byte) error
type DHCPProxyDetails ¶
type DHCPProxyDetails struct { RxVrfID uint32 `binapi:"u32,name=rx_vrf_id" json:"rx_vrf_id,omitempty"` VssOui uint32 `binapi:"u32,name=vss_oui" json:"vss_oui,omitempty"` VssFibID uint32 `binapi:"u32,name=vss_fib_id" json:"vss_fib_id,omitempty"` VssType VssType `binapi:"vss_type,name=vss_type" json:"vss_type,omitempty"` IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` VssVPNAsciiID string `binapi:"string[129],name=vss_vpn_ascii_id" json:"vss_vpn_ascii_id,omitempty"` DHCPSrcAddress ip_types.Address `binapi:"address,name=dhcp_src_address" json:"dhcp_src_address,omitempty"` Count uint8 `binapi:"u8,name=count" json:"-"` Servers []DHCPServer `binapi:"dhcp_server[count],name=servers" json:"servers,omitempty"` }
DHCPProxyDetails defines message 'dhcp_proxy_details'.
func (*DHCPProxyDetails) GetCrcString ¶
func (*DHCPProxyDetails) GetCrcString() string
func (*DHCPProxyDetails) GetMessageName ¶
func (*DHCPProxyDetails) GetMessageName() string
func (*DHCPProxyDetails) GetMessageType ¶
func (*DHCPProxyDetails) GetMessageType() api.MessageType
func (*DHCPProxyDetails) Reset ¶
func (m *DHCPProxyDetails) Reset()
func (*DHCPProxyDetails) Size ¶
func (m *DHCPProxyDetails) Size() (size int)
func (*DHCPProxyDetails) Unmarshal ¶
func (m *DHCPProxyDetails) Unmarshal(b []byte) error
type DHCPProxyDump ¶
type DHCPProxyDump struct {
IsIP6 bool `binapi:"bool,name=is_ip6" json:"is_ip6,omitempty"`
}
DHCPProxyDump defines message 'dhcp_proxy_dump'.
func (*DHCPProxyDump) GetCrcString ¶
func (*DHCPProxyDump) GetCrcString() string
func (*DHCPProxyDump) GetMessageName ¶
func (*DHCPProxyDump) GetMessageName() string
func (*DHCPProxyDump) GetMessageType ¶
func (*DHCPProxyDump) GetMessageType() api.MessageType
func (*DHCPProxyDump) Reset ¶
func (m *DHCPProxyDump) Reset()
func (*DHCPProxyDump) Size ¶
func (m *DHCPProxyDump) Size() (size int)
func (*DHCPProxyDump) Unmarshal ¶
func (m *DHCPProxyDump) Unmarshal(b []byte) error
type DHCPProxySetVss ¶
type DHCPProxySetVss struct { TblID uint32 `binapi:"u32,name=tbl_id" json:"tbl_id,omitempty"` VssType VssType `binapi:"vss_type,name=vss_type" json:"vss_type,omitempty"` VPNAsciiID string `binapi:"string[129],name=vpn_ascii_id" json:"vpn_ascii_id,omitempty"` Oui uint32 `binapi:"u32,name=oui" json:"oui,omitempty"` VPNIndex uint32 `binapi:"u32,name=vpn_index" json:"vpn_index,omitempty"` IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` }
DHCPProxySetVss defines message 'dhcp_proxy_set_vss'.
func (*DHCPProxySetVss) GetCrcString ¶
func (*DHCPProxySetVss) GetCrcString() string
func (*DHCPProxySetVss) GetMessageName ¶
func (*DHCPProxySetVss) GetMessageName() string
func (*DHCPProxySetVss) GetMessageType ¶
func (*DHCPProxySetVss) GetMessageType() api.MessageType
func (*DHCPProxySetVss) Reset ¶
func (m *DHCPProxySetVss) Reset()
func (*DHCPProxySetVss) Size ¶
func (m *DHCPProxySetVss) Size() (size int)
func (*DHCPProxySetVss) Unmarshal ¶
func (m *DHCPProxySetVss) Unmarshal(b []byte) error
type DHCPProxySetVssReply ¶
type DHCPProxySetVssReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DHCPProxySetVssReply defines message 'dhcp_proxy_set_vss_reply'.
func (*DHCPProxySetVssReply) GetCrcString ¶
func (*DHCPProxySetVssReply) GetCrcString() string
func (*DHCPProxySetVssReply) GetMessageName ¶
func (*DHCPProxySetVssReply) GetMessageName() string
func (*DHCPProxySetVssReply) GetMessageType ¶
func (*DHCPProxySetVssReply) GetMessageType() api.MessageType
func (*DHCPProxySetVssReply) Marshal ¶
func (m *DHCPProxySetVssReply) Marshal(b []byte) ([]byte, error)
func (*DHCPProxySetVssReply) Reset ¶
func (m *DHCPProxySetVssReply) Reset()
func (*DHCPProxySetVssReply) Size ¶
func (m *DHCPProxySetVssReply) Size() (size int)
func (*DHCPProxySetVssReply) Unmarshal ¶
func (m *DHCPProxySetVssReply) Unmarshal(b []byte) error
type DHCPServer ¶
type DHCPServer struct { ServerVrfID uint32 `binapi:"u32,name=server_vrf_id" json:"server_vrf_id,omitempty"` DHCPServer ip_types.Address `binapi:"address,name=dhcp_server" json:"dhcp_server,omitempty"` }
DHCPServer defines type 'dhcp_server'.
type Dhcpv6MsgType ¶
type Dhcpv6MsgType uint32
Dhcpv6MsgType defines enum 'dhcpv6_msg_type'.
const ( DHCPV6_MSG_API_SOLICIT Dhcpv6MsgType = 1 DHCPV6_MSG_API_ADVERTISE Dhcpv6MsgType = 2 DHCPV6_MSG_API_REQUEST Dhcpv6MsgType = 3 DHCPV6_MSG_API_CONFIRM Dhcpv6MsgType = 4 DHCPV6_MSG_API_RENEW Dhcpv6MsgType = 5 DHCPV6_MSG_API_REBIND Dhcpv6MsgType = 6 DHCPV6_MSG_API_REPLY Dhcpv6MsgType = 7 DHCPV6_MSG_API_RELEASE Dhcpv6MsgType = 8 DHCPV6_MSG_API_DECLINE Dhcpv6MsgType = 9 DHCPV6_MSG_API_RECONFIGURE Dhcpv6MsgType = 10 DHCPV6_MSG_API_INFORMATION_REQUEST Dhcpv6MsgType = 11 DHCPV6_MSG_API_RELAY_FORW Dhcpv6MsgType = 12 DHCPV6_MSG_API_RELAY_REPL Dhcpv6MsgType = 13 )
func (Dhcpv6MsgType) String ¶
func (x Dhcpv6MsgType) String() string
type DomainServer ¶
type DomainServer struct {
Address ip_types.Address `binapi:"address,name=address" json:"address,omitempty"`
}
DomainServer defines type 'domain_server'.
type RPCService ¶
type RPCService interface { DHCP6ClientsEnableDisable(ctx context.Context, in *DHCP6ClientsEnableDisable) (*DHCP6ClientsEnableDisableReply, error) DHCP6DuidLlSet(ctx context.Context, in *DHCP6DuidLlSet) (*DHCP6DuidLlSetReply, error) DHCP6PdSendClientMessage(ctx context.Context, in *DHCP6PdSendClientMessage) (*DHCP6PdSendClientMessageReply, error) DHCP6SendClientMessage(ctx context.Context, in *DHCP6SendClientMessage) (*DHCP6SendClientMessageReply, error) DHCPClientConfig(ctx context.Context, in *DHCPClientConfig) (*DHCPClientConfigReply, error) DHCPClientDump(ctx context.Context, in *DHCPClientDump) (RPCService_DHCPClientDumpClient, error) DHCPPluginControlPing(ctx context.Context, in *DHCPPluginControlPing) (*DHCPPluginControlPingReply, error) DHCPPluginGetVersion(ctx context.Context, in *DHCPPluginGetVersion) (*DHCPPluginGetVersionReply, error) DHCPProxyConfig(ctx context.Context, in *DHCPProxyConfig) (*DHCPProxyConfigReply, error) DHCPProxyDump(ctx context.Context, in *DHCPProxyDump) (RPCService_DHCPProxyDumpClient, error) DHCPProxySetVss(ctx context.Context, in *DHCPProxySetVss) (*DHCPProxySetVssReply, error) WantDHCP6PdReplyEvents(ctx context.Context, in *WantDHCP6PdReplyEvents) (*WantDHCP6PdReplyEventsReply, error) WantDHCP6ReplyEvents(ctx context.Context, in *WantDHCP6ReplyEvents) (*WantDHCP6ReplyEventsReply, error) }
RPCService defines RPC service dhcp.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_DHCPClientDumpClient ¶
type RPCService_DHCPClientDumpClient interface { Recv() (*DHCPClientDetails, error) api.Stream }
type RPCService_DHCPProxyDumpClient ¶
type RPCService_DHCPProxyDumpClient interface { Recv() (*DHCPProxyDetails, error) api.Stream }
type WantDHCP6PdReplyEvents ¶
type WantDHCP6PdReplyEvents struct { EnableDisable bool `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
WantDHCP6PdReplyEvents defines message 'want_dhcp6_pd_reply_events'.
func (*WantDHCP6PdReplyEvents) GetCrcString ¶
func (*WantDHCP6PdReplyEvents) GetCrcString() string
func (*WantDHCP6PdReplyEvents) GetMessageName ¶
func (*WantDHCP6PdReplyEvents) GetMessageName() string
func (*WantDHCP6PdReplyEvents) GetMessageType ¶
func (*WantDHCP6PdReplyEvents) GetMessageType() api.MessageType
func (*WantDHCP6PdReplyEvents) Marshal ¶
func (m *WantDHCP6PdReplyEvents) Marshal(b []byte) ([]byte, error)
func (*WantDHCP6PdReplyEvents) Reset ¶
func (m *WantDHCP6PdReplyEvents) Reset()
func (*WantDHCP6PdReplyEvents) Size ¶
func (m *WantDHCP6PdReplyEvents) Size() (size int)
func (*WantDHCP6PdReplyEvents) Unmarshal ¶
func (m *WantDHCP6PdReplyEvents) Unmarshal(b []byte) error
type WantDHCP6PdReplyEventsReply ¶
type WantDHCP6PdReplyEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantDHCP6PdReplyEventsReply defines message 'want_dhcp6_pd_reply_events_reply'.
func (*WantDHCP6PdReplyEventsReply) GetCrcString ¶
func (*WantDHCP6PdReplyEventsReply) GetCrcString() string
func (*WantDHCP6PdReplyEventsReply) GetMessageName ¶
func (*WantDHCP6PdReplyEventsReply) GetMessageName() string
func (*WantDHCP6PdReplyEventsReply) GetMessageType ¶
func (*WantDHCP6PdReplyEventsReply) GetMessageType() api.MessageType
func (*WantDHCP6PdReplyEventsReply) Marshal ¶
func (m *WantDHCP6PdReplyEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantDHCP6PdReplyEventsReply) Reset ¶
func (m *WantDHCP6PdReplyEventsReply) Reset()
func (*WantDHCP6PdReplyEventsReply) Size ¶
func (m *WantDHCP6PdReplyEventsReply) Size() (size int)
func (*WantDHCP6PdReplyEventsReply) Unmarshal ¶
func (m *WantDHCP6PdReplyEventsReply) Unmarshal(b []byte) error
type WantDHCP6ReplyEvents ¶
type WantDHCP6ReplyEvents struct { EnableDisable uint8 `binapi:"u8,name=enable_disable" json:"enable_disable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
WantDHCP6ReplyEvents defines message 'want_dhcp6_reply_events'.
func (*WantDHCP6ReplyEvents) GetCrcString ¶
func (*WantDHCP6ReplyEvents) GetCrcString() string
func (*WantDHCP6ReplyEvents) GetMessageName ¶
func (*WantDHCP6ReplyEvents) GetMessageName() string
func (*WantDHCP6ReplyEvents) GetMessageType ¶
func (*WantDHCP6ReplyEvents) GetMessageType() api.MessageType
func (*WantDHCP6ReplyEvents) Marshal ¶
func (m *WantDHCP6ReplyEvents) Marshal(b []byte) ([]byte, error)
func (*WantDHCP6ReplyEvents) Reset ¶
func (m *WantDHCP6ReplyEvents) Reset()
func (*WantDHCP6ReplyEvents) Size ¶
func (m *WantDHCP6ReplyEvents) Size() (size int)
func (*WantDHCP6ReplyEvents) Unmarshal ¶
func (m *WantDHCP6ReplyEvents) Unmarshal(b []byte) error
type WantDHCP6ReplyEventsReply ¶
type WantDHCP6ReplyEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantDHCP6ReplyEventsReply defines message 'want_dhcp6_reply_events_reply'.
func (*WantDHCP6ReplyEventsReply) GetCrcString ¶
func (*WantDHCP6ReplyEventsReply) GetCrcString() string
func (*WantDHCP6ReplyEventsReply) GetMessageName ¶
func (*WantDHCP6ReplyEventsReply) GetMessageName() string
func (*WantDHCP6ReplyEventsReply) GetMessageType ¶
func (*WantDHCP6ReplyEventsReply) GetMessageType() api.MessageType
func (*WantDHCP6ReplyEventsReply) Marshal ¶
func (m *WantDHCP6ReplyEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantDHCP6ReplyEventsReply) Reset ¶
func (m *WantDHCP6ReplyEventsReply) Reset()
func (*WantDHCP6ReplyEventsReply) Size ¶
func (m *WantDHCP6ReplyEventsReply) Size() (size int)
func (*WantDHCP6ReplyEventsReply) Unmarshal ¶
func (m *WantDHCP6ReplyEventsReply) Unmarshal(b []byte) error