CP-6083: Updated XenModel with the latest API bindings.

# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1380802016 -3600
#      Thu Oct 03 13:06:56 2013 +0100
# Node ID 48644db7dcf80d93efb9d6e86e982b95894cbd9d
# Parent  45dc6ebc4f9388e64116ab3e741bbfa2b6738308

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2013-11-14 09:25:12 +00:00
parent cb572c86dc
commit 3b90ff3966
7 changed files with 179 additions and 47 deletions

View File

@ -51,7 +51,9 @@ namespace XenAPI
List<XenRef<VGPU>> VGPUs,
string[] GPU_types,
Dictionary<string, string> other_config,
allocation_algorithm allocation_algorithm)
allocation_algorithm allocation_algorithm,
List<XenRef<VGPU_type>> supported_VGPU_types,
List<XenRef<VGPU_type>> enabled_VGPU_types)
{
this.uuid = uuid;
this.name_label = name_label;
@ -61,6 +63,8 @@ namespace XenAPI
this.GPU_types = GPU_types;
this.other_config = other_config;
this.allocation_algorithm = allocation_algorithm;
this.supported_VGPU_types = supported_VGPU_types;
this.enabled_VGPU_types = enabled_VGPU_types;
}
/// <summary>
@ -82,6 +86,8 @@ namespace XenAPI
GPU_types = update.GPU_types;
other_config = update.other_config;
allocation_algorithm = update.allocation_algorithm;
supported_VGPU_types = update.supported_VGPU_types;
enabled_VGPU_types = update.enabled_VGPU_types;
}
internal void UpdateFromProxy(Proxy_GPU_group proxy)
@ -94,6 +100,8 @@ namespace XenAPI
GPU_types = proxy.GPU_types == null ? new string[] {} : (string [])proxy.GPU_types;
other_config = proxy.other_config == null ? null : Maps.convert_from_proxy_string_string(proxy.other_config);
allocation_algorithm = proxy.allocation_algorithm == null ? (allocation_algorithm) 0 : (allocation_algorithm)Helper.EnumParseDefault(typeof(allocation_algorithm), (string)proxy.allocation_algorithm);
supported_VGPU_types = proxy.supported_VGPU_types == null ? null : XenRef<VGPU_type>.Create(proxy.supported_VGPU_types);
enabled_VGPU_types = proxy.enabled_VGPU_types == null ? null : XenRef<VGPU_type>.Create(proxy.enabled_VGPU_types);
}
public Proxy_GPU_group ToProxy()
@ -107,6 +115,8 @@ namespace XenAPI
result_.GPU_types = GPU_types;
result_.other_config = Maps.convert_to_proxy_string_string(other_config);
result_.allocation_algorithm = allocation_algorithm_helper.ToString(allocation_algorithm);
result_.supported_VGPU_types = (supported_VGPU_types != null) ? Helper.RefListToStringArray(supported_VGPU_types) : new string[] {};
result_.enabled_VGPU_types = (enabled_VGPU_types != null) ? Helper.RefListToStringArray(enabled_VGPU_types) : new string[] {};
return result_;
}
@ -124,6 +134,8 @@ namespace XenAPI
GPU_types = Marshalling.ParseStringArray(table, "GPU_types");
other_config = Maps.convert_from_proxy_string_string(Marshalling.ParseHashTable(table, "other_config"));
allocation_algorithm = (allocation_algorithm)Helper.EnumParseDefault(typeof(allocation_algorithm), Marshalling.ParseString(table, "allocation_algorithm"));
supported_VGPU_types = Marshalling.ParseSetRef<VGPU_type>(table, "supported_VGPU_types");
enabled_VGPU_types = Marshalling.ParseSetRef<VGPU_type>(table, "enabled_VGPU_types");
}
public bool DeepEquals(GPU_group other)
@ -140,7 +152,9 @@ namespace XenAPI
Helper.AreEqual2(this._VGPUs, other._VGPUs) &&
Helper.AreEqual2(this._GPU_types, other._GPU_types) &&
Helper.AreEqual2(this._other_config, other._other_config) &&
Helper.AreEqual2(this._allocation_algorithm, other._allocation_algorithm);
Helper.AreEqual2(this._allocation_algorithm, other._allocation_algorithm) &&
Helper.AreEqual2(this._supported_VGPU_types, other._supported_VGPU_types) &&
Helper.AreEqual2(this._enabled_VGPU_types, other._enabled_VGPU_types);
}
public override string SaveChanges(Session session, string opaqueRef, GPU_group server)
@ -228,6 +242,16 @@ namespace XenAPI
return (allocation_algorithm)Helper.EnumParseDefault(typeof(allocation_algorithm), (string)session.proxy.gpu_group_get_allocation_algorithm(session.uuid, (_gpu_group != null) ? _gpu_group : "").parse());
}
public static List<XenRef<VGPU_type>> get_supported_VGPU_types(Session session, string _gpu_group)
{
return XenRef<VGPU_type>.Create(session.proxy.gpu_group_get_supported_vgpu_types(session.uuid, (_gpu_group != null) ? _gpu_group : "").parse());
}
public static List<XenRef<VGPU_type>> get_enabled_VGPU_types(Session session, string _gpu_group)
{
return XenRef<VGPU_type>.Create(session.proxy.gpu_group_get_enabled_vgpu_types(session.uuid, (_gpu_group != null) ? _gpu_group : "").parse());
}
public static void set_name_label(Session session, string _gpu_group, string _label)
{
session.proxy.gpu_group_set_name_label(session.uuid, (_gpu_group != null) ? _gpu_group : "", (_label != null) ? _label : "").parse();
@ -278,26 +302,6 @@ namespace XenAPI
return XenRef<Task>.Create(session.proxy.async_gpu_group_destroy(session.uuid, (_self != null) ? _self : "").parse());
}
public static List<XenRef<VGPU_type>> get_enabled_VGPU_types(Session session, string _self)
{
return XenRef<VGPU_type>.Create(session.proxy.gpu_group_get_enabled_vgpu_types(session.uuid, (_self != null) ? _self : "").parse());
}
public static XenRef<Task> async_get_enabled_VGPU_types(Session session, string _self)
{
return XenRef<Task>.Create(session.proxy.async_gpu_group_get_enabled_vgpu_types(session.uuid, (_self != null) ? _self : "").parse());
}
public static List<XenRef<VGPU_type>> get_supported_VGPU_types(Session session, string _self)
{
return XenRef<VGPU_type>.Create(session.proxy.gpu_group_get_supported_vgpu_types(session.uuid, (_self != null) ? _self : "").parse());
}
public static XenRef<Task> async_get_supported_VGPU_types(Session session, string _self)
{
return XenRef<Task>.Create(session.proxy.async_gpu_group_get_supported_vgpu_types(session.uuid, (_self != null) ? _self : "").parse());
}
public static long get_remaining_capacity(Session session, string _self, string _vgpu_type)
{
return long.Parse((string)session.proxy.gpu_group_get_remaining_capacity(session.uuid, (_self != null) ? _self : "", (_vgpu_type != null) ? _vgpu_type : "").parse());
@ -366,6 +370,18 @@ namespace XenAPI
set { if (!Helper.AreEqual(value, _allocation_algorithm)) { _allocation_algorithm = value; Changed = true; NotifyPropertyChanged("allocation_algorithm"); } }
}
private List<XenRef<VGPU_type>> _supported_VGPU_types;
public virtual List<XenRef<VGPU_type>> supported_VGPU_types {
get { return _supported_VGPU_types; }
set { if (!Helper.AreEqual(value, _supported_VGPU_types)) { _supported_VGPU_types = value; Changed = true; NotifyPropertyChanged("supported_VGPU_types"); } }
}
private List<XenRef<VGPU_type>> _enabled_VGPU_types;
public virtual List<XenRef<VGPU_type>> enabled_VGPU_types {
get { return _enabled_VGPU_types; }
set { if (!Helper.AreEqual(value, _enabled_VGPU_types)) { _enabled_VGPU_types = value; Changed = true; NotifyPropertyChanged("enabled_VGPU_types"); } }
}
}
}

