You can start with looking at createPool function in StorageManagerImpl.java. The implementation specific to creating iSCSI storage for a XenServer is in CitrixResourceBase.java. Look for how CreateStoragePoolCommand has been handled. It calls getIscsiSR for creating a SR of type iSCSI on xen host.
Regards, Devdeep > -----Original Message----- > From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] > Sent: Friday, February 22, 2013 8:33 AM > To: cloudstack-dev@incubator.apache.org > Subject: Code Location Question > > Hi, > > I'm pretty new to the CloudStack codebase. I was interested in looking at the > code related to creating a Primary Storage. More specifically, the logic > around creating iSCSI Primary Storage with a XenServer cluster. > > Would someone be able to point me in the right direction? > > Thanks! > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *(tm)*