NAME

SDP::Filr - The Support Diagnostic Pattern perl library for Novell Filr


SYNOPSIS

use SDP::Filr;


DESCRIPTION

Provides necessary functions specific to patterns developed against supportconfig running on Filr appliances.


CONSTANTS

Filr Versions

FILR1GA, FILR1R1

Novell Filr versions


FUNCTIONS: Information Gathering


getFilrVersion

Description

Returns Filr version string

Usage
        my $FILR_VER = SDP::Filr::getFilrVersion();
        if ( "$FILR_VER" ne '' ) {
                if ( SDP::Core::compareVersions($FILR_VER, FILR1R1) < 0 ) {
                        if ( vmWareVM() ) {
                                SDP::Core::updateStatus(STATUS_ERROR, 'VM', "Supported VM environment: VMware");
                        } else {
                                SDP::Core::updateStatus(STATUS_CRITICAL, 'VM', "Unsupported Filr Appliance virtual machine environment");
                        }
                } else {
                        SDP::Core::updateStatus(STATUS_ERROR, 'VER', "Filr v$FILR_VER is sufficient, non-VMware skipped");
                }
        } else {
                SDP::Core::updateStatus(STATUS_ERROR, 'FILR', "Novell Filr Appliance not installed");
        }
Input

None

Output

Version string

Requires

None


CONTRIBUTORS

Jason Record <jrecord@suse.com>


COPYRIGHT

Copyright (C) 2013 SUSE LINUX Products GmbH

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.