Commit Graph

26 Commits

Author SHA1 Message Date
jbjohnso
6856e705db Use XCATSITEVALS instead of slower table lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:29:43 +00:00
jbjohnso
eb2559c901 Actually grab the vidmodel/proto data for VM use
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-29 15:21:18 +00:00
jbjohnso
ca341e5acd Add UUID management to common 'Mac' management code. Helps with IPv6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-09 20:22:57 +00:00
jbjohnso
6cda2e7dad Correct syntax of mac entries for multi-mac scenario of vm creation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-11 14:29:41 +00:00
jbjohnso
d988b8bf31 -Lay groundwork for reading freeform vmx parameters on creation of new vms in vmware configurations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-08 21:23:39 +00:00
jbjohnso
5c5a2e8aed -Allow vmware administrators to skip attempts to reconfigure from xCAT tables
-Allow vmware admins to explicitly declare guestid when they do not or cannot rely upon nodetype.os

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-09 19:01:33 +00:00
jbjohnso
195dbf863c -Fix bitwise operator error in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 19:04:38 +00:00
jbjohnso
8ba1a33254 -Hold generated local macs at 42: prefix to avoid conflict with FE: and make libvirt do unique tap addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 18:49:50 +00:00
jbjohnso
13978e61d0 -ESX enhancements, clonevm works
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-16 19:28:25 +00:00
jbjohnso
149e7eeae6 -Chase down master storage prereqs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-31 15:01:24 +00:00
jbjohnso
99c824e2f9 -Starting the clonevm implementation in earnest
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-27 23:46:06 +00:00
jbjohnso
0395679e36 -Try to honor the now prefered nicmodel/storagemodel columns in vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 15:42:36 +00:00
jbjohnso
d67cdb6d92 -For VM nics after the first, default to *NOIP*. More complicated topologies will be considered when asked
In brief, modify discovery to discover by mac table if VM, so as to fill out the topology info


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 12:59:46 +00:00
jbjohnso
247849065d -Make persistent UUIDs for KVM guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-16 23:03:33 +00:00
jbjohnso
0ff61622c8 -Correct problem of accidentally masking out 16 bits too many in vmware mac addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6116 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 12:29:05 +00:00
jbjohnso
2f7d97f864 -If requested to generate mac addresses in one of vmware's ouis, mask out two bits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 17:12:36 +00:00
jbjohnso
a1833514d3 -Speed up at-scale VM placement decision making
-Fix possible infinite loop that blocked certain commands


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 00:37:04 +00:00
jbjohnso
613b60aef2 -Fix mistakes in requestMacAddresses VMCommon function
-Refactor kvm plugin to use VMCommon code


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 00:50:14 +00:00
jbjohnso
eca74c9ade -Add a mass mac address generation function to VMCommon to leverage setNodesAttribs performance advantages when making many vms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 15:14:20 +00:00
jbjohnso
f1685293c7 -Change MAC autogen code to remove the race condition in the unlikely event that we had parallel mkvm processes pick
the same mac randomly.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4310 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 16:13:58 +00:00
jbjohnso
3d8a45475d -Move rng seeding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 18:04:43 +00:00
jbjohnso
31288324bd -Reseed random generator to reduce chances of collision (though uniqueness still should be guaranteed elsewhere)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 14:48:26 +00:00
jbjohnso
c5aa017fa7 -Add 'genmacprefix' site value to control VM mac address generation
-Move mac address generation code to VMCommon from esx (TODO: xen/kvm as well)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 15:14:38 +00:00
jbjohnso
e38a8fbe3c -Support diskless guests by using the cfgdatastore attribute if defined allowing storage to be blank
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-10 19:08:06 +00:00
jbjohnso
85d25c6549 -Fix bug where architecture was not being pulled in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-16 14:34:07 +00:00
jbjohnso
5a5b16857a -Add some modules to hold common plugin and virtualization plugin routines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-31 18:52:35 +00:00