Adding new APIs for pool reconfigure managment interface

This commit is contained in:
Sharath Babu 2017-03-02 12:18:26 +05:30
parent e2d6e6624e
commit 76814e14cf
2 changed files with 30 additions and 0 deletions

View File

@ -1196,6 +1196,28 @@ namespace XenAPI
return XenRef<Task>.Create(session.proxy.async_pool_recover_slaves(session.uuid).parse());
}
/// <summary>
/// Reconfigure the management network interface for all Hosts in the Pool
/// First published in .
/// </summary>
/// <param name="session">The session</param>
/// <param name="_network">The network</param>
public static void management_reconfigure(Session session, string _network)
{
session.proxy.pool_management_reconfigure(session.uuid, (_network != null) ? _network : "").parse();
}
/// <summary>
/// Reconfigure the management network interface for all Hosts in the Pool
/// First published in .
/// </summary>
/// <param name="session">The session</param>
/// <param name="_network">The network</param>
public static XenRef<Task> async_management_reconfigure(Session session, string _network)
{
return XenRef<Task>.Create(session.proxy.async_pool_management_reconfigure(session.uuid, (_network != null) ? _network : "").parse());
}
/// <summary>
/// Create PIFs, mapping a network to the same physical interface/VLAN on each host. This call is deprecated: use Pool.create_VLAN_from_PIF instead.
/// First published in XenServer 4.0.

View File

@ -3528,6 +3528,14 @@ namespace XenAPI
Response<string>
async_host_management_reconfigure(string session, string _pif);
[XmlRpcMethod("pool.management_reconfigure")]
Response<string>
pool_management_reconfigure(string session, string _network);
[XmlRpcMethod("Async.pool.management_reconfigure")]
Response<string>
async_pool_management_reconfigure(string session, string _network);
[XmlRpcMethod("host.local_management_reconfigure")]
Response<string>
host_local_management_reconfigure(string session, string _interface);