"help" : "--zone=[name] Zone, e.g. us-central1-b",
"shortdesc" : "Zone.",
"required" : "0",
"order" : 2
}
all_opt["project"] = {
"getopt" : ":",
"longopt" : "project",
"help" : "--project=[name] Project ID",
"shortdesc" : "Project ID.",
"required" : "0",
"order" : 3
}
all_opt["stackdriver-logging"] = {
"getopt" : "",
"longopt" : "stackdriver-logging",
"help" : "--stackdriver-logging Enable Logging to Stackdriver",
"shortdesc" : "Stackdriver-logging support.",
"longdesc" : "If enabled IP failover logs will be posted to stackdriver logging.",
"required" : "0",
"order" : 4
}
all_opt["baremetalsolution"] = {
"getopt" : "",
"longopt" : "baremetalsolution",
"help" : "--baremetalsolution Enable on bare metal",
"shortdesc" : "If enabled this is a bare metal offering from google.",
"required" : "0",
"order" : 5
}
all_opt["apitimeout"] = {
"getopt" : ":",
"type" : "second",
"longopt" : "apitimeout",
"help" : "--apitimeout=[seconds] Timeout to use for API calls",
"shortdesc" : "Timeout in seconds to use for API calls, default is 60.",
"required" : "0",
"default" : 60,
"order" : 6
}
all_opt["retries"] = {
"getopt" : ":",
"type" : "integer",
"longopt" : "retries",
"help" : "--retries=[retries] Number of retries on failure for API calls",
"shortdesc" : "Number of retries on failure for API calls, default is 3.",
"required" : "0",
"default" : 3,
"order" : 7
}
all_opt["retrysleep"] = {
"getopt" : ":",
"type" : "second",
"longopt" : "retrysleep",
"help" : "--retrysleep=[seconds] Time to sleep between API retries",
"shortdesc" : "Time to sleep in seconds between API retries, default is 5.",
"required" : "0",
"default" : 5,
"order" : 8
}
all_opt["serviceaccount"] = {
"getopt" : ":",
"longopt" : "serviceaccount",
"help" : "--serviceaccount=[filename] Service account json file location e.g. serviceaccount=/somedir/service_account.json",
"shortdesc" : "Service Account to use for authentication to the google cloud APIs.",
"required" : "0",
"order" : 9
}
all_opt["plugzonemap"] = {
"getopt" : ":",
"longopt" : "plugzonemap",
"help" : "--plugzonemap=[plugzonemap] Comma separated zone map when fencing multiple plugs",
"shortdesc" : "Comma separated zone map when fencing multiple plugs.",
"required" : "0",
"order" : 10
}
all_opt["proxyhost"] = {
"getopt" : ":",
"longopt" : "proxyhost",
"help" : "--proxyhost=[proxy_host] The proxy host to use, if one is needed to access the internet (Example: 10.122.0.33)",
"shortdesc" : "If a proxy is used for internet access, the proxy host should be specified.",
"required" : "0",
"order" : 11
}
all_opt["proxyport"] = {
"getopt" : ":",
"type" : "integer",
"longopt" : "proxyport",
"help" : "--proxyport=[proxy_port] The proxy port to use, if one is needed to access the internet (Example: 3127)",
"shortdesc" : "If a proxy is used for internet access, the proxy port should be specified.",
"required" : "0",
"order" : 12
}
all_opt["earlyexit"] = {
"getopt" : "",
"longopt" : "earlyexit",
- "help" : "--earlyexit Return early if reset is already in progress",
- "shortdesc" : "If an existing reset operation is detected, the fence agent will return before the operation completes with a 0 return code.",
+ "help" : "--earlyexit Return early from set_power_status if reset is already in progress, if power_cycle then do not wait for the reset",
+ "shortdesc" : "If running set_power_status and existing reset operation is detected or runnning power_cycle, the fence agent will return before the operation completes with a 0 return code.",
"required" : "0",
"order" : 13
}
all_opt["warntimeout"] = {
"getopt" : ":",
"type" : "second",
"longopt" : "warntimeout",
"help" : "--warntimeout=[warn_timeout] Timeout seconds before logging a warning and returning a 0 status code",
"shortdesc" : "If the operation is not completed within the timeout, the cluster operations are allowed to continue.",
"required" : "0",
"order" : 14
}
all_opt["errortimeout"] = {
"getopt" : ":",
"type" : "second",
"longopt" : "errortimeout",
"help" : "--errortimeout=[error_timeout] Timeout seconds before failing and returning a non-zero status code",
"shortdesc" : "If the operation is not completed within the timeout, cluster is notified of the operation failure.",
"required" : "0",
"order" : 15
}
all_opt["runonwarn"] = {
"getopt" : ":",
"longopt" : "runonwarn",
"help" : "--runonwarn=[run_on_warn] If a timeout occurs and warning is generated, run the supplied command",
"shortdesc" : "If a timeout would occur while running the agent, then the supplied command is run.",
"required" : "0",
"order" : 16
}
all_opt["runonfail"] = {
"getopt" : ":",
"longopt" : "runonfail",
"help" : "--runonfail=[run_on_fail] If a failure occurs, run the supplied command",
"shortdesc" : "If a failure would occur while running the agent, then the supplied command is run.",
- <shortdesc lang="en">If an existing reset operation is detected, the fence agent will return before the operation completes with a 0 return code.</shortdesc>
+ <shortdesc lang="en">If running set_power_status and existing reset operation is detected or runnning power_cycle, the fence agent will return before the operation completes with a 0 return code.</shortdesc>
<shortdesc lang="en">Level of debugging detail in output. Defaults to the number of --verbose flags specified on the command line, or to 1 if verbose=1 in a stonith device configuration (i.e., on stdin).</shortdesc>