-
Notifications
You must be signed in to change notification settings - Fork 8
Home
nacx edited this page Jan 9, 2012
·
23 revisions
Here you will find some usage examples of the abijy module:
Some times you need to find a virtual machine in your cloud. Here is an example of how to do that using the lookup script:
nacx@laptop:/opt/src/abijy (master) $ jython lookup.py ABQ_77d1ab79-2c4c-41b8-801c-175c8d466dfa
Found virtual machine in:
VirtualAppliance [id=16, name=Kalakaua]
VirtualDatacenter [id=17, type=XENSERVER, name=Kaahumanu]
Enterprise [id=1, isReservationRestricted=false, name=Abiquo]
Machine [id=16, ip=10.60.1.79, ipmiIp=null, ipmiPassword=null, ipmiPort=null, ipmiUser=null,
ipService=10.60.1.79, name=xenserver, password=null, port=9363, state=MANAGED, type=XENSERVER,
user=null, virtualCpuCores=8, virtualCpusPerCore=1, virtualCpusUsed=0,
getVirtualRamInMb()=4086, virtualRamUsedInMb=0, virtualSwitch=eth1,
description=,availableVirtualSwitches=[eth1]]