mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Adding new APIs for pool reconfigure managment interface
This commit is contained in:
parent
e2d6e6624e
commit
76814e14cf
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user