Skip to content

Commit

Permalink
vConnector module now exists as a separate Python module
Browse files Browse the repository at this point in the history
* vConnector module can be found at: https://github.com/dnaeon/py-vconnector
  • Loading branch information
dnaeon committed May 26, 2014
1 parent 6cc76d1 commit 1a2c79d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 613 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ The table below summarizes the list of currently supported methods by `vPoller`

* Python 2.7.x
* [pyVmomi](https://github.com/vmware/pyvmomi)
* [vconnector](https://github.com/dnaeon/py-vconnector)
* [pyzmq](https://github.com/zeromq/pyzmq)
* [docopt](https://github.com/docopt/docopt)
* [tabulate](https://pypi.python.org/pypi/tabulate)
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'pyzmq >= 14.1.1',
'docopt >= 0.6.1',
'pyvmomi >= 5.5.0',
'tabulate >= 0.7.2',
'tabulate >= 0.7.2',
'vconnector >= 0.2.0',
]
)
8 changes: 8 additions & 0 deletions src/misc-tools/bootstrap-vpoller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ cd ${libzmq_dir}
make && make install && make clean
ldconfig

# Installing vConnector
vconnector_dir=$( mktemp -d /tmp/vconnector.XXXXXX )
echo ">>> Installing vConnector ..."
git clone https://github.com/dnaeon/py-vconnector.git ${vconnector_dir}
cd ${vconnector_dir}
python setup.py install

# Installing vPoller
vpoller_dir=$( mktemp -d /tmp/vpoller.XXXXXX )
echo ">>> Installing vPoller ..."
Expand Down Expand Up @@ -60,6 +67,7 @@ vconnector-cli init
echo ">>> Removing no longer needed directories ..."
rm -rf ${libzmq_dir}
rm -rf ${vpoller_dir}
rm -rf ${vconnector_dir}

echo ""
echo ">>> Install completed"
Expand Down
183 changes: 0 additions & 183 deletions src/vconnector-cli

This file was deleted.

2 changes: 1 addition & 1 deletion src/vpoller/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__name__ = 'vpoller'
__all__ = [ 'core', 'connector', 'daemon', 'worker', 'client', 'agent', 'proxy' ]
__all__ = [ 'core', 'daemon', 'worker', 'client', 'agent', 'proxy' ]
2 changes: 1 addition & 1 deletion src/vpoller/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import zmq
import pyVmomi
from vpoller.core import VPollerException
from vpoller.connector import VConnector
from vconnector.core import VConnector

class VSphereAgent(VConnector):
"""
Expand Down
Loading

0 comments on commit 1a2c79d

Please sign in to comment.