107 Commits

Author SHA1 Message Date
Chiradeep Vittal
1e0eb04442 Add VPN apis, some systemvm changes for vpn 2010-11-01 10:27:49 -07:00
Kris McQueen
f964470ba4 remove whitespace at the start of the file which confuses the interpreter and prevents plugins from working 2010-10-20 16:48:20 -07:00
anthony
4cca3f9b87 when get scsi_id, replace all whitespaces by underscores 2010-10-20 13:55:14 -07:00
anthony
5d8cadb7b0 correctly use session in plugin 2010-08-29 23:59:33 -07:00
anthony
afd8052203 remove unused scripts 2010-08-29 18:39:15 -07:00
Anthony Xu
0366dd093c use slaveconnection instead of masterconnection for all host plugin calls.
tested by creating domr and user vm and migrating them

1. if you add host for kvm , you need specify kvm://ip_address, otherwiset there is no to differ kvm and xenserver hosts, edison cloud you please test this, may need some minor fixes.

2. if you want to session inside your plugin call, you can not use the one which is passed in, due to it is a slavesession, you need to call get_xapi_session() to get a new local session and use it. I have modified some of these, I may ignore some. Please let me know if you see XENAPI_PLUGIN_EXCEPTION.
2010-08-23 18:01:39 -07:00
Manuel Amador (Rudd-O)
05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00