View File

@ -48,7 +48,8 @@ namespace XenAPI
API_1_9 = 9, // XenServer 6.0 (Boston)
API_1_10 = 10, // XenServer 6.1 (Tampa)
API_2_0 = 11, // XenServer 6.2 (Clearwater)
LATEST = 11,
API_2_1 = 12, // XenServer 6.2 with vGPU (vGPU)
LATEST = 12,
// Don't forget to change LATEST above, and APIVersionString below.
UNKNOWN = 99
}
@ -83,6 +84,8 @@ namespace XenAPI
return "1.10";
case API_Version.API_2_0:
return "2.0";
case API_Version.API_2_1:
return "2.1";
default:
return "Unknown";
}

View File

@ -837,6 +837,53 @@ namespace XenAPI
return result;
}
internal static Dictionary<XenRef<VGPU_type>, long>
convert_from_proxy_XenRefVGPU_type_long(Object o)
{
Hashtable table = (Hashtable)o;
Dictionary<XenRef<VGPU_type>, long> result = new Dictionary<XenRef<VGPU_type>, long>();
if (table != null)
{
foreach (string key in table.Keys)
{
try
{
XenRef<VGPU_type> k = XenRef<VGPU_type>.Create(key);
long v = table[key] == null ? 0 : long.Parse((string)table[key]);
result[k] = v;
}
catch
{
continue;
}
}
}
return result;
}
internal static Hashtable
convert_to_proxy_XenRefVGPU_type_long(Dictionary<XenRef<VGPU_type>, long> table)
{
CookComputing.XmlRpc.XmlRpcStruct result = new CookComputing.XmlRpc.XmlRpcStruct();
if (table != null)
{
foreach (XenRef<VGPU_type> key in table.Keys)
{
try
{
string k = (key != null) ? key : "";
string v = table[key].ToString();
result[k] = v;
}
catch
{
continue;
}
}
}
return result;
}
internal static Dictionary<XenRef<VIF>, XenRef<Network>>
convert_from_proxy_XenRefVIF_XenRefNetwork(Object o)
{

View File

@ -51,7 +51,8 @@ namespace XenAPI
Dictionary<string, string> other_config,
List<XenRef<VGPU_type>> supported_VGPU_types,
List<XenRef<VGPU_type>> enabled_VGPU_types,
List<XenRef<VGPU>> resident_VGPUs)
List<XenRef<VGPU>> resident_VGPUs,
Dictionary<XenRef<VGPU_type>, long> supported_VGPU_max_capacities)
{
this.uuid = uuid;
this.PCI = PCI;
@ -61,6 +62,7 @@ namespace XenAPI
this.supported_VGPU_types = supported_VGPU_types;
this.enabled_VGPU_types = enabled_VGPU_types;
this.resident_VGPUs = resident_VGPUs;
this.supported_VGPU_max_capacities = supported_VGPU_max_capacities;
}
/// <summary>
@ -82,6 +84,7 @@ namespace XenAPI
supported_VGPU_types = update.supported_VGPU_types;
enabled_VGPU_types = update.enabled_VGPU_types;
resident_VGPUs = update.resident_VGPUs;
supported_VGPU_max_capacities = update.supported_VGPU_max_capacities;
}
internal void UpdateFromProxy(Proxy_PGPU proxy)
@ -94,6 +97,7 @@ namespace XenAPI
supported_VGPU_types = proxy.supported_VGPU_types == null ? null : XenRef<VGPU_type>.Create(proxy.supported_VGPU_types);
enabled_VGPU_types = proxy.enabled_VGPU_types == null ? null : XenRef<VGPU_type>.Create(proxy.enabled_VGPU_types);
resident_VGPUs = proxy.resident_VGPUs == null ? null : XenRef<VGPU>.Create(proxy.resident_VGPUs);
supported_VGPU_max_capacities = proxy.supported_VGPU_max_capacities == null ? null : Maps.convert_from_proxy_XenRefVGPU_type_long(proxy.supported_VGPU_max_capacities);
}
public Proxy_PGPU ToProxy()
@ -107,6 +111,7 @@ namespace XenAPI
result_.supported_VGPU_types = (supported_VGPU_types != null) ? Helper.RefListToStringArray(supported_VGPU_types) : new string[] {};
result_.enabled_VGPU_types = (enabled_VGPU_types != null) ? Helper.RefListToStringArray(enabled_VGPU_types) : new string[] {};
result_.resident_VGPUs = (resident_VGPUs != null) ? Helper.RefListToStringArray(resident_VGPUs) : new string[] {};
result_.supported_VGPU_max_capacities = Maps.convert_to_proxy_XenRefVGPU_type_long(supported_VGPU_max_capacities);
return result_;
}
@ -124,6 +129,7 @@ namespace XenAPI
supported_VGPU_types = Marshalling.ParseSetRef<VGPU_type>(table, "supported_VGPU_types");
enabled_VGPU_types = Marshalling.ParseSetRef<VGPU_type>(table, "enabled_VGPU_types");
resident_VGPUs = Marshalling.ParseSetRef<VGPU>(table, "resident_VGPUs");
supported_VGPU_max_capacities = Maps.convert_from_proxy_XenRefVGPU_type_long(Marshalling.ParseHashTable(table, "supported_VGPU_max_capacities"));
}
public bool DeepEquals(PGPU other)
@ -140,7 +146,8 @@ namespace XenAPI
Helper.AreEqual2(this._other_config, other._other_config) &&
Helper.AreEqual2(this._supported_VGPU_types, other._supported_VGPU_types) &&
Helper.AreEqual2(this._enabled_VGPU_types, other._enabled_VGPU_types) &&
Helper.AreEqual2(this._resident_VGPUs, other._resident_VGPUs);
Helper.AreEqual2(this._resident_VGPUs, other._resident_VGPUs) &&
Helper.AreEqual2(this._supported_VGPU_max_capacities, other._supported_VGPU_max_capacities);
}
public override string SaveChanges(Session session, string opaqueRef, PGPU server)
@ -215,6 +222,11 @@ namespace XenAPI
return XenRef<VGPU>.Create(session.proxy.pgpu_get_resident_vgpus(session.uuid, (_pgpu != null) ? _pgpu : "").parse());
}
public static Dictionary<XenRef<VGPU_type>, long> get_supported_VGPU_max_capacities(Session session, string _pgpu)
{
return Maps.convert_from_proxy_XenRefVGPU_type_long(session.proxy.pgpu_get_supported_vgpu_max_capacities(session.uuid, (_pgpu != null) ? _pgpu : "").parse());
}
public static void set_other_config(Session session, string _pgpu, Dictionary<string, string> _other_config)
{
session.proxy.pgpu_set_other_config(session.uuid, (_pgpu != null) ? _pgpu : "", Maps.convert_to_proxy_string_string(_other_config)).parse();
@ -338,6 +350,12 @@ namespace XenAPI
set { if (!Helper.AreEqual(value, _resident_VGPUs)) { _resident_VGPUs = value; Changed = true; NotifyPropertyChanged("resident_VGPUs"); } }
}
private Dictionary<XenRef<VGPU_type>, long> _supported_VGPU_max_capacities;
public virtual Dictionary<XenRef<VGPU_type>, long> supported_VGPU_max_capacities {
get { return _supported_VGPU_max_capacities; }
set { if (!Helper.AreEqual(value, _supported_VGPU_max_capacities)) { _supported_VGPU_max_capacities = value; Changed = true; NotifyPropertyChanged("supported_VGPU_max_capacities"); } }
}
}
}

