Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.04 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.04 KB

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