public FcoeSrDescriptor(FibreChannelDevice device) : base(device) { DeviceConfig[SrProbeAction.SCSIid] = device.SCSIid; DeviceConfig[SrProbeAction.PATH] = device.Path; Description = string.Format(Messages.NEWSR_LVMOFCOE_DESCRIPTION, device.Vendor, device.Serial); }
public Gfs2FcoeSrDescriptor(FibreChannelDevice device) : base(device, Messages.NEWSR_LVMOFCOE_DESCRIPTION) { DeviceConfig["provider"] = "fcoe"; DeviceConfig["SCSIid"] = device.SCSIid; DeviceConfig["path"] = device.Path; }
public LvmOhbaSrDescriptor(FibreChannelDevice device, IXenConnection connection) { Device = device; DeviceConfig[SrProbeAction.SCSIid] = device.SCSIid; Description = string.Format(Messages.NEWSR_LVMOHBA_DESCRIPTION, device.Vendor, device.Serial); }
public Gfs2FcoeSrDescriptor(FibreChannelDevice device) : base(device) { var jsonUri = new JavaScriptSerializer().Serialize(new { provider = "fcoe", ScsiId = device.SCSIid }); DeviceConfig[SrProbeAction.URI] = jsonUri; Description = string.Format(Messages.NEWSR_LVMOFCOE_DESCRIPTION, device.Vendor, device.Serial); }
public LvmOhbaSrDescriptor(FibreChannelDevice device, IXenConnection connection) { Host master = Helpers.GetMaster(connection); Device = device; // CA-19025: Change XenCenter SR.create for LVMoHBA to use the // updated SCSIid parameter rather than the device path if (master != null && (Helpers.HostBuildNumber(master) >= 9633 || Helpers.HostBuildNumber(master) == Helpers.CUSTOM_BUILD_NUMBER)) { DeviceConfig[SrProbeAction.SCSIid] = device.SCSIid; } else { DeviceConfig[SrProbeAction.DEVICE] = device.Path; } Description = string.Format(Messages.NEWSR_LVMOHBA_DESCRIPTION, device.Vendor, device.Serial); }
public LvmOhbaSrDescriptor(FibreChannelDevice device) { Device = device; Description = string.Format(Messages.NEWSR_LVMOHBA_DESCRIPTION, device.Vendor, device.Serial); }
public LvmOhbaSrDescriptor(FibreChannelDevice device) : base(device, Messages.NEWSR_LVMOHBA_DESCRIPTION) { DeviceConfig["SCSIid"] = device.SCSIid; }
protected FibreChannelDescriptor(FibreChannelDevice device, string descrFormat) { Device = device; Description = string.Format(descrFormat, device.Vendor, device.Serial); }
public Gfs2HbaSrDescriptor(FibreChannelDevice device) : base(device, Messages.NEWSR_LVMOHBA_DESCRIPTION) { DeviceConfig["provider"] = "hba"; DeviceConfig["SCSIid"] = device.SCSIid; }