public class ProvisionVirtualizationWizardAction extends ScheduleKickstartWizardAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GUEST_NAME |
static java.lang.String |
LOCAL_STORAGE_GB |
static java.lang.String |
MAC_ADDRESS |
static java.lang.String |
MEMORY_ALLOCATION |
static java.lang.String |
PROFILE |
static java.lang.String |
VIRTUAL_BRIDGE |
static java.lang.String |
VIRTUAL_CPUS |
static java.lang.String |
VIRTUAL_FILE_PATH |
ALL_NETWORK_INTERFACES, BOND_GATEWAY, BOND_INTERFACE, BOND_IP_ADDRESS, BOND_NETMASK, BOND_OPTIONS, BOND_SLAVE_INTERFACES, BOND_STATIC, BOND_TYPE, CNAMES, CREATE_BOND_VALUE, DESTROY_DISKS, DONT_CREATE_BOND_VALUE, HAS_PROFILES, HAS_PROXIES, HIDDEN_BOND_SLAVE_INTERFACES, HOST_SID, IS_VIRTUAL_GUEST, KERNEL_PARAMS, KERNEL_PARAMS_CUSTOM, KERNEL_PARAMS_DISTRO, KERNEL_PARAMS_PROFILE, KERNEL_PARAMS_TYPE, NETWORK_INTERFACE, NETWORK_INTERFACES, NETWORK_TYPE, NEXT_ACTION, POST_KERNEL_PARAMS, POST_KERNEL_PARAMS_TYPE, PROXIES, PROXY_HOST, PROXY_HOST_CNAME, STATIC_BOND_VALUE, SYNC_PACKAGE_DISABED, SYNC_SYSTEM_DISABLED, SYNCH_PACKAGES, SYNCH_SYSTEMS, TARGET_PROFILE_TYPE, USE_IPV6_GATEWAY, VALID_CNAMES, VIRT_HOST_IS_REGISTERED
STEP_PARAM, STEP_START
Constructor and Description |
---|
ProvisionVirtualizationWizardAction() |
Modifier and Type | Method and Description |
---|---|
protected KickstartScheduleCommand |
getKickstartScheduleCommand(java.lang.Long sid,
User currentUser) |
protected ProvisionVirtualInstanceCommand |
getScheduleCommand(org.apache.struts.action.DynaActionForm form,
RequestContext ctx,
java.util.Date scheduleTime,
java.lang.String host)
Returns the kickstart schedule command
|
org.apache.struts.action.ActionForward |
runFirst(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.DynaActionForm form,
RequestContext ctx,
javax.servlet.http.HttpServletResponse response,
WizardStep step)
The first step in the wizard
|
org.apache.struts.action.ActionForward |
runSecond(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.DynaActionForm form,
RequestContext ctx,
javax.servlet.http.HttpServletResponse response,
WizardStep step)
The second step in the wizard
|
org.apache.struts.action.ActionForward |
runThird(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.DynaActionForm form,
RequestContext ctx,
javax.servlet.http.HttpServletResponse response,
WizardStep step)
The third step in the wizard
|
addRequestAttributes, generateWizardSteps, parseKernelOptions, parseKernelOptions, runFourth, setupProxyInfo, showDiskWarning, storeProxyInfo, validateBondSelections, validateFirstSelections
dispatch, execute, findMethods
addGlobalMessage, addGlobalMessage, addMessage, createErrorMessage, createErrorMessageWithMultipleArgs, createLabelValueList, createMessage, createSuccessMessage, getStrutsDelegate, isSubmitted, l10n, localize, lv, lve, lvel10n, lvl10n, makeParamMap, saveMessages
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveToken, setLocale, setServlet
public static final java.lang.String MEMORY_ALLOCATION
public static final java.lang.String VIRTUAL_CPUS
public static final java.lang.String VIRTUAL_BRIDGE
public static final java.lang.String VIRTUAL_FILE_PATH
public static final java.lang.String LOCAL_STORAGE_GB
public static final java.lang.String MAC_ADDRESS
public static final java.lang.String PROFILE
public static final java.lang.String GUEST_NAME
public org.apache.struts.action.ActionForward runFirst(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.DynaActionForm form, RequestContext ctx, javax.servlet.http.HttpServletResponse response, WizardStep step) throws java.lang.Exception
runFirst
in class ScheduleKickstartWizardAction
mapping
- ActionMapping for strutsform
- DynaActionForm representing the formctx
- RequestContext request contextresponse
- HttpServletResponse response objectstep
- WizardStep what step are we on?java.lang.Exception
- if something goes amisspublic org.apache.struts.action.ActionForward runSecond(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.DynaActionForm form, RequestContext ctx, javax.servlet.http.HttpServletResponse response, WizardStep step) throws java.lang.Exception
runSecond
in class ScheduleKickstartWizardAction
mapping
- ActionMapping for strutsform
- DynaActionForm representing the formctx
- RequestContext request contextresponse
- HttpServletResponse response objectstep
- WizardStep what step are we on?java.lang.Exception
- if something goes amisspublic org.apache.struts.action.ActionForward runThird(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.DynaActionForm form, RequestContext ctx, javax.servlet.http.HttpServletResponse response, WizardStep step) throws java.lang.Exception
runThird
in class ScheduleKickstartWizardAction
mapping
- ActionMapping for strutsform
- DynaActionForm representing the formctx
- RequestContext request contextresponse
- HttpServletResponse response objectstep
- WizardStep what step are we on?java.lang.Exception
- if something goes amissprotected KickstartScheduleCommand getKickstartScheduleCommand(java.lang.Long sid, User currentUser)
getKickstartScheduleCommand
in class ScheduleKickstartWizardAction
protected ProvisionVirtualInstanceCommand getScheduleCommand(org.apache.struts.action.DynaActionForm form, RequestContext ctx, java.util.Date scheduleTime, java.lang.String host)
ScheduleKickstartWizardAction
getScheduleCommand
in class ScheduleKickstartWizardAction
form
- the dyna aciton formctx
- the request contextscheduleTime
- the schedule timehost
- the host url.