Finding Documentation for the Sun Connection Satellite Python API Classes and Data StructuresJuergen Fleischer, September 21, 2007 This Tech Tip supplements the Getting Started With the Sun Connection Satellite Python API Tech Tip, and explains how to find the embedded Python application program interface (API) documentation. The Python API DocumentationThe Getting Started With the Sun Connection Satellite Python API Tech Tip
explains how to use the Python API scripts within the Sun Connection
satellite deployment architecture to automate complex tasks that would otherwise require lots
of time using the browser interface. This Tech Tip provides further information on
the Python API class and data structure documentation. The documentation is found
by using the To Find the Documentation
pydoc PyOsApi/OsApi.py Command$ pydoc PyOsApi/OsApi.py
Help on module OsApi:
NAME
OsApi
FILE
/opt/SUNWuce/api/python/lib/PyOsApi/OsApi.py
CLASSES
OsApi
class OsApi
| The OsApi class is the API class.
| Its methods provide the direct operations.
| It imports methods from the lower-level C API,
| included in the package.
|
| Methods defined here:
|
| ActivateChannel(self, channel_name)
| The ActivateChannel method activates a supported channel for use in
| an API session. It will be available in the next session from
| GetAvailableChannels.
| _____________________________________________________________________
| Input Parameters:
| * channel_name - valid name of supported channel.
| See GetAvailableChannels method.
| _____________________________________________________________________
| Output Returns:
| * none
| _____________________________________________________________________
| Exceptions:
| * OsApiGetChannelsException - cannot get supported channel list.
| * OsApiUnknownException - general exception.
| * OsApiChannelException - invalid input
More InformationFor more information about Sun Connection, go to the Sun Connection information hub. To get an inside perspective of Sun Connection, Sun Management Center software, Sun N1 Service Provisioning System, and Sun N1 System Manager, visit the Sun Connection blog. Contributors to this blog include members of the Sun Connection Field Enablement team. The goal of this blog is to share information with customers who either have already implemented or will implement these products in the future. The blog also provides important information about training and other key enablement activities.
Discuss and comment on this resource in the BigAdmin Wiki
Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License. |
| ||||