Documentation ¶
Index ¶
- func CloseSshClient(t *testing.T, c *SshClient)
- func DumpGnmiConfig(t *testing.T, msg string, s ygot.GoStruct)
- func ExecSshCmd(t *testing.T, c *SshClient, cmd string, logIO bool) (string, error)
- func GnmiDelete[T ygot.GoStruct](g *GnmiClient, q ygnmi.ConfigQuery[T])
- func GnmiGet[T ygot.GoStruct](g *GnmiClient, q ygnmi.SingletonQuery[T]) T
- func GnmiReplace[T ygot.GoStruct](g *GnmiClient, q ygnmi.ConfigQuery[T], val T)
- type DutApi
- type GnmiClient
- type SshClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseSshClient ¶
func ExecSshCmd ¶
func GnmiDelete ¶
func GnmiDelete[T ygot.GoStruct](g *GnmiClient, q ygnmi.ConfigQuery[T])
TODO: originally T was supposed to by 'any'
func GnmiGet ¶
func GnmiGet[T ygot.GoStruct](g *GnmiClient, q ygnmi.SingletonQuery[T]) T
TODO: originally T was supposed to by 'any'
func GnmiReplace ¶
func GnmiReplace[T ygot.GoStruct](g *GnmiClient, q ygnmi.ConfigQuery[T], val T)
TODO: originally T was supposed to by 'any'
Types ¶
type DutApi ¶
type DutApi struct {
// contains filtered or unexported fields
}
func (*DutApi) SetSshConfig ¶
type GnmiClient ¶
type GnmiClient struct {
// contains filtered or unexported fields
}
func NewGnmiClient ¶
func NewGnmiClient(d *DutApi) (*GnmiClient, error)
Directories ¶
Path | Synopsis |
---|---|
Package gnmi is a generated package which contains definitions of structs which represent a YANG schema.
|
Package gnmi is a generated package which contains definitions of structs which represent a YANG schema. |
acl
Package acl is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package acl is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
ateflow
Package ateflow is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package ateflow is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
definedsets
Package definedsets is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package definedsets is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
gnmipath
Package gnmipath is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package gnmipath is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
interfaces
Package interfaces is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package interfaces is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
keychain
Package keychain is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package keychain is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
lacp
Package lacp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package lacp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
lldp
Package lldp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package lldp is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
networkinstance
Package networkinstance is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package networkinstance is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
platform
Package platform is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package platform is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
qos
Package qos is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package qos is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
routingpolicy
Package routingpolicy is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package routingpolicy is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
sampling
Package sampling is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package sampling is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
system
Package system is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package system is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
terminaldevice
Package terminaldevice is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema.
|
Package terminaldevice is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. |
Click to show internal directories.
Click to hide internal directories.