# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID f40c6650152e15aeed0481880fb6e3ff7736dbeb
# Parent 95d2bbf6a273d053e8876944a803b80c086e0b3e
Add missing LGPL license notice to python sources
that didn't have them.
Signed-off-by: Mike Wray <mike.wray@xxxxxx>
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/lowlevel/xs/xs.c
--- a/tools/python/xen/lowlevel/xs/xs.c Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/lowlevel/xs/xs.c Tue Aug 9 13:17:37 2005
@@ -1,6 +1,21 @@
/*
* Python interface to the Xen Store Daemon.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
* Copyright (C) 2005 Mike Wray Hewlett-Packard
+ *
*/
#include <Python.h>
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/SrvBase.py
--- a/tools/python/xen/web/SrvBase.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/SrvBase.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import types
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/SrvDir.py
--- a/tools/python/xen/web/SrvDir.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/SrvDir.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import types
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/__init__.py
--- a/tools/python/xen/web/__init__.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/__init__.py Tue Aug 9 13:17:37 2005
@@ -1,1 +1,17 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/connection.py
--- a/tools/python/xen/web/connection.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/connection.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,21 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import sys
import threading
import select
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/httpserver.py
--- a/tools/python/xen/web/httpserver.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/httpserver.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,19 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import threading
import string
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/protocol.py
--- a/tools/python/xen/web/protocol.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/protocol.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
class Factory:
"""Generic protocol factory.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/reactor.py
--- a/tools/python/xen/web/reactor.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/reactor.py Tue Aug 9 13:17:37 2005
@@ -1,2 +1,19 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
from unix import listenUNIX, connectUNIX
from tcp import listenTCP, connectTCP
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/resource.py
--- a/tools/python/xen/web/resource.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/resource.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import http
def findResource(resource, request):
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/static.py
--- a/tools/python/xen/web/static.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/static.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,19 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import os
from resource import Resource
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/tcp.py
--- a/tools/python/xen/web/tcp.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/tcp.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import sys
import socket
import types
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/web/unix.py
--- a/tools/python/xen/web/unix.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/web/unix.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import sys
import socket
import os
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/Args.py
--- a/tools/python/xen/xend/Args.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/Args.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import types
import StringIO
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/EventServer.py
--- a/tools/python/xen/xend/EventServer.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/EventServer.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Simple publish/subscribe event server.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/PrettyPrint.py
--- a/tools/python/xen/xend/PrettyPrint.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/PrettyPrint.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""General pretty-printer, including support for SXP.
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/Vifctl.py
--- a/tools/python/xen/xend/Vifctl.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/Vifctl.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Xend interface to networking control scripts.
"""
import os
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendClient.py
--- a/tools/python/xen/xend/XendClient.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendClient.py Tue Aug 9 13:17:37 2005
@@ -1,5 +1,21 @@
#!/usr/bin/env python
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Client API for the HTTP interface on xend.
Callable as a script - see main().
Supports inet or unix connection to xend.
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendDB.py
--- a/tools/python/xen/xend/XendDB.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendDB.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import os
import os.path
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendDmesg.py
--- a/tools/python/xen/xend/XendDmesg.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendDmesg.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
- # Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Get dmesg output for this node.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendDomain.py Tue Aug 9 13:17:37 2005
@@ -1,5 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
# Copyright (C) 2005 Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
+#============================================================================
"""Handler for domain operations.
Nothing here is persistent (across reboots).
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Representation of a single domain.
Includes support for domain construction, using
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendError.py
--- a/tools/python/xen/xend/XendError.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendError.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,19 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
class XendError(ValueError):
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendLogging.py
--- a/tools/python/xen/xend/XendLogging.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendLogging.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import types
import logging
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendNode.py
--- a/tools/python/xen/xend/XendNode.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendNode.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Handler for node operations.
Has some persistent state:
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendProtocol.py
--- a/tools/python/xen/xend/XendProtocol.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendProtocol.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import socket
import httplib
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendRoot.py
--- a/tools/python/xen/xend/XendRoot.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendRoot.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Xend root class.
Creates the event server and handles configuration.
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/XendVnet.py
--- a/tools/python/xen/xend/XendVnet.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/XendVnet.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Handler for vnet operations.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/encode.py
--- a/tools/python/xen/xend/encode.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/encode.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Encoding for arguments to HTTP calls.
Uses the url-encoding with MIME type 'application/x-www-form-urlencoded'
if the data does not include files. Otherwise it uses the encoding with
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/image.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import os, string
import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/scheduler.py
--- a/tools/python/xen/xend/scheduler.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/scheduler.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import threading
def later(delay, fn, args=(), kwargs={}):
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/SrvDmesg.py
--- a/tools/python/xen/xend/server/SrvDmesg.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvDmesg.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import os
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/SrvDomain.py
--- a/tools/python/xen/xend/server/SrvDomain.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvDomain.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
from xen.web import http
diff -r 95d2bbf6a273 -r f40c6650152e
tools/python/xen/xend/server/SrvDomainDir.py
--- a/tools/python/xen/xend/server/SrvDomainDir.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvDomainDir.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import traceback
from StringIO import StringIO
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/SrvNode.py
--- a/tools/python/xen/xend/server/SrvNode.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvNode.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import os
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/SrvRoot.py
--- a/tools/python/xen/xend/server/SrvRoot.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvRoot.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
from xen.xend import XendRoot
xroot = XendRoot.instance()
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/SrvServer.py
--- a/tools/python/xen/xend/server/SrvServer.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvServer.py Tue Aug 9 13:17:37 2005
@@ -1,5 +1,20 @@
#!/usr/bin/python
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Example xend HTTP
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/SrvVnetDir.py
--- a/tools/python/xen/xend/server/SrvVnetDir.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvVnetDir.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
from xen.xend import sxp
from xen.xend.Args import FormFn
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/SrvXendLog.py
--- a/tools/python/xen/xend/server/SrvXendLog.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/SrvXendLog.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
from xen.web import static
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/blkif.py
--- a/tools/python/xen/xend/server/blkif.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/blkif.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Support for virtual block devices.
"""
import string
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/channel.py
--- a/tools/python/xen/xend/server/channel.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/channel.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import threading
import select
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/controller.py
--- a/tools/python/xen/xend/server/controller.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/controller.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""General support for controllers, which handle devices
for a domain.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/event.py
--- a/tools/python/xen/xend/server/event.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/event.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import sys
import StringIO
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/messages.py
--- a/tools/python/xen/xend/server/messages.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/messages.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import sys
import struct
import types
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/netif.py
--- a/tools/python/xen/xend/server/netif.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/netif.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Support for virtual network interfaces.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/params.py
--- a/tools/python/xen/xend/server/params.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/params.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import os
def getenv(var, val, conv=None):
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/pciif.py
--- a/tools/python/xen/xend/server/pciif.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/pciif.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
import types
import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/server/relocate.py
--- a/tools/python/xen/xend/server/relocate.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/server/relocate.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,19 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import socket
import sys
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/sxp.py
--- a/tools/python/xen/xend/sxp.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/sxp.py Tue Aug 9 13:17:37 2005
@@ -1,5 +1,21 @@
#!/usr/bin/python
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""
Input-driven parsing for s-expression (sxp) format.
Create a parser: pin = Parser();
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/uuid.py
--- a/tools/python/xen/xend/uuid.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/uuid.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,20 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Universal(ly) Unique Identifiers (UUIDs).
"""
import commands
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/xenstore/__init__.py
--- a/tools/python/xen/xend/xenstore/__init__.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/xenstore/__init__.py Tue Aug 9 13:17:37 2005
@@ -1,2 +1,18 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
from xsnode import *
from xsobj import *
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/xenstore/xsnode.py
--- a/tools/python/xen/xend/xenstore/xsnode.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/xenstore/xsnode.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,19 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import errno
import os
import os.path
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xend/xenstore/xsobj.py
--- a/tools/python/xen/xend/xenstore/xsobj.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/xenstore/xsobj.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,19 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
import string
import types
diff -r 95d2bbf6a273 -r f40c6650152e
tools/python/xen/xend/xenstore/xsresource.py
--- a/tools/python/xen/xend/xenstore/xsresource.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xend/xenstore/xsresource.py Tue Aug 9 13:17:37 2005
@@ -1,3 +1,16 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#============================================================================
# Copyright (C) 2005 Mike Wray <mike.wray@xxxxxx>
#============================================================================
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xm/create.py Tue Aug 9 13:17:37 2005
@@ -1,5 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
# Copyright (C) 2005 Nguyen Anh Quynh <aquynh@xxxxxxxxx>
+#============================================================================
"""Domain creation.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xm/destroy.py
--- a/tools/python/xen/xm/destroy.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xm/destroy.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Destroy a domain.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xm/help.py
--- a/tools/python/xen/xm/help.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xm/help.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Variable definition and help support for Python defconfig files.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xm/main.py Tue Aug 9 13:17:37 2005
@@ -5,9 +5,18 @@
# Sean Dague <sean at dague dot net>
# Mike Wray <mike dot wray at hp dot com>
#
-# This software may be used and distributed according to the terms
-# of the GNU General Public License v2. Full details on license
-# terms and conditions are included with this distribution
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""Grand unified management application for Xen.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xm/migrate.py
--- a/tools/python/xen/xm/migrate.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xm/migrate.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Domain migration.
"""
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xm/opts.py
--- a/tools/python/xen/xm/opts.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xm/opts.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,20 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+
"""Object-oriented command-line option support.
"""
from getopt import getopt, GetoptError
diff -r 95d2bbf6a273 -r f40c6650152e tools/python/xen/xm/shutdown.py
--- a/tools/python/xen/xm/shutdown.py Tue Aug 9 13:08:25 2005
+++ b/tools/python/xen/xm/shutdown.py Tue Aug 9 13:17:37 2005
@@ -1,4 +1,19 @@
-# Copyright (C) 2004 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2004, 2005 Mike Wray <mike.wray@xxxxxx>
+#============================================================================
"""Domain shutdown.
"""
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|