public class KickstartLister extends BaseManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FAKE_SCRIPT_LABEL |
| Constructor and Description |
|---|
KickstartLister()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
DataResult |
cryptoKeysInOrg(Org orgIn)
Get the list of GPG keys definied for this org.
|
DataResult<ActivationKeyDto> |
getActivationKeysInOrg(Org orgIn,
PageControl pc)
Get the list of Activation Keys
|
DataResult |
getActiveActivationKeysInOrg(Org orgIn,
PageControl pc)
Get the list of active (non-disabled) Activation Keys
|
static KickstartLister |
getInstance()
Get the instance of the KickstartLister
|
DataResult |
getKickstartSummary(Org orgIn,
PageControl pc)
Get the list of possible kickstart profiles
and the number of their base channels
|
DataResult |
getSystemsCurrentlyKickstarting(Org orgIn,
PageControl pc)
Get the list of systems that are currently kickstarting
|
DataResult |
getSystemsScheduledToBeKickstarted(Org orgIn,
PageControl pc)
Get the list of systems that are scheduled to be kickstarted
|
DataResult |
getValidTimezones(java.lang.Long ksId)
Get the valid timezones for a given ks profile
|
DataResult<StringDto> |
getValidTimezonesFotInstallType(KickstartInstallType ksInstallType)
Get the valid timezones for a given ks install type
|
DataResult |
kickstartIpRangesInOrg(Org orgIn,
PageControl pc)
List the kickstart ip ranges in the Org.
|
DataResult<KickstartDto> |
kickstartsInOrg(Org orgIn,
PageControl pc)
List the kickstart profiles in the Org.
|
DataResult |
kickstartTreesInOrg(Org orgIn,
PageControl pc)
Finds all kickstartable trees for a given org
|
java.util.List<CobblerProfileDto> |
listCobblerProfiles(User user)
Returns a list of Cobbler only profiles.
|
java.util.List<KickstartDto> |
listProfilesForSsm(User user)
Returns a list of all the kickstart profiles
available to the user
Spacewalk Managed + Cobbler Only profiles
|
DataResult |
preservationListsInOrg(Org orgIn,
PageControl pc)
Get the list of File Preservation lists.
|
void |
pruneInvalid(User user,
java.util.List<KickstartDto> profiles)
Given a list of Kickstart DTOs
the code below removes all the profiles
that are associated to an invalid distro.
|
DataResult<KickstartScript> |
scriptsInKickstart(Org orgIn,
java.lang.Long ksIn)
List the kickstart scripts for a particular kickstart.
|
DataResult<KickstartScript> |
scriptsInKickstartWithFakeEntry(Org orgIn,
java.lang.Long ksIn)
List the kickstart scripts for a particular kickstart.
|
void |
setKickstartUrls(java.util.List<KickstartDto> dtos,
User user)
Sets the kickstart url for the passed in cobbler profiles.
|
makeDataResult, makeDataResult, makeDataResult, makeDataResult, makeDataResultNoPagination, makeDataResultNoPagination, processListControl, processPageControlpublic static final java.lang.String FAKE_SCRIPT_LABEL
public static KickstartLister getInstance()
public DataResult<KickstartDto> kickstartsInOrg(Org orgIn, PageControl pc)
orgIn - Org we want to fetch the kickstart profiles forpc - PageControlorgInpublic DataResult kickstartTreesInOrg(Org orgIn, PageControl pc)
orgIn - org to use for lookuppc - page control from calling listviewpublic DataResult<KickstartScript> scriptsInKickstart(Org orgIn, java.lang.Long ksIn)
orgIn - Org coming in.ksIn - Kickstart Id we want to fetch scripts fororgInpublic DataResult<KickstartScript> scriptsInKickstartWithFakeEntry(Org orgIn, java.lang.Long ksIn)
orgIn - Org coming in.ksIn - Kickstart Id we want to fetch scripts fororgInpublic DataResult kickstartIpRangesInOrg(Org orgIn, PageControl pc)
orgIn - Org we want to fetch the kickstart ip ranges forpc - PageControlorgInpublic DataResult cryptoKeysInOrg(Org orgIn)
orgIn - that has the GPG keyspublic DataResult preservationListsInOrg(Org orgIn, PageControl pc)
orgIn - to lookuppc - to filterpublic DataResult<ActivationKeyDto> getActivationKeysInOrg(Org orgIn, PageControl pc)
orgIn - Orgpc - to filterpublic DataResult getActiveActivationKeysInOrg(Org orgIn, PageControl pc)
orgIn - Orgpc - to filterpublic DataResult getSystemsCurrentlyKickstarting(Org orgIn, PageControl pc)
orgIn - to lookuppc - to filterpublic DataResult getSystemsScheduledToBeKickstarted(Org orgIn, PageControl pc)
orgIn - to lookuppc - to filterpublic DataResult getKickstartSummary(Org orgIn, PageControl pc)
orgIn - to lookuppc - to filterpublic DataResult getValidTimezones(java.lang.Long ksId)
ksId - kickstart profilepublic DataResult<StringDto> getValidTimezonesFotInstallType(KickstartInstallType ksInstallType)
ksInstallType - kickstart install typepublic java.util.List<CobblerProfileDto> listCobblerProfiles(User user)
user - the user object needed for cobbler connecitonpublic void setKickstartUrls(java.util.List<KickstartDto> dtos, User user)
dtos - the kickstart dtouser - the user object needed to connect to cobblerpublic java.util.List<KickstartDto> listProfilesForSsm(User user)
user - the user object needed to get access to cobblerpublic void pruneInvalid(User user, java.util.List<KickstartDto> profiles)
user - the user to get org info.profiles - the kickstart dto list to be pruned