Skip to content

cgrzemba/py_samfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py_samfs

Python Binding for Oracle<-Sun<-LSC SamFS API

This Python Binding is created by SWIG (http://www.swig.org) on top of the C-API. Swig for Solaris is available form http://www.opencsw.org.

A short intro to libsam:

http://www.oracle.com/technetwork/server-storage/solaris/libsam-139052.html

build:

define REMOTE and use --remote option for build RPC API

$ swig -python [-DREMOTE] samapi.i  
$ python setup.py build_ext [--remote]  
$ sudo python setup.py install [--remote]  

The return code 0 = ok, other = error, are mapped to python exception. Not all function are implemented yet, see samfs.i

For use the RPC API you have to set SAMHOST environment variable,
for config SAM RPC see also:

$ man intro_libsam  

About

Python Binding for Oracles<-Sun<-LSC SamFS API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published