Channel Methods
Channel methods are available in the channel
namespace. The following method is provided for listing software
channels that are available on ULN:
channel.listSoftwareChannels
The listSoftwareChannels
method returns a list of software channels that are available to a session on ULN.
Input Parameters
Parameter | Description |
---|---|
sessionKey
|
The session key for the session. |
Return Parameters
Field | Description |
---|---|
array
|
An array of channels with:
|
Example Input Parameters
sessionKey: ebQ3nS8QOmXoDIsXbrZTcD4xDMzsmJUo7yhoSi6VwPT
Example Output Parameters
[
{
"channel_arch": "x86_64",
"channel_name": "Enterprise Linux 4 Update 5 Patch (x86_64)",
"channel_end_of_life": " ",
"channel_label": "el4_u5_x86_64_patch",
"channel_parent_label": " "
},
{
"channel_arch": "x86_64",
"channel_name": "Enterprise Linux 4 Update 4 Patches (x86_64)",
"channel_end_of_life": " ",
"channel_label": "el4_u4_x86_64_patch",
"channel_parent_label": " "
}
]