SDP::Filr - The Support Diagnostic Pattern perl library for Novell Filr
use SDP::Filr;
Provides necessary functions specific to patterns developed against supportconfig running on Filr appliances.
Novell Filr versions
Returns Filr version string
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"); }
None
Version string
None
Jason Record <jrecord@suse.com>
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/>.