Documentation ¶
Index ¶
- func GetIntfState(intfRef string) *config.IntfState
- func GetIntfStates(idx int, cnt int) (int, int, []config.IntfState)
- func GetIntfs(idx int, cnt int) (int, int, []config.Intf)
- func GetLLDPGlobalState(vrf string) (*config.GlobalState, error)
- func Init(svr *server.LLDPServer)
- func SendGlobalConfig(vrf, txrxMode string, enable, snoopAndDrop bool, tranmitInterval int32) (bool, error)
- func SendIntfConfig(intfRef, txrxMode string, enable bool) (bool, error)
- func SendPortStateChange(ifIndex int32, state string)
- func UpdateCache(sysInfo *config.SystemInfo)
- func UpdateGlobalConfig(vrf, txrxMode string, enable, snoopAndDrop bool, tranmitInterval int32) (bool, error)
- func UpdateIntfConfig(intfRef, txrxMode string, enable bool) (bool, error)
- type ApiLayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIntfState ¶
func GetLLDPGlobalState ¶
func GetLLDPGlobalState(vrf string) (*config.GlobalState, error)
func Init ¶
func Init(svr *server.LLDPServer)
func SendGlobalConfig ¶
func SendPortStateChange ¶
func UpdateCache ¶
func UpdateCache(sysInfo *config.SystemInfo)
func UpdateGlobalConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.