{ "info": { "author": "Chen Chen", "author_email": "cchenlp@qq.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries" ], "description": "README\n------\n\n- \n\n 1. Install our code\n\n::\n\n pip install titan-rhv\n\n- \n\n 2. pycurl (which is one of the dependencies) is not easy to install for both MacOS and Linux. Use google :)\n\n- \n\n 3. Create a ``titanrc`` to load the environment variables. You can\n appened the content in your ~/.bash_profile (MacOS) or ~/.bashrc\n (Linux)\n\n::\n\n export TITAN_URL='https://lab-rhevm.microsoft.rdu.com/ovirt-engine/api'\n export TITAN_USERNAME='adminuser@your_domain'\n export TITAN_PASSWORD='password'\n export TITAN_CA_FILE='ca.pem'\n export TITAN_VM_PREFIX='your_user'\n export TITAN_DEFAULT_TEMPLATE='your_preferred_template'\n\n- \n\n 4. Download ca.pem. Save the ca.pem to your preferred path and set\n TITAN_CA_FILE correctly. For example, export\n TITAN_CA_FILE=\u2018/root/ca.pem\u2019\n\n::\n\n $ wget '/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA' --no-check-certificate\n $ mv pki-resource\\?resource\\=ca-certificate\\&format\\=X509-PEM-CA ca.pem\n\n- \n\n 5. Some examples\n\n::\n\n $ titan -h\n usage: titan [-h] {start,test,stop,show,delete,list,boot,console} ...\n\n positional arguments:\n {start,test,stop,show,delete,list,boot,console}\n\n optional arguments:\n -h, --help show this help message and exit\n\n # To list the VMs which filters by TITAN_VM_PREFIX environment variable\n $ titan list\n +--------------------------------------+--------------------------+--------+----------------+-----------------------------+\n | ID | Name | Status | Networks | Comment |\n +--------------------------------------+--------------------------+--------+----------------+-----------------------------+\n | cd8212b3-f208-40b0-8f31-4140d57eac9b | cchen-7u4 | DOWN | | DNS server for all gss user |\n | 89c9976f-fe53-49b4-b1fd-1e7a4b86a0e1 | cchen-7u5-template | DOWN | | |\n | 7f4ef4f8-1641-4145-8812-234dcec478e0 | cchen-desktop | UP | 10.72.37.242 | |\n +--------------------------------------+--------------------------+--------+----------------+-----------------------------+\n \n $ titan show cchen-desktop\n\n +-------------+---------------------------------------------------------------------------------------+\n | Item | Value |\n +-------------+---------------------------------------------------------------------------------------+\n | Name | cchen-desktop |\n | ID | 7f4ef4f8-1641-4145-8812-234dcec478e0 |\n | Memory | 8192M |\n | CPU | 4 |\n | Disks | ['cchen-7u5-template_Disk1', 'ee9e366f-6930-4ab2-9eb7-095e4c22b0c7', '40G'] |\n | Active Nics | ['nic1', '00:1a:4a:16:02:41', 'bcda0f88-eae7-4234-a897-5dafecc5856b', '10.72.37.242'] |\n +-------------+---------------------------------------------------------------------------------------+", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cchen666/titan", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "titan-rhv", "package_url": "https://pypi.org/project/titan-rhv/", "platform": "all", "project_url": "https://pypi.org/project/titan-rhv/", "project_urls": { "Homepage": "https://github.com/cchen666/titan" }, "release_url": "https://pypi.org/project/titan-rhv/0.15/", "requires_dist": null, "requires_python": "", "summary": "A command line tool to talk with RHV environment", "version": "0.15" }, "last_serial": 5256386, "releases": { "0.15": [ { "comment_text": "", "digests": { "md5": "60a001365fd61a0c7db85e5c064277e3", "sha256": "f75616bb4803171ed6fd5dbdb3496f327e19f2460d54191bd9ef0a0d5c8df9d4" }, "downloads": -1, "filename": "titan-rhv-0.15.tar.gz", "has_sig": false, "md5_digest": "60a001365fd61a0c7db85e5c064277e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9021, "upload_time": "2019-05-11T15:20:41", "url": "https://files.pythonhosted.org/packages/9e/a6/bac0a6b77776326c740fa9a4fa82033958bcc2f7e253ac0ad7ce8e0d8d21/titan-rhv-0.15.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "60a001365fd61a0c7db85e5c064277e3", "sha256": "f75616bb4803171ed6fd5dbdb3496f327e19f2460d54191bd9ef0a0d5c8df9d4" }, "downloads": -1, "filename": "titan-rhv-0.15.tar.gz", "has_sig": false, "md5_digest": "60a001365fd61a0c7db85e5c064277e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9021, "upload_time": "2019-05-11T15:20:41", "url": "https://files.pythonhosted.org/packages/9e/a6/bac0a6b77776326c740fa9a4fa82033958bcc2f7e253ac0ad7ce8e0d8d21/titan-rhv-0.15.tar.gz" } ] }