Tivoli::Fwk - Perl Extension for Tivoli
use Tivoli::Fwk;
v0.04
Copyright (c) 2001 Robert Hase. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This Package will handle about everything you may need for Framework. If anything has been left out, please contact me at tivoli.rhase@muc-net.de so it can be added.
still in work
Description of Routines
DESCRIPTION
Execute Unix Command with system
CALL
$Var = &ExecuteSys(<Command>);
SAMPLE
$Var = &ExecuteSys('ls'); $Var = returncode from the Command
Create PolicyRegion
$Var = &CrtPR(<TopPolicyRegion, PolicyRegion>);
$Var = &CrtPR("top-Company_Europe_pr", "all-Clients_Europe-pr"); $Var = 1 = ok, 0 = Failure
Create Dataless ProfileManager
$Var = &CrtDatalessPM(<PolicyRegion, ProfileManager>);
$Var = &CrtDatalessPM("all-Sample-pr", "all-inv-SW-tmr-pm"); $Var = 1 = ok, 0 = Failure
Check Tivoli Resource with wlookup
$Var = &NoResource(<Typ, Resource>);
$Var = &NoResource("RIM", "inv40"); $Var = 1 = ok, 0 = Failure
looks for ProfileManagers which includes the given String
$Var = &Wlookup_pm(<String>);
@Arr = &Wlookup_pm("-New_EP-"); @Arr = Array with ProfileManagers
Lists all the endpoints directly or indirectly subscribed to the given ProfileManager
$Var = &Wlsendpts_SearchPms(<Name of the ProfileManager>);
@Arr = &Wlsendpts_SearchPms("all-Server-pm"); @Arr = Array with Endpoints
gets the Subscribers of a given ProfileManager
$Var = &Wgetsub_pm(<ProfileManager>);
@Arr = &Wgetsub_pm("all-Clients-pm"); @Arr = Array with Subscribers
Supported Plattforms and Requirements
* Plattforms
tested on: - aix4-r1 (AIX 4.3)
Requirements
requires Perl v5 or higher
VERSION DATE AUTHOR WORK ---------------------------------------------------- 0.01 2001-07-06 RHase created 0.01 2001-07-06 RHase Wlsendpts_SearchPms 0.01 2001-07-06 RHase Wlookup_pm 0.02 2001-07-09 RMahner NoResource 0.02 2001-07-09 RMahner CrtDatalessPM 0.02 2001-07-09 RMahner CrtPR 0.02 2001-07-09 RMahner ExecuteSys 0.03 2001-07-13 RHase Wgetsub_pm 0.04 2001-08-04 RHase POD-Doku added
Robert Hase ID : RHASE eMail : Tivoli.RHase@Muc-Net.de Web : http://www.Muc-Net.de
CPAN http://www.perl.com
2 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 310) unless the first thing after the =over is an =item
'=item' outside of any '=over'
To install Tivoli, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tivoli
CPAN shell
perl -MCPAN -e shell install Tivoli
For more information on module installation, please visit the detailed CPAN module installation guide.