GithubHelp home page GithubHelp logo

llnl / slapi Goto Github PK

View Code? Open in Web Editor NEW
13.0 7.0 0.0 608 KB

This is a tool that talks to the Spectra Logic tape libraries using their XML API.

License: GNU General Public License v2.0

Makefile 0.61% Perl 4.05% Shell 0.56% M4 0.23% Python 94.54%
tape-library command-line-tool python3 tfinity

slapi's Introduction

SLAPI

SLAPI is a command-line tool that communicates with Spectra Logic tape libraries using their XML command reference. This provides a simple way to administer and monitor Spectra Logic tape libraries in large data centers.

Getting Started

In order to use SLAPI, you must have python3 installed on your system. On RHEL distributions, it would be simplest to ensure your systems have the EPEL repository enabled. Our RHEL7-based systems have python34 installed.

$ yum install python34-requests
<snip>
===============================================================================
 Package                      Arch          Version          Repository   Size
===============================================================================
Installing:
 python34-requests            noarch        2.12.5-3.el7     epel         110 k
Installing for dependencies:
 python34-chardet             noarch        2.3.0-5.el7      epel         237 k
 python34-idna                noarch        2.7-2.el7        epel         108 k
 python34-pysocks             noarch        1.6.8-6.el7      epel          30 k
 python34-six                 noarch        1.11.0-3.el7     epel          33 k
 python34-urllib3             noarch        1.19.1-5.el7     epel         132 k

Transaction Summary
===============================================================================
Install  1 Package (+5 Dependent packages)
<snip>

Documentation

Currently the documentation for SLAPI is provided with the help option.

$ slapi --help

Contributing

See CONTRIBUTING.md

Release

SPDX-License-Identifier: GPL-2.0-or-later

LLNL-CODE-769480

slapi's People

Contributors

carbonneau1 avatar debbiemorford avatar hawartens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

slapi's Issues

ciphers don't match?

For some reason with our bluescale, the connection in chrome says The connection to this site is encrypted and authenticated using TLS 1.2, ECDHE_RSA with P-256, and AES_128_GCM. however when attempting to connect with slapi, I get:

Command 'drivelist': <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1123)>

Somehow the ciphers aren't lining up, as commenting out the set_ciphers line and it works. Thank you.

config instructions request

Hello. It might be nice if the README or --help output explained how to create a config file (syntax). Or didn't require one if user+pass were provided on the command line :)
Thanks!

Plan for migrating to Lumos ?

Hello Team,

This is rather a discussion than an issue.

First thanks for your tool. We are using it (too) oftenly on our 2 Tfinity to gather the logs when we have trouble.

We will upgrade the Tfinity to LumOS some and get rid of Bluscale and Windows CE.

Do you plan to make a port of your tool for Lumos ?

Thanks.

Security Audit doesnt work

Hello All,

The security audit doesn't currently work correctly, it doesn't seem to parse the XML response correctly when checking to see if one is already running. When you turn on verbose, you can see that in the XML response is that nothing is running, but for some reason even with the 'start' parameter added it still wont run as it says one is already running.

I removed the check to see if one was running, and the command is successful, so its not a Spectra BlueScale or command structure issue, its more that the initial XML response when checking to see if one is already running isn't working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.