Function: |
Starts the specified action for the communication server. | |
Parameters: |
Communication service for which the action is to be started.
Action that is to be started for the specified communication service. Possible values are (see | |
| Checks the administrability of the communication service. | |
| Checks the availability of the communication service | |
| Saves the changes that have been made for this communication service in the current session. | |
| Starts the communication service. | |
| Stops the communication service. | |
Return: | ( | |
Exceptions: |
| |
Example: | ... import BcAdminCommunicationSecvice ... getProps={"host": "bchost01", "install-path": "/opt/ibm/sna/bin"} cs_obj=BcAdminCommunicationService.getObject(getProps) actResult=BcAdminCommunicationService.perform(cs_obj, "check-avail") if BcAdminAction.isFinishedSuccessfully(actResult): resultString=BcAdminAction.getResults(actResult)[0]["result"] print "communication service is " +resultString ... |