sync.content
Description
Provides the namespace for the content synchronization methods.
Namespace:
sync.content
Method: addChannel
Description:
Add a new channel to the Uyuni database
Parameters:
-
string sessionKey - Session token, issued at login
-
string channelLabel - Label of the channel to add
-
string mirrorUrl - Sync from mirror temporarily
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: addChannels
Description:
Add a new channel to the Uyuni database
Parameters:
-
string sessionKey - Session token, issued at login
-
string channelLabel - Label of the channel to add
-
string mirrorUrl - Sync from mirror temporarily
Returns:
-
array :
-
string - enabled channel labels
-
Method: addCredentials
Description:
Add organization credentials (mirror credentials) to Uyuni.
Parameters:
-
string sessionKey - Session token, issued at login
-
string username - Organization credentials (Mirror credentials) username
-
string password - Organization credentials (Mirror credentials) password
-
boolean primary - Make this the primary credentials
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: deleteCredentials
Description:
Delete organization credentials (mirror credentials) from Uyuni.
Parameters:
-
string sessionKey - Session token, issued at login
-
string username - Username of credentials to delete
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: listChannels
Description:
List all accessible channels.
Parameters:
-
string sessionKey - Session token, issued at login
Returns:
-
array :
-
struct - channel
-
string "arch" - Architecture of the channel
-
string "description" - Description of the channel
-
string "family" - Channel family label
-
boolean "is_signed" - Channel has signed metadata
-
string "label" - Label of the channel
-
string "name" - Name of the channel
-
boolean "optional" - Channel is optional
-
string "parent" - The label of the parent channel
-
string "product_name" - Product name
-
string "product_version" - Product version
-
string "source_url" - Repository source URL
-
string "status" - Status: available, unavailable or installed
-
string "summary" - Channel summary
-
string "update_tag" - Update tag
-
boolean "installer_updates" - is an installer update channel
-
Method: listCredentials
Description:
List organization credentials (mirror credentials) available in Uyuni.
Parameters:
-
string sessionKey - Session token, issued at login
Returns:
-
array :
-
struct - credentials
-
int "id" - ID of the credentials
-
string "user" - username
-
boolean "isPrimary" - primary
-
Method: listProducts
Description:
List all accessible products.
Parameters:
-
string sessionKey - Session token, issued at login
Returns:
-
array :
-
struct - product
-
string "friendly_name" - Friendly name of the product
-
string "arch" - Architecture
-
string "status" - 'available', 'unavailable' or 'installed'
-
array :
-
-
struct - channel
-
string "arch" - Architecture of the channel
-
string "description" - Description of the channel
-
string "family" - Channel family label
-
boolean "is_signed" - Channel has signed metadata
-
string "label" - Label of the channel
-
string "name" - Name of the channel
-
boolean "optional" - Channel is optional
-
string "parent" - The label of the parent channel
-
string "product_name" - Product name
-
string "product_version" - Product version
-
string "source_url" - Repository source URL
-
string "status" - Status: available, unavailable or installed
-
string "summary" - Channel summary
-
string "update_tag" - Update tag
-
boolean "installer_updates" - is an installer update channel
-
array :
-
struct - extension product
-
string "friendly_name" - Friendly name of extension product
-
string "arch" - Architecture
-
string "status" - 'available', 'unavailable' or 'installed'
-
array :
-
-
-
-
struct - channel
-
string "arch" - Architecture of the channel
-
string "description" - Description of the channel
-
string "family" - Channel family label
-
boolean "is_signed" - Channel has signed metadata
-
string "label" - Label of the channel
-
string "name" - Name of the channel
-
boolean "optional" - Channel is optional
-
string "parent" - The label of the parent channel
-
string "product_name" - Product name
-
string "product_version" - Product version
-
string "source_url" - Repository source URL
-
string "status" - Status: available, unavailable or installed
-
string "summary" - Channel summary
-
string "update_tag" - Update tag
-
boolean "installer_updates" - is an installer update channel
-
boolean "recommended" - Recommended
-
Method: synchronizeChannelFamilies
Description:
Synchronize channel families between the Customer Center and the Uyuni database.
Parameters:
-
string sessionKey - Session token, issued at login
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: synchronizeChannels
Description:
(Deprecated) Synchronize channels between the Customer Center and the Uyuni database.
Parameters:
-
string sessionKey - Session token, issued at login
-
string mirrorUrl - Sync from mirror temporarily
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: synchronizeProductChannels (Deprecated)
Description:
(Deprecated) Synchronize SUSE product channels between the Customer Center and the Uyuni database.
Deprecated - Synchronize SUSE product channels between the Customer Center and the Uyuni database. This method is one step of the whole refresh cycle.
Parameters:
-
string sessionKey - Session token, issued at login
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: synchronizeProducts
Description:
Synchronize SUSE products between the Customer Center and the Uyuni database.
Parameters:
-
string sessionKey - Session token, issued at login
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: synchronizeRepositories
Description:
Synchronize repositories between the Customer Center and the Uyuni database.
Parameters:
-
string sessionKey - Session token, issued at login
-
string mirrorUrl - Optional mirror url or null
Returns:
-
int - 1 on success, exception thrown otherwise.
Method: synchronizeSubscriptions
Description:
Synchronize subscriptions between the Customer Center and the Uyuni database.
Parameters:
-
string sessionKey - Session token, issued at login
Returns:
-
int - 1 on success, exception thrown otherwise.