Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsClusterStable ¶
func IsClusterStable(clients *testclient.ClientSet) (bool, error)
func SriovStable ¶
func SriovStable(operatorNamespace string, clients *testclient.ClientSet) (bool, error)
SriovStable tells if all the node states are in sync (and the cluster is ready for another round of tests)
Types ¶
type EnabledNodes ¶
type EnabledNodes struct { Nodes []string States map[string]sriovv1.SriovNetworkNodeState }
EnabledNodes provides info on sriov enabled nodes of the cluster.
func DiscoverSriov ¶
func DiscoverSriov(clients *testclient.ClientSet, operatorNamespace string) (*EnabledNodes, error)
DiscoverSriov retrieves Sriov related information of a given cluster.
func (*EnabledNodes) FindOneMellanoxSriovDevice ¶
func (n *EnabledNodes) FindOneMellanoxSriovDevice(node string) (*sriovv1.InterfaceExt, error)
FindOneMellanoxSriovDevice retrieves a valid sriov device for the given node.
func (*EnabledNodes) FindOneSriovDevice ¶
func (n *EnabledNodes) FindOneSriovDevice(node string) (*sriovv1.InterfaceExt, error)
FindOneSriovDevice retrieves a valid sriov device for the given node.
func (*EnabledNodes) FindSriovDevices ¶
func (n *EnabledNodes) FindSriovDevices(node string) ([]*sriovv1.InterfaceExt, error)
FindSriovDevices retrieves all valid sriov devices for the given node.
Click to show internal directories.
Click to hide internal directories.