Add support for pbr
This commit is contained in:
parent
bc98c68146
commit
bf51f50b46
|
@ -0,0 +1,4 @@
|
|||
Anusha Ramineni <anusha.iiitm@gmail.com>
|
||||
Nisha Agarwal <agarwalnisha1980@gmail.com>
|
||||
Ramakrishnan G <rameshg87@gmail.com>
|
||||
hpproliant <proliantutils@gmail.com>
|
|
@ -1 +0,0 @@
|
|||
v0.1.0, 26/05/2014 -- Initial release.
|
|
@ -0,0 +1,10 @@
|
|||
CHANGES
|
||||
=======
|
||||
|
||||
0.1.0
|
||||
-----
|
||||
|
||||
* Add support for pbr
|
||||
* Adding Documentation to ribcl module
|
||||
* Submit ribcl ilo module
|
||||
* Initial commit
|
|
@ -1,2 +0,0 @@
|
|||
include *.txt
|
||||
recursive-include docs *.txt
|
30
README.md
30
README.md
|
@ -1,30 +0,0 @@
|
|||
==============
|
||||
Proliant Utils
|
||||
==============
|
||||
|
||||
Proliant Management Tools provides python libraries for interfacing and
|
||||
managing various devices(like iLO) present in HP Proliant Servers.
|
||||
|
||||
Currently, this module offers a library to interface to iLO4 using RIBCL.
|
||||
|
||||
```python
|
||||
#!/usr/bin/python
|
||||
|
||||
from proliantutils.ilo import ribcl
|
||||
|
||||
ilo_client = ribcl.IloClient('1.2.3.4', 'Administrator', 'password')
|
||||
print ilo_client.get_host_power_status()
|
||||
```
|
||||
|
||||
Currently, this module offers only a single unit test library:
|
||||
|
||||
```
|
||||
$ python -m unittest proliantutils.tests.ilo.test_ribcl
|
||||
................
|
||||
----------------------------------------------------------------------
|
||||
Ran 16 tests in 0.649s
|
||||
|
||||
OK
|
||||
$
|
||||
```
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
==============
|
||||
Proliant Utils
|
||||
==============
|
||||
|
||||
Proliant Management Tools provides python libraries for interfacing and
|
||||
managing various devices(like iLO) present in HP Proliant Servers.
|
||||
|
||||
Currently, this module offers a library to interface to iLO4 using RIBCL.
|
||||
|
||||
#!/usr/bin/python
|
||||
|
||||
from proliantutils.ilo import ribcl
|
||||
|
||||
ilo_client = ribcl.IloClient('1.2.3.4', 'Administrator', 'password')
|
||||
print ilo_client.get_host_power_status()
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
[metadata]
|
||||
name = proliantutils
|
||||
summary = Client Library for interfacing with various
|
||||
devices in HP Proliant Servers.
|
||||
description-file =
|
||||
README.rst
|
||||
license = Apache License, Version 2.0
|
||||
author = Hewlett Packard
|
||||
author-email = proliantutils@gmail.com
|
||||
home-page = https://github.com/hpproliant/proliantutils
|
||||
classifier =
|
||||
Development Status :: 4 - Beta
|
||||
Environment :: Console
|
||||
Environment :: Web Environment
|
||||
Intended Audience :: Developers
|
||||
Intended Audience :: Information Technology
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: OS Independent
|
||||
Programming Language :: Python
|
||||
|
||||
[files]
|
||||
packages =
|
||||
proliantutils
|
||||
|
18
setup.py
18
setup.py
|
@ -1,13 +1,7 @@
|
|||
from distutils.core import setup
|
||||
#!/usr/bin/env python
|
||||
|
||||
setup(
|
||||
name='ProliantUtils',
|
||||
version='0.1.0',
|
||||
author='Hewlett Packard',
|
||||
packages=['proliantutils',
|
||||
'proliantutils/ilo', 'proliantutils/tests/ilo'],
|
||||
license='LICENSE.txt',
|
||||
description='A set of libraries for interfacing various devices in '
|
||||
'Proliant servers.',
|
||||
long_description=open('README.md').read(),
|
||||
)
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr'],
|
||||
pbr=True)
|
||||
|
|
Loading…
Reference in New Issue