repositories.ycp |
|
This module has an unstable interface. |
Imports
Includes
Local Functions |
local
createItem (integer index, map source)
->
term
Create a table item from a map as returned by the InstSrcManager agent.
- Parameters:
-
index source The map describing the source as returned form the agent.
- Return value:
-
An item suitable for addition to a Table.
local
fillTable ()
->
void
Fill sources table with entries from the InstSrcManager agent.
local
newSources (list<map<string,any> > statesOld, list<map<string,any> > statesNew)
->
list<integer>
Find which repositories have to be added or deleted to ZENworks. #182992: formerly we did not consider the enabled attribute. But ZENworks cannot completely disable a repository (unsubscribing a repository merely decreases its priority) so we consider a disabled repository like a deleted one.
- Parameters:
-
statesOld sourceStates{In or Out} statesNew sourceStates{In or Out}
- Return value:
-
the list of SrcId's that are enabled in statesNew but are not enabled in statesOld