|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.plugins.pxe.BootConfiguration
hudson.plugins.pxe.IsoBasedBootConfiguration
hudson.plugins.pxe.OpenSolarisBootConfiguration
public class OpenSolarisBootConfiguration
OpenSolaris boot.
| Nested Class Summary | |
|---|---|
static class |
OpenSolarisBootConfiguration.DescriptorImpl
|
| Nested classes/interfaces inherited from class hudson.plugins.pxe.IsoBasedBootConfiguration |
|---|
IsoBasedBootConfiguration.FileEntryData, IsoBasedBootConfiguration.IsoBasedBootConfigurationDescriptor |
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.pxe.IsoBasedBootConfiguration |
|---|
iso |
| Constructor Summary | |
|---|---|
OpenSolarisBootConfiguration(java.io.File iso)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getIdSeed()
Returns the string that becomes the seed of the BootConfiguration.getId(). |
java.lang.String |
getPxeLinuxConfigFragment()
Chainboot to pxegrub, which in turn knows how to boot Solaris. |
java.lang.Object |
readResolve()
|
protected void |
shutdown()
Called before the BootConfiguration instances are let go because of the reconfiguration. |
org.jvnet.hudson.tftpd.Data |
tftp(java.lang.String fileName)
Serves data from TFTP. |
| Methods inherited from class hudson.plugins.pxe.IsoBasedBootConfiguration |
|---|
doImage, doIndex, getDescriptor, getDisplayName, getRelease |
| Methods inherited from class hudson.plugins.pxe.BootConfiguration |
|---|
all, getAbsoluteUrl, getId, getResourceAsStream, getSearchUrl, getUrl |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public OpenSolarisBootConfiguration(java.io.File iso)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
protected java.lang.String getIdSeed()
BootConfigurationBootConfiguration.getId(). The ID
is in turn used for HTTP URLs and TFTP file names, so this method should
return something stable and not entirely illegible. But avoid unsafe characters like spaces, '/', etc.
A good example would be "OpenSolaris2008.11" or "Ubuntu8.10".
Several BootConfigurations can return the same ID seed, and BootConfiguration.getId() handles
those situations correctly.
getIdSeed in class BootConfiguration
protected void shutdown()
throws java.io.IOException
BootConfigurationBootConfiguration instances are let go because of the reconfiguration.
This is a good place to clean up background threads, etc.
shutdown in class BootConfigurationjava.io.IOException
public java.lang.String getPxeLinuxConfigFragment()
throws java.io.IOException
getPxeLinuxConfigFragment in class BootConfigurationjava.io.IOExceptionpublic java.lang.Object readResolve()
public org.jvnet.hudson.tftpd.Data tftp(java.lang.String fileName)
throws java.io.IOException
BootConfigurationThis mechanism is useful when you need to generate the data to be served on the fly. Static resources can be more easily served by simply placing them as resources under /tftp.
The TFTP file namespace is divided for each BootConfigurations as
/ID/... to avoid collisions between different configurations.
tftp in class BootConfigurationfileName - Relative path within the space designated for this boot configuration. For example,
if the client requests "foo/bar/zot" and the ID of this configuration is "foo", this
parameter will be "bar/zot".
BootConfigurations to
see if anyone understands it.
java.io.IOException - If a problem occurs. The PXE plugin will abort the search and the download will fail.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||