mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge remote-tracking branch 'upstream/master' into CAR-2214
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> # Conflicts: # Branding/branding.sh # mk/archive-unsigned.sh # mk/build.sh # mk/bumpBuildNumber.sh # mk/copy-build-output.sh # mk/declarations.sh # mk/tests-checks-cover.sh # mk/tests-checks.sh
This commit is contained in:
commit
489d8684e4
@ -1,5 +1,35 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) Citrix Systems, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms,
|
||||
# with or without modification, are permitted provided
|
||||
# that the following conditions are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above
|
||||
# copyright notice, this list of conditions and the
|
||||
# following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the
|
||||
# following disclaimer in the documentation and/or other
|
||||
# materials provided with the distribution.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
|
||||
# bring versions from the server branding repo
|
||||
ROOT="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )"
|
||||
OUTPUT_DIR=${ROOT}/output
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,32 +1,32 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
@ -1,32 +1,32 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
@ -1,33 +1,33 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -69,7 +69,7 @@ namespace CommandLib
|
||||
public delegateGlobalDebug dGlobalDebug;
|
||||
public delegateConsoleWrite dConsoleWrite;
|
||||
public delegateConsoleWriteLine dConsoleWriteLine;
|
||||
public delegateConsoleReadLine dConsoleReadLine;
|
||||
public delegateConsoleReadLine dConsoleReadLine;
|
||||
public delegateProgress dProgress;
|
||||
public delegateExit dExit;
|
||||
public Config conf;
|
||||
@ -94,7 +94,7 @@ namespace CommandLib
|
||||
this.dConsoleWrite = dConsoleWrite;
|
||||
this.dConsoleWriteLine = dConsoleWriteLine;
|
||||
this.dConsoleReadLine = dConsoleReadLine;
|
||||
this.dExit = dExit;
|
||||
this.dExit = dExit;
|
||||
this.dProgress = dProgress;
|
||||
this.conf = conf;
|
||||
dropOut = false;
|
||||
@ -112,10 +112,10 @@ namespace CommandLib
|
||||
{
|
||||
// Do allow this client to communicate with unauthenticated servers.
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public static Stream connect(thinCLIProtocol tCLIprotocol, String hostname, int port)
|
||||
}
|
||||
|
||||
|
||||
public static Stream connect(thinCLIProtocol tCLIprotocol, String hostname, int port)
|
||||
{
|
||||
if (port != 443){
|
||||
TcpClient client = new TcpClient(hostname, port);
|
||||
@ -131,8 +131,8 @@ namespace CommandLib
|
||||
null
|
||||
);
|
||||
try
|
||||
{
|
||||
sslStream.AuthenticateAsClient("", null, SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12, true);
|
||||
{
|
||||
sslStream.AuthenticateAsClient("", null, SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12, true);
|
||||
}
|
||||
catch (AuthenticationException e){
|
||||
if (tCLIprotocol.conf.debug) throw e;
|
||||
@ -154,16 +154,16 @@ namespace CommandLib
|
||||
public static string readLine(Stream stream){
|
||||
StringBuilder messageData = new StringBuilder();
|
||||
do {
|
||||
int i = stream.ReadByte();
|
||||
if (i == -1)
|
||||
{
|
||||
throw new EndOfStreamException();
|
||||
}
|
||||
else
|
||||
{
|
||||
char b = (char)i;
|
||||
messageData.Append(b);
|
||||
if (b == '\n') break;
|
||||
int i = stream.ReadByte();
|
||||
if (i == -1)
|
||||
{
|
||||
throw new EndOfStreamException();
|
||||
}
|
||||
else
|
||||
{
|
||||
char b = (char)i;
|
||||
messageData.Append(b);
|
||||
if (b == '\n') break;
|
||||
}
|
||||
} while (true);
|
||||
|
||||
@ -181,45 +181,45 @@ namespace CommandLib
|
||||
if (bits.Length < 2) return 0;
|
||||
return Int32.Parse(bits[1]);
|
||||
}
|
||||
|
||||
/// <param name="addr">The target URI, including scheme, hostname and path.</param>
|
||||
public static Stream doRPC(String method, Uri uri, thinCLIProtocol tCLIprotocol)
|
||||
{
|
||||
Stream http = Transport.connect(tCLIprotocol, uri.Host, uri.Port);
|
||||
String header = method + " " + uri.PathAndQuery + " HTTP/1.0\r\n\r\n";
|
||||
writeLine(http, header);
|
||||
String response = readLine(http);
|
||||
int code = getResultCode(response);
|
||||
switch (code)
|
||||
{
|
||||
case 200:
|
||||
break;
|
||||
case 302:
|
||||
string url = "";
|
||||
while (true)
|
||||
{
|
||||
response = readLine(http);
|
||||
if (response.StartsWith("Location: "))
|
||||
url = response.Substring(10);
|
||||
if (response.Equals("\r\n") || response.Equals("")) break;
|
||||
}
|
||||
Uri redirect = new Uri(url.Trim());
|
||||
tCLIprotocol.conf.hostname = redirect.Host;
|
||||
http.Close();
|
||||
return doRPC(method, redirect, tCLIprotocol);
|
||||
default:
|
||||
tCLIprotocol.dGlobalError("Received an error message from the server doing an HTTP " + method + " " + uri.PathAndQuery + " : " + response);
|
||||
http.Close();
|
||||
return null;
|
||||
}
|
||||
|
||||
while (true)
|
||||
{
|
||||
response = readLine(http);
|
||||
if (response.Equals("\r\n") || response.Equals("")) break;
|
||||
}
|
||||
// Stream should be positioned after the headers
|
||||
return http;
|
||||
|
||||
/// <param name="addr">The target URI, including scheme, hostname and path.</param>
|
||||
public static Stream doRPC(String method, Uri uri, thinCLIProtocol tCLIprotocol)
|
||||
{
|
||||
Stream http = Transport.connect(tCLIprotocol, uri.Host, uri.Port);
|
||||
String header = method + " " + uri.PathAndQuery + " HTTP/1.0\r\n\r\n";
|
||||
writeLine(http, header);
|
||||
String response = readLine(http);
|
||||
int code = getResultCode(response);
|
||||
switch (code)
|
||||
{
|
||||
case 200:
|
||||
break;
|
||||
case 302:
|
||||
string url = "";
|
||||
while (true)
|
||||
{
|
||||
response = readLine(http);
|
||||
if (response.StartsWith("Location: "))
|
||||
url = response.Substring(10);
|
||||
if (response.Equals("\r\n") || response.Equals("")) break;
|
||||
}
|
||||
Uri redirect = new Uri(url.Trim());
|
||||
tCLIprotocol.conf.hostname = redirect.Host;
|
||||
http.Close();
|
||||
return doRPC(method, redirect, tCLIprotocol);
|
||||
default:
|
||||
tCLIprotocol.dGlobalError("Received an error message from the server doing an HTTP " + method + " " + uri.PathAndQuery + " : " + response);
|
||||
http.Close();
|
||||
return null;
|
||||
}
|
||||
|
||||
while (true)
|
||||
{
|
||||
response = readLine(http);
|
||||
if (response.Equals("\r\n") || response.Equals("")) break;
|
||||
}
|
||||
// Stream should be positioned after the headers
|
||||
return http;
|
||||
}
|
||||
}
|
||||
|
||||
@ -330,7 +330,7 @@ namespace CommandLib
|
||||
marshal_tag(stream, tag.End);
|
||||
break;
|
||||
}
|
||||
stream.Write(block, 0, n);
|
||||
stream.Write(block, 0, n);
|
||||
tCLIprotocol.dProgress(n);
|
||||
}
|
||||
}
|
||||
@ -340,80 +340,80 @@ namespace CommandLib
|
||||
marshal_response(stream, tag.Failed);
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
{
|
||||
{
|
||||
marshal_response(stream, tag.Failed);
|
||||
}
|
||||
}
|
||||
|
||||
public static void http_put(Stream stream, string filename, Uri uri, thinCLIProtocol tCLIprotocol)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (FileStream fs = new FileStream(filename, FileMode.Open, FileAccess.Read))
|
||||
{
|
||||
using (Stream http = HTTP.doRPC("PUT", uri, tCLIprotocol))
|
||||
{
|
||||
if (http == null)
|
||||
{
|
||||
marshal_response(stream, tag.Failed);
|
||||
return;
|
||||
}
|
||||
byte[] block = new byte[tCLIprotocol.conf.block_size];
|
||||
while (true)
|
||||
{
|
||||
int n = fs.Read(block, 0, block.Length);
|
||||
if (n == 0) break;
|
||||
http.Write(block, 0, n);
|
||||
}
|
||||
marshal_response(stream, tag.OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
{
|
||||
tCLIprotocol.dGlobalError("File not found");
|
||||
marshal_response(stream, tag.Failed);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
tCLIprotocol.dGlobalError(string.Format("Received exception: {0}", e.Message));
|
||||
marshal_response(stream, tag.Failed);
|
||||
{
|
||||
try
|
||||
{
|
||||
using (FileStream fs = new FileStream(filename, FileMode.Open, FileAccess.Read))
|
||||
{
|
||||
using (Stream http = HTTP.doRPC("PUT", uri, tCLIprotocol))
|
||||
{
|
||||
if (http == null)
|
||||
{
|
||||
marshal_response(stream, tag.Failed);
|
||||
return;
|
||||
}
|
||||
byte[] block = new byte[tCLIprotocol.conf.block_size];
|
||||
while (true)
|
||||
{
|
||||
int n = fs.Read(block, 0, block.Length);
|
||||
if (n == 0) break;
|
||||
http.Write(block, 0, n);
|
||||
}
|
||||
marshal_response(stream, tag.OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
{
|
||||
tCLIprotocol.dGlobalError("File not found");
|
||||
marshal_response(stream, tag.Failed);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
tCLIprotocol.dGlobalError(string.Format("Received exception: {0}", e.Message));
|
||||
marshal_response(stream, tag.Failed);
|
||||
}
|
||||
}
|
||||
|
||||
public static void http_get(Stream stream, string filename, Uri uri, thinCLIProtocol tCLIprotocol)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (File.Exists(filename))
|
||||
throw new Exception(string.Format("The file '{0}' already exists", filename));
|
||||
|
||||
using (FileStream fs = new FileStream(filename, FileMode.Create, FileAccess.Write))
|
||||
{
|
||||
using (Stream http = HTTP.doRPC("GET", uri, tCLIprotocol))
|
||||
{
|
||||
if (http == null)
|
||||
{
|
||||
tCLIprotocol.dGlobalError("Server rejected request");
|
||||
marshal_response(stream, tag.Failed);
|
||||
return;
|
||||
}
|
||||
byte[] block = new byte[tCLIprotocol.conf.block_size];
|
||||
while (true)
|
||||
{
|
||||
int n = http.Read(block, 0, block.Length);
|
||||
if (n == 0) break;
|
||||
fs.Write(block, 0, n);
|
||||
}
|
||||
marshal_response(stream, tag.OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
tCLIprotocol.dGlobalError("Received exception: " + e.Message);
|
||||
tCLIprotocol.dGlobalError("Unable to write output file: " + filename);
|
||||
marshal_response(stream, tag.Failed);
|
||||
{
|
||||
try
|
||||
{
|
||||
if (File.Exists(filename))
|
||||
throw new Exception(string.Format("The file '{0}' already exists", filename));
|
||||
|
||||
using (FileStream fs = new FileStream(filename, FileMode.Create, FileAccess.Write))
|
||||
{
|
||||
using (Stream http = HTTP.doRPC("GET", uri, tCLIprotocol))
|
||||
{
|
||||
if (http == null)
|
||||
{
|
||||
tCLIprotocol.dGlobalError("Server rejected request");
|
||||
marshal_response(stream, tag.Failed);
|
||||
return;
|
||||
}
|
||||
byte[] block = new byte[tCLIprotocol.conf.block_size];
|
||||
while (true)
|
||||
{
|
||||
int n = http.Read(block, 0, block.Length);
|
||||
if (n == 0) break;
|
||||
fs.Write(block, 0, n);
|
||||
}
|
||||
marshal_response(stream, tag.OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
tCLIprotocol.dGlobalError("Received exception: " + e.Message);
|
||||
tCLIprotocol.dGlobalError("Unable to write output file: " + filename);
|
||||
marshal_response(stream, tag.Failed);
|
||||
}
|
||||
}
|
||||
|
||||
@ -561,14 +561,14 @@ namespace CommandLib
|
||||
break;
|
||||
case Messages.tag.HttpPut:
|
||||
filename = Types.unmarshal_string(stream);
|
||||
path = Types.unmarshal_string(stream);
|
||||
Uri uri = ParseUri(path, tCLIprotocol);
|
||||
path = Types.unmarshal_string(stream);
|
||||
Uri uri = ParseUri(path, tCLIprotocol);
|
||||
tCLIprotocol.dGlobalDebug("Read: HttpPut " + filename + " -> " + uri, tCLIprotocol);
|
||||
Messages.http_put(stream, filename, uri, tCLIprotocol);
|
||||
break;
|
||||
case Messages.tag.HttpGet:
|
||||
filename = Types.unmarshal_string(stream);
|
||||
path = Types.unmarshal_string(stream);
|
||||
path = Types.unmarshal_string(stream);
|
||||
uri = ParseUri(path, tCLIprotocol);
|
||||
tCLIprotocol.dGlobalDebug("Read: HttpGet " + filename + " -> " + uri, tCLIprotocol);
|
||||
Messages.http_get(stream, filename, uri, tCLIprotocol);
|
||||
@ -583,30 +583,30 @@ namespace CommandLib
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static Uri ParseUri(string path, thinCLIProtocol tcli)
|
||||
{
|
||||
// The server sometimes sends us a relative path (e.g. for VM import)
|
||||
// and sometimes an absolute URI (https://host/path). Construct the absolute URI
|
||||
// based on what we're given. The same hack exists in the server code...
|
||||
// See CA-10942.
|
||||
if (path.StartsWith("/"))
|
||||
{
|
||||
string[] bits = path.Split('?');
|
||||
UriBuilder uriBuilder = new UriBuilder();
|
||||
uriBuilder.Scheme = "https";
|
||||
uriBuilder.Host = tcli.conf.hostname;
|
||||
uriBuilder.Port = tcli.conf.port;
|
||||
uriBuilder.Path = bits[0];
|
||||
if (bits.Length > 1)
|
||||
uriBuilder.Query = bits[1];
|
||||
return uriBuilder.Uri;
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Uri(path);
|
||||
}
|
||||
}
|
||||
|
||||
private static Uri ParseUri(string path, thinCLIProtocol tcli)
|
||||
{
|
||||
// The server sometimes sends us a relative path (e.g. for VM import)
|
||||
// and sometimes an absolute URI (https://host/path). Construct the absolute URI
|
||||
// based on what we're given. The same hack exists in the server code...
|
||||
// See CA-10942.
|
||||
if (path.StartsWith("/"))
|
||||
{
|
||||
string[] bits = path.Split('?');
|
||||
UriBuilder uriBuilder = new UriBuilder();
|
||||
uriBuilder.Scheme = "https";
|
||||
uriBuilder.Host = tcli.conf.hostname;
|
||||
uriBuilder.Port = tcli.conf.port;
|
||||
uriBuilder.Path = bits[0];
|
||||
if (bits.Length > 1)
|
||||
uriBuilder.Query = bits[1];
|
||||
return uriBuilder.Uri;
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Uri(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -222,7 +222,7 @@ node('tocco-gui') {
|
||||
println "Skipping initial checks on request."
|
||||
} else {
|
||||
|
||||
List<String> list = ["check-roaming.sh", "i18ncheck/i18ncheck.sh", "deadcheck/deadcheck.sh", "spellcheck/spellcheck.sh"]
|
||||
List<String> list = ["check-roaming.sh", "copyrightcheck/copyrightcheck.sh", "i18ncheck/i18ncheck.sh", "deadcheck/deadcheck.sh", "spellcheck/spellcheck.sh"]
|
||||
for (String item : list) {
|
||||
bat """
|
||||
cd ${env.WORKSPACE}\\xenadmin.git\\devtools
|
||||
|
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
||||
Copyright (c) Citrix Systems Inc.
|
||||
Copyright (c) Citrix Systems, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (c) Citrix Systems Inc.
|
||||
# Copyright (c) Citrix Systems, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms,
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) Citrix Systems Inc.
|
||||
Copyright (c) Citrix Systems, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms,
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) Citrix Systems Inc.
|
||||
Copyright (c) Citrix Systems, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,35 @@
|
||||
using System.Linq;
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
* with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the
|
||||
* following disclaimer in the documentation and/or other
|
||||
* materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System.Linq;
|
||||
using XenAdmin.Core;
|
||||
using XenAPI;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (c) Citrix Systems Inc.
|
||||
/* Copyright (c) Citrix Systems, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user