View File

@ -7516,6 +7516,11 @@ namespace XenAPI
pgpu_get_resident_vgpus(string session, string _pgpu);
[XmlRpcMethod("PGPU.get_supported_VGPU_max_capacities")]
Response<Object>
pgpu_get_supported_vgpu_max_capacities(string session, string _pgpu);
[XmlRpcMethod("PGPU.set_other_config")]
Response<string>
pgpu_set_other_config(string session, string _pgpu, Object _other_config);
@ -7646,6 +7651,16 @@ namespace XenAPI
gpu_group_get_allocation_algorithm(string session, string _gpu_group);
[XmlRpcMethod("GPU_group.get_supported_VGPU_types")]
Response<string []>
gpu_group_get_supported_vgpu_types(string session, string _gpu_group);
[XmlRpcMethod("GPU_group.get_enabled_VGPU_types")]
Response<string []>
gpu_group_get_enabled_vgpu_types(string session, string _gpu_group);
[XmlRpcMethod("GPU_group.set_name_label")]
Response<string>
gpu_group_set_name_label(string session, string _gpu_group, string _label);
@ -7696,26 +7711,6 @@ namespace XenAPI
async_gpu_group_destroy(string session, string _self);
[XmlRpcMethod("GPU_group.get_enabled_VGPU_types")]
Response<string []>
gpu_group_get_enabled_vgpu_types(string session, string _self);
[XmlRpcMethod("Async.GPU_group.get_enabled_VGPU_types")]
Response<string>
async_gpu_group_get_enabled_vgpu_types(string session, string _self);
[XmlRpcMethod("GPU_group.get_supported_VGPU_types")]
Response<string []>
gpu_group_get_supported_vgpu_types(string session, string _self);
[XmlRpcMethod("Async.GPU_group.get_supported_VGPU_types")]
Response<string>
async_gpu_group_get_supported_vgpu_types(string session, string _self);
[XmlRpcMethod("GPU_group.get_remaining_capacity")]
Response<string>
gpu_group_get_remaining_capacity(string session, string _self, string _vgpu_type);
@ -7881,6 +7876,16 @@ namespace XenAPI
vgpu_type_get_vgpus(string session, string _vgpu_type);
[XmlRpcMethod("VGPU_type.get_supported_on_GPU_groups")]
Response<string []>
vgpu_type_get_supported_on_gpu_groups(string session, string _vgpu_type);
[XmlRpcMethod("VGPU_type.get_enabled_on_GPU_groups")]
Response<string []>
vgpu_type_get_enabled_on_gpu_groups(string session, string _vgpu_type);
[XmlRpcMethod("VGPU_type.get_all")]
Response<string []>
vgpu_type_get_all(string session);
@ -8633,6 +8638,7 @@ namespace XenAPI
public string [] supported_VGPU_types;
public string [] enabled_VGPU_types;
public string [] resident_VGPUs;
public Object supported_VGPU_max_capacities;
}
[XmlRpcMissingMapping(MappingAction.Ignore)]
@ -8646,6 +8652,8 @@ namespace XenAPI
public string [] GPU_types;
public Object other_config;
public string allocation_algorithm;
public string [] supported_VGPU_types;
public string [] enabled_VGPU_types;
}
[XmlRpcMissingMapping(MappingAction.Ignore)]
@ -8672,6 +8680,8 @@ namespace XenAPI
public string [] supported_on_PGPUs;
public string [] enabled_on_PGPUs;
public string [] VGPUs;
public string [] supported_on_GPU_groups;
public string [] enabled_on_GPU_groups;
}
}

