Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up
my scripts for RHEV
Cannot retrieve the latest commit at this time.
| Failed to load latest commit information. | |||
|
|
.gitignore | ||
|
|
README | ||
|
|
__init__.py | ||
|
|
create_tag.py | ||
|
|
net.py | ||
|
|
ovf_store_extractor.py | ||
|
|
register_disks.py | ||
|
|
rhev_connection.py | ||
|
|
selectors.py | ||
|
|
vlans.py | ||
|
|
vms.py | ||
README
sample scripts for using RHEV REST-API:
all settings are in the file rhev_settings.py
HOST_PORT - host and port of RHEV instance format: host:port
USERNAME - username of api user
PASSWORD - no comments
CLUSTER - cluster for new network attaching ## TODO: list here?
DC - datacenter for new network attaching
TAG - parent tag for new tags
NIC - NIC for non-rhevm networks
OSTYPES - dict of ostypes and pathes of image location (cdrom location), pathes MUST be valid on hosts (or use <placement_policy> for vm xml
##OSTYPES = {"other_linux": None,"windows_xp": None,"windows_7" : None,"rhel_5x64": "/mnt/share/images/RHEL/5/6/x86_64/","rhel_6x64" : None}
etc.