Documentation ¶
Overview ¶
Package rollbacknetworks contains test configuration and validation of the networks supported by rollback.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var SupportedNetworks = []SupportedConfiguration{
{Config: pskConfig, Type: "PSK"},
{Config: peapWifiConfig, Type: "wifi PEAP"},
}
SupportedNetworks is the list of configurations to test they are preserved after rollback. Test a simple PSK network configuration and PEAP without certificates. TODO(b/227562233): Test all the type of networks that are supported and preserved during rollback.
Functions ¶
func VerifyNetwork ¶
VerifyNetwork checks if the configuration set is the expected one. The verification of the fields depends on the configuration set, so the appropriate verification methods are called for each of them.
Types ¶
type ConfigID ¶
type ConfigID int
ConfigID is the index of the configuration in the list of supported networks.
type SupportedConfiguration ¶
type SupportedConfiguration struct { Config nc.ConfigProperties Type string }
SupportedConfiguration contains the configuration of the network and its type. Type are for debug purposes and informational logs.