View File

@ -112,6 +112,8 @@ namespace XenAPI
});
relations.Add(typeof(Proxy_VGPU_type), new Relation[] {
new Relation("enabled_on_GPU_groups", "GPU_group", "enabled_VGPU_types"),
new Relation("supported_on_GPU_groups", "GPU_group", "supported_VGPU_types"),
new Relation("enabled_on_PGPUs", "PGPU", "enabled_VGPU_types"),
new Relation("supported_on_PGPUs", "PGPU", "supported_VGPU_types"),
new Relation("VGPUs", "VGPU", "type"),

View File

@ -50,7 +50,9 @@ namespace XenAPI
long max_heads,
List<XenRef<PGPU>> supported_on_PGPUs,
List<XenRef<PGPU>> enabled_on_PGPUs,
List<XenRef<VGPU>> VGPUs)
List<XenRef<VGPU>> VGPUs,
List<XenRef<GPU_group>> supported_on_GPU_groups,
List<XenRef<GPU_group>> enabled_on_GPU_groups)
{
this.uuid = uuid;
this.vendor_name = vendor_name;
@ -60,6 +62,8 @@ namespace XenAPI
this.supported_on_PGPUs = supported_on_PGPUs;
this.enabled_on_PGPUs = enabled_on_PGPUs;
this.VGPUs = VGPUs;
this.supported_on_GPU_groups = supported_on_GPU_groups;
this.enabled_on_GPU_groups = enabled_on_GPU_groups;
}
/// <summary>
@ -81,6 +85,8 @@ namespace XenAPI
supported_on_PGPUs = update.supported_on_PGPUs;
enabled_on_PGPUs = update.enabled_on_PGPUs;
VGPUs = update.VGPUs;
supported_on_GPU_groups = update.supported_on_GPU_groups;
enabled_on_GPU_groups = update.enabled_on_GPU_groups;
}
internal void UpdateFromProxy(Proxy_VGPU_type proxy)
@ -93,6 +99,8 @@ namespace XenAPI
supported_on_PGPUs = proxy.supported_on_PGPUs == null ? null : XenRef<PGPU>.Create(proxy.supported_on_PGPUs);
enabled_on_PGPUs = proxy.enabled_on_PGPUs == null ? null : XenRef<PGPU>.Create(proxy.enabled_on_PGPUs);
VGPUs = proxy.VGPUs == null ? null : XenRef<VGPU>.Create(proxy.VGPUs);
supported_on_GPU_groups = proxy.supported_on_GPU_groups == null ? null : XenRef<GPU_group>.Create(proxy.supported_on_GPU_groups);
enabled_on_GPU_groups = proxy.enabled_on_GPU_groups == null ? null : XenRef<GPU_group>.Create(proxy.enabled_on_GPU_groups);
}
public Proxy_VGPU_type ToProxy()
@ -106,6 +114,8 @@ namespace XenAPI
result_.supported_on_PGPUs = (supported_on_PGPUs != null) ? Helper.RefListToStringArray(supported_on_PGPUs) : new string[] {};
result_.enabled_on_PGPUs = (enabled_on_PGPUs != null) ? Helper.RefListToStringArray(enabled_on_PGPUs) : new string[] {};
result_.VGPUs = (VGPUs != null) ? Helper.RefListToStringArray(VGPUs) : new string[] {};
result_.supported_on_GPU_groups = (supported_on_GPU_groups != null) ? Helper.RefListToStringArray(supported_on_GPU_groups) : new string[] {};
result_.enabled_on_GPU_groups = (enabled_on_GPU_groups != null) ? Helper.RefListToStringArray(enabled_on_GPU_groups) : new string[] {};
return result_;
}
@ -123,6 +133,8 @@ namespace XenAPI
supported_on_PGPUs = Marshalling.ParseSetRef<PGPU>(table, "supported_on_PGPUs");
enabled_on_PGPUs = Marshalling.ParseSetRef<PGPU>(table, "enabled_on_PGPUs");
VGPUs = Marshalling.ParseSetRef<VGPU>(table, "VGPUs");
supported_on_GPU_groups = Marshalling.ParseSetRef<GPU_group>(table, "supported_on_GPU_groups");
enabled_on_GPU_groups = Marshalling.ParseSetRef<GPU_group>(table, "enabled_on_GPU_groups");
}
public bool DeepEquals(VGPU_type other)
@ -139,7 +151,9 @@ namespace XenAPI
Helper.AreEqual2(this._max_heads, other._max_heads) &&
Helper.AreEqual2(this._supported_on_PGPUs, other._supported_on_PGPUs) &&
Helper.AreEqual2(this._enabled_on_PGPUs, other._enabled_on_PGPUs) &&
Helper.AreEqual2(this._VGPUs, other._VGPUs);
Helper.AreEqual2(this._VGPUs, other._VGPUs) &&
Helper.AreEqual2(this._supported_on_GPU_groups, other._supported_on_GPU_groups) &&
Helper.AreEqual2(this._enabled_on_GPU_groups, other._enabled_on_GPU_groups);
}
public override string SaveChanges(Session session, string opaqueRef, VGPU_type server)
@ -205,6 +219,16 @@ namespace XenAPI
return XenRef<VGPU>.Create(session.proxy.vgpu_type_get_vgpus(session.uuid, (_vgpu_type != null) ? _vgpu_type : "").parse());
}
public static List<XenRef<GPU_group>> get_supported_on_GPU_groups(Session session, string _vgpu_type)
{
return XenRef<GPU_group>.Create(session.proxy.vgpu_type_get_supported_on_gpu_groups(session.uuid, (_vgpu_type != null) ? _vgpu_type : "").parse());
}
public static List<XenRef<GPU_group>> get_enabled_on_GPU_groups(Session session, string _vgpu_type)
{
return XenRef<GPU_group>.Create(session.proxy.vgpu_type_get_enabled_on_gpu_groups(session.uuid, (_vgpu_type != null) ? _vgpu_type : "").parse());
}
public static List<XenRef<VGPU_type>> get_all(Session session)
{
return XenRef<VGPU_type>.Create(session.proxy.vgpu_type_get_all(session.uuid).parse());
@ -263,6 +287,18 @@ namespace XenAPI
set { if (!Helper.AreEqual(value, _VGPUs)) { _VGPUs = value; Changed = true; NotifyPropertyChanged("VGPUs"); } }
}
private List<XenRef<GPU_group>> _supported_on_GPU_groups;
public virtual List<XenRef<GPU_group>> supported_on_GPU_groups {
get { return _supported_on_GPU_groups; }
set { if (!Helper.AreEqual(value, _supported_on_GPU_groups)) { _supported_on_GPU_groups = value; Changed = true; NotifyPropertyChanged("supported_on_GPU_groups"); } }
}
private List<XenRef<GPU_group>> _enabled_on_GPU_groups;
public virtual List<XenRef<GPU_group>> enabled_on_GPU_groups {
get { return _enabled_on_GPU_groups; }
set { if (!Helper.AreEqual(value, _enabled_on_GPU_groups)) { _enabled_on_GPU_groups = value; Changed = true; NotifyPropertyChanged("enabled_on_GPU_groups"); } }
}
}
}