Documentation ¶
Index ¶
Constants ¶
const ( InfoMsgColor = "\033[1;34m%s\033[0m\n" NoticeMsgColor = "\033[1;35m%s\033[0m\n" NotifMsgColor = "\033[1;33m%s\033[0m\n" ErrorMsgColor = "\033[1;31m%s\033[0m\n" InputReqMsgColor = "\033[0;32m%s\033[0m\n" DebugMsgColor = "\033[0;36m%s\033[0m\n" )
Variables ¶
This section is empty.
Functions ¶
func FailureFixedWithRetry ¶
func FailureFixedWithRetry()
FailureFixedWithRetry presents a scenario, in which interface fails to get created at a first attempt, but an automatic retry, triggered in the background after a delay, will succeed to create the interface and all the objects that were waiting for it.
func InterfaceRecreation ¶
func InterfaceRecreation()
InterfaceRecreation presents a scenario, in which the interface type is changed, which cannot be applied incrementally via Update, but requires the interface to be fully re-created, together with all the objects that depend on it.
func InvalidConfigFixedWithUpdate ¶
func InvalidConfigFixedWithUpdate()
InvalidConfigFixedWithUpdate presents a scenario, in which an interface is first defined with an invalid MAC address and therefore remains in the INVALID state. All the objects that depend on it must remain PENDING. The next update, however, will supply an updated interface configuration where the MAC address is fixed. The interface and all the associated pending objects are then successfully created.
func PendingAfterChange ¶
func PendingAfterChange()
PendingAfterChange presents a scenario, in which originally configured objects must be deleted and set as PENDING, because some another object, which they depend on, was set to be un-configured by an update transaction.
func PendingAfterResync ¶
func PendingAfterResync()
PendingAfterResync presents a scenario, in which some objects are pending after the first resync since their dependencies are not satisfied. Then, with the next update transaction, the missing items are set to be configured together with all the associated objects that were waiting for them.
func PerfTest ¶
func PerfTest()
func RevertedChange ¶
func RevertedChange()
RevertedChange presents a scenario, in which an update transaction fails and gets reverted.
func Run ¶
func Run(kvscheduler kvs.KVScheduler, setLogging func(debugMode bool))
Run runs a scenario selected by the user.
Types ¶
This section is empty.