Skip to content

whindsx/Oracle-ZFSSA-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oracle-ZFSSA-Client - Oracle ZFS Storage Appliance RESTful API Connector

Build Status CPAN version

A Perl module for connecting to Oracle ZFS Storage Appliance RESTful API.

Return values are Perl JSON structures.

SYNOPSIS:

   use Oracle::ZFSSA::Client;

   $zfssa = new Oracle::ZFSSA::Client(
      user => $user,
      password => $password,
      host => "your.appliance.org"
   );

   $json_param = {
      your => 'params',
      but  => 'not required',
   };

   $json_result = $zfssa->call('POST','/api/storage/v1/method',$json_param);

DEPENDENCIES:

  • LWP::UserAgent
  • JSON

INSTALL:

  • Source

    • perl Makefile.PL
    • make
    • make test
    • make install
  • cpanm

    • cpanm Oracle::ZFSSA::Client
  • CPAN shell

    • perl -MCPAN -e shell
    • install Oracle::ZFSSA::Client