ia64/xen-unstable

changeset 6079:f40c6650152e

Add missing LGPL license notice to python sources
that didn't have them.

Signed-off-by: Mike Wray <mike.wray@hp.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Aug 09 13:17:37 2005 +0000 (2005-08-09)
parents 95d2bbf6a273
children 38c7c25b3cb9 389e76fbfdbd
files tools/python/xen/lowlevel/xs/xs.c tools/python/xen/web/SrvBase.py tools/python/xen/web/SrvDir.py tools/python/xen/web/__init__.py tools/python/xen/web/connection.py tools/python/xen/web/httpserver.py tools/python/xen/web/protocol.py tools/python/xen/web/reactor.py tools/python/xen/web/resource.py tools/python/xen/web/static.py tools/python/xen/web/tcp.py tools/python/xen/web/unix.py tools/python/xen/xend/Args.py tools/python/xen/xend/EventServer.py tools/python/xen/xend/PrettyPrint.py tools/python/xen/xend/Vifctl.py tools/python/xen/xend/XendClient.py tools/python/xen/xend/XendDB.py tools/python/xen/xend/XendDmesg.py tools/python/xen/xend/XendDomain.py tools/python/xen/xend/XendDomainInfo.py tools/python/xen/xend/XendError.py tools/python/xen/xend/XendLogging.py tools/python/xen/xend/XendNode.py tools/python/xen/xend/XendProtocol.py tools/python/xen/xend/XendRoot.py tools/python/xen/xend/XendVnet.py tools/python/xen/xend/encode.py tools/python/xen/xend/image.py tools/python/xen/xend/scheduler.py tools/python/xen/xend/server/SrvDmesg.py tools/python/xen/xend/server/SrvDomain.py tools/python/xen/xend/server/SrvDomainDir.py tools/python/xen/xend/server/SrvNode.py tools/python/xen/xend/server/SrvRoot.py tools/python/xen/xend/server/SrvServer.py tools/python/xen/xend/server/SrvVnetDir.py tools/python/xen/xend/server/SrvXendLog.py tools/python/xen/xend/server/blkif.py tools/python/xen/xend/server/channel.py tools/python/xen/xend/server/controller.py tools/python/xen/xend/server/event.py tools/python/xen/xend/server/messages.py tools/python/xen/xend/server/netif.py tools/python/xen/xend/server/params.py tools/python/xen/xend/server/pciif.py tools/python/xen/xend/server/relocate.py tools/python/xen/xend/sxp.py tools/python/xen/xend/uuid.py tools/python/xen/xend/xenstore/__init__.py tools/python/xen/xend/xenstore/xsnode.py tools/python/xen/xend/xenstore/xsobj.py tools/python/xen/xend/xenstore/xsresource.py tools/python/xen/xm/create.py tools/python/xen/xm/destroy.py tools/python/xen/xm/help.py tools/python/xen/xm/main.py tools/python/xen/xm/migrate.py tools/python/xen/xm/opts.py tools/python/xen/xm/shutdown.py
line diff
     1.1 --- a/tools/python/xen/lowlevel/xs/xs.c	Tue Aug 09 13:08:25 2005 +0000
     1.2 +++ b/tools/python/xen/lowlevel/xs/xs.c	Tue Aug 09 13:17:37 2005 +0000
     1.3 @@ -1,6 +1,21 @@
     1.4  /* 
     1.5   * Python interface to the Xen Store Daemon.
     1.6 + *
     1.7 + * This library is free software; you can redistribute it and/or
     1.8 + * modify it under the terms of version 2.1 of the GNU Lesser General Public
     1.9 + * License as published by the Free Software Foundation.
    1.10 + *
    1.11 + * This library is distributed in the hope that it will be useful,
    1.12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.14 + * Lesser General Public License for more details.
    1.15 + *
    1.16 + * You should have received a copy of the GNU Lesser General Public
    1.17 + * License along with this library; if not, write to the Free Software
    1.18 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.19 + *
    1.20   * Copyright (C) 2005 Mike Wray Hewlett-Packard
    1.21 + *
    1.22   */
    1.23  
    1.24  #include <Python.h>
     2.1 --- a/tools/python/xen/web/SrvBase.py	Tue Aug 09 13:08:25 2005 +0000
     2.2 +++ b/tools/python/xen/web/SrvBase.py	Tue Aug 09 13:17:37 2005 +0000
     2.3 @@ -1,4 +1,19 @@
     2.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
     2.5 +#============================================================================
     2.6 +# This library is free software; you can redistribute it and/or
     2.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
     2.8 +# License as published by the Free Software Foundation.
     2.9 +#
    2.10 +# This library is distributed in the hope that it will be useful,
    2.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    2.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    2.13 +# Lesser General Public License for more details.
    2.14 +#
    2.15 +# You should have received a copy of the GNU Lesser General Public
    2.16 +# License along with this library; if not, write to the Free Software
    2.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    2.18 +#============================================================================
    2.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
    2.20 +#============================================================================
    2.21  
    2.22  import types
    2.23  
     3.1 --- a/tools/python/xen/web/SrvDir.py	Tue Aug 09 13:08:25 2005 +0000
     3.2 +++ b/tools/python/xen/web/SrvDir.py	Tue Aug 09 13:17:37 2005 +0000
     3.3 @@ -1,4 +1,19 @@
     3.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
     3.5 +#============================================================================
     3.6 +# This library is free software; you can redistribute it and/or
     3.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
     3.8 +# License as published by the Free Software Foundation.
     3.9 +#
    3.10 +# This library is distributed in the hope that it will be useful,
    3.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    3.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    3.13 +# Lesser General Public License for more details.
    3.14 +#
    3.15 +# You should have received a copy of the GNU Lesser General Public
    3.16 +# License along with this library; if not, write to the Free Software
    3.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    3.18 +#============================================================================
    3.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
    3.20 +#============================================================================
    3.21  
    3.22  import types
    3.23  
     4.1 --- a/tools/python/xen/web/__init__.py	Tue Aug 09 13:08:25 2005 +0000
     4.2 +++ b/tools/python/xen/web/__init__.py	Tue Aug 09 13:17:37 2005 +0000
     4.3 @@ -1,1 +1,17 @@
     4.4 +#============================================================================
     4.5 +# This library is free software; you can redistribute it and/or
     4.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
     4.7 +# License as published by the Free Software Foundation.
     4.8 +#
     4.9 +# This library is distributed in the hope that it will be useful,
    4.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    4.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    4.12 +# Lesser General Public License for more details.
    4.13 +#
    4.14 +# You should have received a copy of the GNU Lesser General Public
    4.15 +# License along with this library; if not, write to the Free Software
    4.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    4.17 +#============================================================================
    4.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
    4.19 +#============================================================================
    4.20  
     5.1 --- a/tools/python/xen/web/connection.py	Tue Aug 09 13:08:25 2005 +0000
     5.2 +++ b/tools/python/xen/web/connection.py	Tue Aug 09 13:17:37 2005 +0000
     5.3 @@ -1,3 +1,21 @@
     5.4 +#============================================================================
     5.5 +# This library is free software; you can redistribute it and/or modify
     5.6 +# it under the terms of the GNU Lesser General Public License as published by
     5.7 +# the Free Software Foundation; either version 2.1 of the License, or
     5.8 +# (at your option) any later version.
     5.9 +#
    5.10 +# This library is distributed in the hope that it will be useful,
    5.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    5.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    5.13 +# GNU Lesser General Public License for more details.
    5.14 +#
    5.15 +# You should have received a copy of the GNU Lesser General Public License
    5.16 +# along with this library; if not, write to the Free Software
    5.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    5.18 +#============================================================================
    5.19 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
    5.20 +#============================================================================
    5.21 +
    5.22  import sys
    5.23  import threading
    5.24  import select
     6.1 --- a/tools/python/xen/web/httpserver.py	Tue Aug 09 13:08:25 2005 +0000
     6.2 +++ b/tools/python/xen/web/httpserver.py	Tue Aug 09 13:17:37 2005 +0000
     6.3 @@ -1,3 +1,19 @@
     6.4 +#============================================================================
     6.5 +# This library is free software; you can redistribute it and/or
     6.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
     6.7 +# License as published by the Free Software Foundation.
     6.8 +#
     6.9 +# This library is distributed in the hope that it will be useful,
    6.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    6.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    6.12 +# Lesser General Public License for more details.
    6.13 +#
    6.14 +# You should have received a copy of the GNU Lesser General Public
    6.15 +# License along with this library; if not, write to the Free Software
    6.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    6.17 +#============================================================================
    6.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
    6.19 +#============================================================================
    6.20  import threading
    6.21  
    6.22  import string
     7.1 --- a/tools/python/xen/web/protocol.py	Tue Aug 09 13:08:25 2005 +0000
     7.2 +++ b/tools/python/xen/web/protocol.py	Tue Aug 09 13:17:37 2005 +0000
     7.3 @@ -1,3 +1,20 @@
     7.4 +#============================================================================
     7.5 +# This library is free software; you can redistribute it and/or
     7.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
     7.7 +# License as published by the Free Software Foundation.
     7.8 +#
     7.9 +# This library is distributed in the hope that it will be useful,
    7.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    7.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    7.12 +# Lesser General Public License for more details.
    7.13 +#
    7.14 +# You should have received a copy of the GNU Lesser General Public
    7.15 +# License along with this library; if not, write to the Free Software
    7.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    7.17 +#============================================================================
    7.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
    7.19 +#============================================================================
    7.20 +
    7.21  class Factory:
    7.22      """Generic protocol factory.
    7.23      """
     8.1 --- a/tools/python/xen/web/reactor.py	Tue Aug 09 13:08:25 2005 +0000
     8.2 +++ b/tools/python/xen/web/reactor.py	Tue Aug 09 13:17:37 2005 +0000
     8.3 @@ -1,2 +1,19 @@
     8.4 +#============================================================================
     8.5 +# This library is free software; you can redistribute it and/or
     8.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
     8.7 +# License as published by the Free Software Foundation.
     8.8 +#
     8.9 +# This library is distributed in the hope that it will be useful,
    8.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    8.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    8.12 +# Lesser General Public License for more details.
    8.13 +#
    8.14 +# You should have received a copy of the GNU Lesser General Public
    8.15 +# License along with this library; if not, write to the Free Software
    8.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    8.17 +#============================================================================
    8.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
    8.19 +#============================================================================
    8.20 +
    8.21  from unix import listenUNIX, connectUNIX
    8.22  from tcp import listenTCP, connectTCP
     9.1 --- a/tools/python/xen/web/resource.py	Tue Aug 09 13:08:25 2005 +0000
     9.2 +++ b/tools/python/xen/web/resource.py	Tue Aug 09 13:17:37 2005 +0000
     9.3 @@ -1,3 +1,20 @@
     9.4 +#============================================================================
     9.5 +# This library is free software; you can redistribute it and/or
     9.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
     9.7 +# License as published by the Free Software Foundation.
     9.8 +#
     9.9 +# This library is distributed in the hope that it will be useful,
    9.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    9.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    9.12 +# Lesser General Public License for more details.
    9.13 +#
    9.14 +# You should have received a copy of the GNU Lesser General Public
    9.15 +# License along with this library; if not, write to the Free Software
    9.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    9.17 +#============================================================================
    9.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
    9.19 +#============================================================================
    9.20 +
    9.21  import http
    9.22  
    9.23  def findResource(resource, request):
    10.1 --- a/tools/python/xen/web/static.py	Tue Aug 09 13:08:25 2005 +0000
    10.2 +++ b/tools/python/xen/web/static.py	Tue Aug 09 13:17:37 2005 +0000
    10.3 @@ -1,3 +1,19 @@
    10.4 +#============================================================================
    10.5 +# This library is free software; you can redistribute it and/or
    10.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    10.7 +# License as published by the Free Software Foundation.
    10.8 +#
    10.9 +# This library is distributed in the hope that it will be useful,
   10.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   10.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10.12 +# Lesser General Public License for more details.
   10.13 +#
   10.14 +# You should have received a copy of the GNU Lesser General Public
   10.15 +# License along with this library; if not, write to the Free Software
   10.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   10.17 +#============================================================================
   10.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   10.19 +#============================================================================
   10.20  import os
   10.21  
   10.22  from resource import Resource
    11.1 --- a/tools/python/xen/web/tcp.py	Tue Aug 09 13:08:25 2005 +0000
    11.2 +++ b/tools/python/xen/web/tcp.py	Tue Aug 09 13:17:37 2005 +0000
    11.3 @@ -1,3 +1,20 @@
    11.4 +#============================================================================
    11.5 +# This library is free software; you can redistribute it and/or
    11.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    11.7 +# License as published by the Free Software Foundation.
    11.8 +#
    11.9 +# This library is distributed in the hope that it will be useful,
   11.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   11.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   11.12 +# Lesser General Public License for more details.
   11.13 +#
   11.14 +# You should have received a copy of the GNU Lesser General Public
   11.15 +# License along with this library; if not, write to the Free Software
   11.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   11.17 +#============================================================================
   11.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   11.19 +#============================================================================
   11.20 +
   11.21  import sys
   11.22  import socket
   11.23  import types
    12.1 --- a/tools/python/xen/web/unix.py	Tue Aug 09 13:08:25 2005 +0000
    12.2 +++ b/tools/python/xen/web/unix.py	Tue Aug 09 13:17:37 2005 +0000
    12.3 @@ -1,3 +1,20 @@
    12.4 +#============================================================================
    12.5 +# This library is free software; you can redistribute it and/or
    12.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    12.7 +# License as published by the Free Software Foundation.
    12.8 +#
    12.9 +# This library is distributed in the hope that it will be useful,
   12.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   12.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   12.12 +# Lesser General Public License for more details.
   12.13 +#
   12.14 +# You should have received a copy of the GNU Lesser General Public
   12.15 +# License along with this library; if not, write to the Free Software
   12.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   12.17 +#============================================================================
   12.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   12.19 +#============================================================================
   12.20 +
   12.21  import sys
   12.22  import socket
   12.23  import os
    13.1 --- a/tools/python/xen/xend/Args.py	Tue Aug 09 13:08:25 2005 +0000
    13.2 +++ b/tools/python/xen/xend/Args.py	Tue Aug 09 13:17:37 2005 +0000
    13.3 @@ -1,3 +1,20 @@
    13.4 +#============================================================================
    13.5 +# This library is free software; you can redistribute it and/or
    13.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    13.7 +# License as published by the Free Software Foundation.
    13.8 +#
    13.9 +# This library is distributed in the hope that it will be useful,
   13.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   13.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   13.12 +# Lesser General Public License for more details.
   13.13 +#
   13.14 +# You should have received a copy of the GNU Lesser General Public
   13.15 +# License along with this library; if not, write to the Free Software
   13.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   13.17 +#============================================================================
   13.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   13.19 +#============================================================================
   13.20 +
   13.21  import types
   13.22  import StringIO
   13.23  
    14.1 --- a/tools/python/xen/xend/EventServer.py	Tue Aug 09 13:08:25 2005 +0000
    14.2 +++ b/tools/python/xen/xend/EventServer.py	Tue Aug 09 13:17:37 2005 +0000
    14.3 @@ -1,4 +1,20 @@
    14.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    14.5 +#============================================================================
    14.6 +# This library is free software; you can redistribute it and/or
    14.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    14.8 +# License as published by the Free Software Foundation.
    14.9 +#
   14.10 +# This library is distributed in the hope that it will be useful,
   14.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   14.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   14.13 +# Lesser General Public License for more details.
   14.14 +#
   14.15 +# You should have received a copy of the GNU Lesser General Public
   14.16 +# License along with this library; if not, write to the Free Software
   14.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   14.18 +#============================================================================
   14.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   14.20 +#============================================================================
   14.21 +
   14.22  """Simple publish/subscribe event server.
   14.23  
   14.24  """
    15.1 --- a/tools/python/xen/xend/PrettyPrint.py	Tue Aug 09 13:08:25 2005 +0000
    15.2 +++ b/tools/python/xen/xend/PrettyPrint.py	Tue Aug 09 13:17:37 2005 +0000
    15.3 @@ -1,4 +1,19 @@
    15.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    15.5 +#============================================================================
    15.6 +# This library is free software; you can redistribute it and/or
    15.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    15.8 +# License as published by the Free Software Foundation.
    15.9 +#
   15.10 +# This library is distributed in the hope that it will be useful,
   15.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   15.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   15.13 +# Lesser General Public License for more details.
   15.14 +#
   15.15 +# You should have received a copy of the GNU Lesser General Public
   15.16 +# License along with this library; if not, write to the Free Software
   15.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   15.18 +#============================================================================
   15.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   15.20 +#============================================================================
   15.21  
   15.22  """General pretty-printer, including support for SXP.
   15.23  
    16.1 --- a/tools/python/xen/xend/Vifctl.py	Tue Aug 09 13:08:25 2005 +0000
    16.2 +++ b/tools/python/xen/xend/Vifctl.py	Tue Aug 09 13:17:37 2005 +0000
    16.3 @@ -1,3 +1,20 @@
    16.4 +#============================================================================
    16.5 +# This library is free software; you can redistribute it and/or
    16.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    16.7 +# License as published by the Free Software Foundation.
    16.8 +#
    16.9 +# This library is distributed in the hope that it will be useful,
   16.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   16.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   16.12 +# Lesser General Public License for more details.
   16.13 +#
   16.14 +# You should have received a copy of the GNU Lesser General Public
   16.15 +# License along with this library; if not, write to the Free Software
   16.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   16.17 +#============================================================================
   16.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   16.19 +#============================================================================
   16.20 +
   16.21  """Xend interface to networking control scripts.
   16.22  """
   16.23  import os
    17.1 --- a/tools/python/xen/xend/XendClient.py	Tue Aug 09 13:08:25 2005 +0000
    17.2 +++ b/tools/python/xen/xend/XendClient.py	Tue Aug 09 13:17:37 2005 +0000
    17.3 @@ -1,5 +1,21 @@
    17.4  #!/usr/bin/env python
    17.5 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    17.6 +#============================================================================
    17.7 +# This library is free software; you can redistribute it and/or
    17.8 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    17.9 +# License as published by the Free Software Foundation.
   17.10 +#
   17.11 +# This library is distributed in the hope that it will be useful,
   17.12 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   17.13 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   17.14 +# Lesser General Public License for more details.
   17.15 +#
   17.16 +# You should have received a copy of the GNU Lesser General Public
   17.17 +# License along with this library; if not, write to the Free Software
   17.18 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   17.19 +#============================================================================
   17.20 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   17.21 +#============================================================================
   17.22 +
   17.23  """Client API for the HTTP interface on xend.
   17.24  Callable as a script - see main().
   17.25  Supports inet or unix connection to xend.
    18.1 --- a/tools/python/xen/xend/XendDB.py	Tue Aug 09 13:08:25 2005 +0000
    18.2 +++ b/tools/python/xen/xend/XendDB.py	Tue Aug 09 13:17:37 2005 +0000
    18.3 @@ -1,4 +1,19 @@
    18.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    18.5 +#============================================================================
    18.6 +# This library is free software; you can redistribute it and/or
    18.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    18.8 +# License as published by the Free Software Foundation.
    18.9 +#
   18.10 +# This library is distributed in the hope that it will be useful,
   18.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   18.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   18.13 +# Lesser General Public License for more details.
   18.14 +#
   18.15 +# You should have received a copy of the GNU Lesser General Public
   18.16 +# License along with this library; if not, write to the Free Software
   18.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   18.18 +#============================================================================
   18.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   18.20 +#============================================================================
   18.21  
   18.22  import os
   18.23  import os.path
    19.1 --- a/tools/python/xen/xend/XendDmesg.py	Tue Aug 09 13:08:25 2005 +0000
    19.2 +++ b/tools/python/xen/xend/XendDmesg.py	Tue Aug 09 13:17:37 2005 +0000
    19.3 @@ -1,4 +1,19 @@
    19.4 - # Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    19.5 +#============================================================================
    19.6 +# This library is free software; you can redistribute it and/or
    19.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    19.8 +# License as published by the Free Software Foundation.
    19.9 +#
   19.10 +# This library is distributed in the hope that it will be useful,
   19.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   19.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   19.13 +# Lesser General Public License for more details.
   19.14 +#
   19.15 +# You should have received a copy of the GNU Lesser General Public
   19.16 +# License along with this library; if not, write to the Free Software
   19.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   19.18 +#============================================================================
   19.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   19.20 +#============================================================================
   19.21  
   19.22  """Get dmesg output for this node.
   19.23  """
    20.1 --- a/tools/python/xen/xend/XendDomain.py	Tue Aug 09 13:08:25 2005 +0000
    20.2 +++ b/tools/python/xen/xend/XendDomain.py	Tue Aug 09 13:17:37 2005 +0000
    20.3 @@ -1,5 +1,20 @@
    20.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    20.5 +#============================================================================
    20.6 +# This library is free software; you can redistribute it and/or
    20.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    20.8 +# License as published by the Free Software Foundation.
    20.9 +#
   20.10 +# This library is distributed in the hope that it will be useful,
   20.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   20.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   20.13 +# Lesser General Public License for more details.
   20.14 +#
   20.15 +# You should have received a copy of the GNU Lesser General Public
   20.16 +# License along with this library; if not, write to the Free Software
   20.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   20.18 +#============================================================================
   20.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   20.20  # Copyright (C) 2005 Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
   20.21 +#============================================================================
   20.22  
   20.23  """Handler for domain operations.
   20.24   Nothing here is persistent (across reboots).
    21.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Aug 09 13:08:25 2005 +0000
    21.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Aug 09 13:17:37 2005 +0000
    21.3 @@ -1,4 +1,19 @@
    21.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    21.5 +#============================================================================
    21.6 +# This library is free software; you can redistribute it and/or
    21.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    21.8 +# License as published by the Free Software Foundation.
    21.9 +#
   21.10 +# This library is distributed in the hope that it will be useful,
   21.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   21.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   21.13 +# Lesser General Public License for more details.
   21.14 +#
   21.15 +# You should have received a copy of the GNU Lesser General Public
   21.16 +# License along with this library; if not, write to the Free Software
   21.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   21.18 +#============================================================================
   21.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   21.20 +#============================================================================
   21.21  
   21.22  """Representation of a single domain.
   21.23  Includes support for domain construction, using
    22.1 --- a/tools/python/xen/xend/XendError.py	Tue Aug 09 13:08:25 2005 +0000
    22.2 +++ b/tools/python/xen/xend/XendError.py	Tue Aug 09 13:17:37 2005 +0000
    22.3 @@ -1,3 +1,19 @@
    22.4 +#============================================================================
    22.5 +# This library is free software; you can redistribute it and/or
    22.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    22.7 +# License as published by the Free Software Foundation.
    22.8 +#
    22.9 +# This library is distributed in the hope that it will be useful,
   22.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   22.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   22.12 +# Lesser General Public License for more details.
   22.13 +#
   22.14 +# You should have received a copy of the GNU Lesser General Public
   22.15 +# License along with this library; if not, write to the Free Software
   22.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   22.17 +#============================================================================
   22.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   22.19 +#============================================================================
   22.20  
   22.21  class XendError(ValueError):
   22.22      
    23.1 --- a/tools/python/xen/xend/XendLogging.py	Tue Aug 09 13:08:25 2005 +0000
    23.2 +++ b/tools/python/xen/xend/XendLogging.py	Tue Aug 09 13:17:37 2005 +0000
    23.3 @@ -1,4 +1,19 @@
    23.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    23.5 +#============================================================================
    23.6 +# This library is free software; you can redistribute it and/or
    23.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    23.8 +# License as published by the Free Software Foundation.
    23.9 +#
   23.10 +# This library is distributed in the hope that it will be useful,
   23.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   23.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   23.13 +# Lesser General Public License for more details.
   23.14 +#
   23.15 +# You should have received a copy of the GNU Lesser General Public
   23.16 +# License along with this library; if not, write to the Free Software
   23.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   23.18 +#============================================================================
   23.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   23.20 +#============================================================================
   23.21  
   23.22  import types
   23.23  import logging
    24.1 --- a/tools/python/xen/xend/XendNode.py	Tue Aug 09 13:08:25 2005 +0000
    24.2 +++ b/tools/python/xen/xend/XendNode.py	Tue Aug 09 13:17:37 2005 +0000
    24.3 @@ -1,4 +1,19 @@
    24.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    24.5 +#============================================================================
    24.6 +# This library is free software; you can redistribute it and/or
    24.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    24.8 +# License as published by the Free Software Foundation.
    24.9 +#
   24.10 +# This library is distributed in the hope that it will be useful,
   24.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   24.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   24.13 +# Lesser General Public License for more details.
   24.14 +#
   24.15 +# You should have received a copy of the GNU Lesser General Public
   24.16 +# License along with this library; if not, write to the Free Software
   24.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   24.18 +#============================================================================
   24.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   24.20 +#============================================================================
   24.21  
   24.22  """Handler for node operations.
   24.23   Has some persistent state:
    25.1 --- a/tools/python/xen/xend/XendProtocol.py	Tue Aug 09 13:08:25 2005 +0000
    25.2 +++ b/tools/python/xen/xend/XendProtocol.py	Tue Aug 09 13:17:37 2005 +0000
    25.3 @@ -1,4 +1,19 @@
    25.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    25.5 +#============================================================================
    25.6 +# This library is free software; you can redistribute it and/or
    25.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    25.8 +# License as published by the Free Software Foundation.
    25.9 +#
   25.10 +# This library is distributed in the hope that it will be useful,
   25.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   25.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   25.13 +# Lesser General Public License for more details.
   25.14 +#
   25.15 +# You should have received a copy of the GNU Lesser General Public
   25.16 +# License along with this library; if not, write to the Free Software
   25.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   25.18 +#============================================================================
   25.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   25.20 +#============================================================================
   25.21  
   25.22  import socket
   25.23  import httplib
    26.1 --- a/tools/python/xen/xend/XendRoot.py	Tue Aug 09 13:08:25 2005 +0000
    26.2 +++ b/tools/python/xen/xend/XendRoot.py	Tue Aug 09 13:17:37 2005 +0000
    26.3 @@ -1,4 +1,19 @@
    26.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    26.5 +#============================================================================
    26.6 +# This library is free software; you can redistribute it and/or
    26.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    26.8 +# License as published by the Free Software Foundation.
    26.9 +#
   26.10 +# This library is distributed in the hope that it will be useful,
   26.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   26.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   26.13 +# Lesser General Public License for more details.
   26.14 +#
   26.15 +# You should have received a copy of the GNU Lesser General Public
   26.16 +# License along with this library; if not, write to the Free Software
   26.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   26.18 +#============================================================================
   26.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   26.20 +#============================================================================
   26.21  
   26.22  """Xend root class.
   26.23  Creates the event server and handles configuration.
    27.1 --- a/tools/python/xen/xend/XendVnet.py	Tue Aug 09 13:08:25 2005 +0000
    27.2 +++ b/tools/python/xen/xend/XendVnet.py	Tue Aug 09 13:17:37 2005 +0000
    27.3 @@ -1,4 +1,19 @@
    27.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    27.5 +#============================================================================
    27.6 +# This library is free software; you can redistribute it and/or
    27.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    27.8 +# License as published by the Free Software Foundation.
    27.9 +#
   27.10 +# This library is distributed in the hope that it will be useful,
   27.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   27.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   27.13 +# Lesser General Public License for more details.
   27.14 +#
   27.15 +# You should have received a copy of the GNU Lesser General Public
   27.16 +# License along with this library; if not, write to the Free Software
   27.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   27.18 +#============================================================================
   27.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   27.20 +#============================================================================
   27.21  
   27.22  """Handler for vnet operations.
   27.23  """
    28.1 --- a/tools/python/xen/xend/encode.py	Tue Aug 09 13:08:25 2005 +0000
    28.2 +++ b/tools/python/xen/xend/encode.py	Tue Aug 09 13:17:37 2005 +0000
    28.3 @@ -1,4 +1,20 @@
    28.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    28.5 +#============================================================================
    28.6 +# This library is free software; you can redistribute it and/or
    28.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    28.8 +# License as published by the Free Software Foundation.
    28.9 +#
   28.10 +# This library is distributed in the hope that it will be useful,
   28.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   28.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   28.13 +# Lesser General Public License for more details.
   28.14 +#
   28.15 +# You should have received a copy of the GNU Lesser General Public
   28.16 +# License along with this library; if not, write to the Free Software
   28.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   28.18 +#============================================================================
   28.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   28.20 +#============================================================================
   28.21 +
   28.22  """Encoding for arguments to HTTP calls.
   28.23     Uses the url-encoding with MIME type 'application/x-www-form-urlencoded'
   28.24     if the data does not include files. Otherwise it uses the encoding with
    29.1 --- a/tools/python/xen/xend/image.py	Tue Aug 09 13:08:25 2005 +0000
    29.2 +++ b/tools/python/xen/xend/image.py	Tue Aug 09 13:17:37 2005 +0000
    29.3 @@ -1,3 +1,20 @@
    29.4 +#============================================================================
    29.5 +# This library is free software; you can redistribute it and/or
    29.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    29.7 +# License as published by the Free Software Foundation.
    29.8 +#
    29.9 +# This library is distributed in the hope that it will be useful,
   29.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   29.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   29.12 +# Lesser General Public License for more details.
   29.13 +#
   29.14 +# You should have received a copy of the GNU Lesser General Public
   29.15 +# License along with this library; if not, write to the Free Software
   29.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   29.17 +#============================================================================
   29.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   29.19 +#============================================================================
   29.20 +
   29.21  import os, string
   29.22  
   29.23  import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
    30.1 --- a/tools/python/xen/xend/scheduler.py	Tue Aug 09 13:08:25 2005 +0000
    30.2 +++ b/tools/python/xen/xend/scheduler.py	Tue Aug 09 13:17:37 2005 +0000
    30.3 @@ -1,3 +1,20 @@
    30.4 +#============================================================================
    30.5 +# This library is free software; you can redistribute it and/or
    30.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    30.7 +# License as published by the Free Software Foundation.
    30.8 +#
    30.9 +# This library is distributed in the hope that it will be useful,
   30.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   30.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   30.12 +# Lesser General Public License for more details.
   30.13 +#
   30.14 +# You should have received a copy of the GNU Lesser General Public
   30.15 +# License along with this library; if not, write to the Free Software
   30.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   30.17 +#============================================================================
   30.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   30.19 +#============================================================================
   30.20 +
   30.21  import threading
   30.22  
   30.23  def later(delay, fn, args=(), kwargs={}):
    31.1 --- a/tools/python/xen/xend/server/SrvDmesg.py	Tue Aug 09 13:08:25 2005 +0000
    31.2 +++ b/tools/python/xen/xend/server/SrvDmesg.py	Tue Aug 09 13:17:37 2005 +0000
    31.3 @@ -1,4 +1,19 @@
    31.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    31.5 +#============================================================================
    31.6 +# This library is free software; you can redistribute it and/or
    31.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    31.8 +# License as published by the Free Software Foundation.
    31.9 +#
   31.10 +# This library is distributed in the hope that it will be useful,
   31.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   31.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   31.13 +# Lesser General Public License for more details.
   31.14 +#
   31.15 +# You should have received a copy of the GNU Lesser General Public
   31.16 +# License along with this library; if not, write to the Free Software
   31.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   31.18 +#============================================================================
   31.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   31.20 +#============================================================================
   31.21  
   31.22  import os
   31.23  
    32.1 --- a/tools/python/xen/xend/server/SrvDomain.py	Tue Aug 09 13:08:25 2005 +0000
    32.2 +++ b/tools/python/xen/xend/server/SrvDomain.py	Tue Aug 09 13:17:37 2005 +0000
    32.3 @@ -1,4 +1,19 @@
    32.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    32.5 +#============================================================================
    32.6 +# This library is free software; you can redistribute it and/or
    32.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    32.8 +# License as published by the Free Software Foundation.
    32.9 +#
   32.10 +# This library is distributed in the hope that it will be useful,
   32.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   32.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   32.13 +# Lesser General Public License for more details.
   32.14 +#
   32.15 +# You should have received a copy of the GNU Lesser General Public
   32.16 +# License along with this library; if not, write to the Free Software
   32.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   32.18 +#============================================================================
   32.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   32.20 +#============================================================================
   32.21  
   32.22  from xen.web import http
   32.23  
    33.1 --- a/tools/python/xen/xend/server/SrvDomainDir.py	Tue Aug 09 13:08:25 2005 +0000
    33.2 +++ b/tools/python/xen/xend/server/SrvDomainDir.py	Tue Aug 09 13:17:37 2005 +0000
    33.3 @@ -1,4 +1,19 @@
    33.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    33.5 +#============================================================================
    33.6 +# This library is free software; you can redistribute it and/or
    33.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    33.8 +# License as published by the Free Software Foundation.
    33.9 +#
   33.10 +# This library is distributed in the hope that it will be useful,
   33.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   33.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   33.13 +# Lesser General Public License for more details.
   33.14 +#
   33.15 +# You should have received a copy of the GNU Lesser General Public
   33.16 +# License along with this library; if not, write to the Free Software
   33.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   33.18 +#============================================================================
   33.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   33.20 +#============================================================================
   33.21  
   33.22  import traceback
   33.23  from StringIO import StringIO
    34.1 --- a/tools/python/xen/xend/server/SrvNode.py	Tue Aug 09 13:08:25 2005 +0000
    34.2 +++ b/tools/python/xen/xend/server/SrvNode.py	Tue Aug 09 13:17:37 2005 +0000
    34.3 @@ -1,4 +1,19 @@
    34.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    34.5 +#============================================================================
    34.6 +# This library is free software; you can redistribute it and/or
    34.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    34.8 +# License as published by the Free Software Foundation.
    34.9 +#
   34.10 +# This library is distributed in the hope that it will be useful,
   34.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   34.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   34.13 +# Lesser General Public License for more details.
   34.14 +#
   34.15 +# You should have received a copy of the GNU Lesser General Public
   34.16 +# License along with this library; if not, write to the Free Software
   34.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   34.18 +#============================================================================
   34.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   34.20 +#============================================================================
   34.21  
   34.22  import os
   34.23  
    35.1 --- a/tools/python/xen/xend/server/SrvRoot.py	Tue Aug 09 13:08:25 2005 +0000
    35.2 +++ b/tools/python/xen/xend/server/SrvRoot.py	Tue Aug 09 13:17:37 2005 +0000
    35.3 @@ -1,4 +1,19 @@
    35.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    35.5 +#============================================================================
    35.6 +# This library is free software; you can redistribute it and/or
    35.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    35.8 +# License as published by the Free Software Foundation.
    35.9 +#
   35.10 +# This library is distributed in the hope that it will be useful,
   35.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   35.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   35.13 +# Lesser General Public License for more details.
   35.14 +#
   35.15 +# You should have received a copy of the GNU Lesser General Public
   35.16 +# License along with this library; if not, write to the Free Software
   35.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   35.18 +#============================================================================
   35.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   35.20 +#============================================================================
   35.21  
   35.22  from xen.xend import XendRoot
   35.23  xroot = XendRoot.instance()
    36.1 --- a/tools/python/xen/xend/server/SrvServer.py	Tue Aug 09 13:08:25 2005 +0000
    36.2 +++ b/tools/python/xen/xend/server/SrvServer.py	Tue Aug 09 13:17:37 2005 +0000
    36.3 @@ -1,5 +1,20 @@
    36.4  #!/usr/bin/python
    36.5 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    36.6 +#============================================================================
    36.7 +# This library is free software; you can redistribute it and/or
    36.8 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    36.9 +# License as published by the Free Software Foundation.
   36.10 +#
   36.11 +# This library is distributed in the hope that it will be useful,
   36.12 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   36.13 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   36.14 +# Lesser General Public License for more details.
   36.15 +#
   36.16 +# You should have received a copy of the GNU Lesser General Public
   36.17 +# License along with this library; if not, write to the Free Software
   36.18 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   36.19 +#============================================================================
   36.20 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   36.21 +#============================================================================
   36.22  
   36.23  """Example xend HTTP
   36.24  
    37.1 --- a/tools/python/xen/xend/server/SrvVnetDir.py	Tue Aug 09 13:08:25 2005 +0000
    37.2 +++ b/tools/python/xen/xend/server/SrvVnetDir.py	Tue Aug 09 13:17:37 2005 +0000
    37.3 @@ -1,4 +1,19 @@
    37.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    37.5 +#============================================================================
    37.6 +# This library is free software; you can redistribute it and/or
    37.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    37.8 +# License as published by the Free Software Foundation.
    37.9 +#
   37.10 +# This library is distributed in the hope that it will be useful,
   37.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   37.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   37.13 +# Lesser General Public License for more details.
   37.14 +#
   37.15 +# You should have received a copy of the GNU Lesser General Public
   37.16 +# License along with this library; if not, write to the Free Software
   37.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   37.18 +#============================================================================
   37.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   37.20 +#============================================================================
   37.21  
   37.22  from xen.xend import sxp
   37.23  from xen.xend.Args import FormFn
    38.1 --- a/tools/python/xen/xend/server/SrvXendLog.py	Tue Aug 09 13:08:25 2005 +0000
    38.2 +++ b/tools/python/xen/xend/server/SrvXendLog.py	Tue Aug 09 13:17:37 2005 +0000
    38.3 @@ -1,4 +1,19 @@
    38.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    38.5 +#============================================================================
    38.6 +# This library is free software; you can redistribute it and/or
    38.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    38.8 +# License as published by the Free Software Foundation.
    38.9 +#
   38.10 +# This library is distributed in the hope that it will be useful,
   38.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   38.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   38.13 +# Lesser General Public License for more details.
   38.14 +#
   38.15 +# You should have received a copy of the GNU Lesser General Public
   38.16 +# License along with this library; if not, write to the Free Software
   38.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   38.18 +#============================================================================
   38.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   38.20 +#============================================================================
   38.21  
   38.22  from xen.web import static
   38.23  
    39.1 --- a/tools/python/xen/xend/server/blkif.py	Tue Aug 09 13:08:25 2005 +0000
    39.2 +++ b/tools/python/xen/xend/server/blkif.py	Tue Aug 09 13:17:37 2005 +0000
    39.3 @@ -1,4 +1,20 @@
    39.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    39.5 +#============================================================================
    39.6 +# This library is free software; you can redistribute it and/or
    39.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    39.8 +# License as published by the Free Software Foundation.
    39.9 +#
   39.10 +# This library is distributed in the hope that it will be useful,
   39.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   39.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   39.13 +# Lesser General Public License for more details.
   39.14 +#
   39.15 +# You should have received a copy of the GNU Lesser General Public
   39.16 +# License along with this library; if not, write to the Free Software
   39.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   39.18 +#============================================================================
   39.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   39.20 +#============================================================================
   39.21 +
   39.22  """Support for virtual block devices.
   39.23  """
   39.24  import string
    40.1 --- a/tools/python/xen/xend/server/channel.py	Tue Aug 09 13:08:25 2005 +0000
    40.2 +++ b/tools/python/xen/xend/server/channel.py	Tue Aug 09 13:17:37 2005 +0000
    40.3 @@ -1,4 +1,19 @@
    40.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    40.5 +#============================================================================
    40.6 +# This library is free software; you can redistribute it and/or
    40.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    40.8 +# License as published by the Free Software Foundation.
    40.9 +#
   40.10 +# This library is distributed in the hope that it will be useful,
   40.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   40.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   40.13 +# Lesser General Public License for more details.
   40.14 +#
   40.15 +# You should have received a copy of the GNU Lesser General Public
   40.16 +# License along with this library; if not, write to the Free Software
   40.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   40.18 +#============================================================================
   40.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   40.20 +#============================================================================
   40.21  
   40.22  import threading
   40.23  import select
    41.1 --- a/tools/python/xen/xend/server/controller.py	Tue Aug 09 13:08:25 2005 +0000
    41.2 +++ b/tools/python/xen/xend/server/controller.py	Tue Aug 09 13:17:37 2005 +0000
    41.3 @@ -1,4 +1,20 @@
    41.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    41.5 +#============================================================================
    41.6 +# This library is free software; you can redistribute it and/or
    41.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    41.8 +# License as published by the Free Software Foundation.
    41.9 +#
   41.10 +# This library is distributed in the hope that it will be useful,
   41.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   41.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   41.13 +# Lesser General Public License for more details.
   41.14 +#
   41.15 +# You should have received a copy of the GNU Lesser General Public
   41.16 +# License along with this library; if not, write to the Free Software
   41.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   41.18 +#============================================================================
   41.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   41.20 +#============================================================================
   41.21 +
   41.22  """General support for controllers, which handle devices
   41.23  for a domain.
   41.24  """
    42.1 --- a/tools/python/xen/xend/server/event.py	Tue Aug 09 13:08:25 2005 +0000
    42.2 +++ b/tools/python/xen/xend/server/event.py	Tue Aug 09 13:17:37 2005 +0000
    42.3 @@ -1,3 +1,20 @@
    42.4 +#============================================================================
    42.5 +# This library is free software; you can redistribute it and/or
    42.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    42.7 +# License as published by the Free Software Foundation.
    42.8 +#
    42.9 +# This library is distributed in the hope that it will be useful,
   42.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   42.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   42.12 +# Lesser General Public License for more details.
   42.13 +#
   42.14 +# You should have received a copy of the GNU Lesser General Public
   42.15 +# License along with this library; if not, write to the Free Software
   42.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   42.17 +#============================================================================
   42.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   42.19 +#============================================================================
   42.20 +
   42.21  import sys
   42.22  import StringIO
   42.23  
    43.1 --- a/tools/python/xen/xend/server/messages.py	Tue Aug 09 13:08:25 2005 +0000
    43.2 +++ b/tools/python/xen/xend/server/messages.py	Tue Aug 09 13:17:37 2005 +0000
    43.3 @@ -1,3 +1,20 @@
    43.4 +#============================================================================
    43.5 +# This library is free software; you can redistribute it and/or
    43.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    43.7 +# License as published by the Free Software Foundation.
    43.8 +#
    43.9 +# This library is distributed in the hope that it will be useful,
   43.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   43.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   43.12 +# Lesser General Public License for more details.
   43.13 +#
   43.14 +# You should have received a copy of the GNU Lesser General Public
   43.15 +# License along with this library; if not, write to the Free Software
   43.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   43.17 +#============================================================================
   43.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   43.19 +#============================================================================
   43.20 +
   43.21  import sys
   43.22  import struct
   43.23  import types
    44.1 --- a/tools/python/xen/xend/server/netif.py	Tue Aug 09 13:08:25 2005 +0000
    44.2 +++ b/tools/python/xen/xend/server/netif.py	Tue Aug 09 13:17:37 2005 +0000
    44.3 @@ -1,4 +1,20 @@
    44.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    44.5 +#============================================================================
    44.6 +# This library is free software; you can redistribute it and/or
    44.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    44.8 +# License as published by the Free Software Foundation.
    44.9 +#
   44.10 +# This library is distributed in the hope that it will be useful,
   44.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   44.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   44.13 +# Lesser General Public License for more details.
   44.14 +#
   44.15 +# You should have received a copy of the GNU Lesser General Public
   44.16 +# License along with this library; if not, write to the Free Software
   44.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   44.18 +#============================================================================
   44.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   44.20 +#============================================================================
   44.21 +
   44.22  """Support for virtual network interfaces.
   44.23  """
   44.24  
    45.1 --- a/tools/python/xen/xend/server/params.py	Tue Aug 09 13:08:25 2005 +0000
    45.2 +++ b/tools/python/xen/xend/server/params.py	Tue Aug 09 13:17:37 2005 +0000
    45.3 @@ -1,3 +1,20 @@
    45.4 +#============================================================================
    45.5 +# This library is free software; you can redistribute it and/or
    45.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    45.7 +# License as published by the Free Software Foundation.
    45.8 +#
    45.9 +# This library is distributed in the hope that it will be useful,
   45.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   45.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   45.12 +# Lesser General Public License for more details.
   45.13 +#
   45.14 +# You should have received a copy of the GNU Lesser General Public
   45.15 +# License along with this library; if not, write to the Free Software
   45.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   45.17 +#============================================================================
   45.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   45.19 +#============================================================================
   45.20 +
   45.21  import os
   45.22  
   45.23  def getenv(var, val, conv=None):
    46.1 --- a/tools/python/xen/xend/server/pciif.py	Tue Aug 09 13:08:25 2005 +0000
    46.2 +++ b/tools/python/xen/xend/server/pciif.py	Tue Aug 09 13:17:37 2005 +0000
    46.3 @@ -1,3 +1,20 @@
    46.4 +#============================================================================
    46.5 +# This library is free software; you can redistribute it and/or
    46.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    46.7 +# License as published by the Free Software Foundation.
    46.8 +#
    46.9 +# This library is distributed in the hope that it will be useful,
   46.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   46.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   46.12 +# Lesser General Public License for more details.
   46.13 +#
   46.14 +# You should have received a copy of the GNU Lesser General Public
   46.15 +# License along with this library; if not, write to the Free Software
   46.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   46.17 +#============================================================================
   46.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   46.19 +#============================================================================
   46.20 +
   46.21  import types
   46.22  
   46.23  import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
    47.1 --- a/tools/python/xen/xend/server/relocate.py	Tue Aug 09 13:08:25 2005 +0000
    47.2 +++ b/tools/python/xen/xend/server/relocate.py	Tue Aug 09 13:17:37 2005 +0000
    47.3 @@ -1,3 +1,19 @@
    47.4 +#============================================================================
    47.5 +# This library is free software; you can redistribute it and/or
    47.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    47.7 +# License as published by the Free Software Foundation.
    47.8 +#
    47.9 +# This library is distributed in the hope that it will be useful,
   47.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   47.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   47.12 +# Lesser General Public License for more details.
   47.13 +#
   47.14 +# You should have received a copy of the GNU Lesser General Public
   47.15 +# License along with this library; if not, write to the Free Software
   47.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   47.17 +#============================================================================
   47.18 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   47.19 +#============================================================================
   47.20  
   47.21  import socket
   47.22  import sys
    48.1 --- a/tools/python/xen/xend/sxp.py	Tue Aug 09 13:08:25 2005 +0000
    48.2 +++ b/tools/python/xen/xend/sxp.py	Tue Aug 09 13:17:37 2005 +0000
    48.3 @@ -1,5 +1,21 @@
    48.4  #!/usr/bin/python
    48.5 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    48.6 +#============================================================================
    48.7 +# This library is free software; you can redistribute it and/or
    48.8 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    48.9 +# License as published by the Free Software Foundation.
   48.10 +#
   48.11 +# This library is distributed in the hope that it will be useful,
   48.12 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   48.13 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   48.14 +# Lesser General Public License for more details.
   48.15 +#
   48.16 +# You should have received a copy of the GNU Lesser General Public
   48.17 +# License along with this library; if not, write to the Free Software
   48.18 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   48.19 +#============================================================================
   48.20 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   48.21 +#============================================================================
   48.22 +
   48.23  """
   48.24  Input-driven parsing for s-expression (sxp) format.
   48.25  Create a parser: pin = Parser();
    49.1 --- a/tools/python/xen/xend/uuid.py	Tue Aug 09 13:08:25 2005 +0000
    49.2 +++ b/tools/python/xen/xend/uuid.py	Tue Aug 09 13:17:37 2005 +0000
    49.3 @@ -1,3 +1,20 @@
    49.4 +#============================================================================
    49.5 +# This library is free software; you can redistribute it and/or
    49.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    49.7 +# License as published by the Free Software Foundation.
    49.8 +#
    49.9 +# This library is distributed in the hope that it will be useful,
   49.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   49.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   49.12 +# Lesser General Public License for more details.
   49.13 +#
   49.14 +# You should have received a copy of the GNU Lesser General Public
   49.15 +# License along with this library; if not, write to the Free Software
   49.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   49.17 +#============================================================================
   49.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   49.19 +#============================================================================
   49.20 +
   49.21  """Universal(ly) Unique Identifiers (UUIDs).
   49.22  """
   49.23  import commands
    50.1 --- a/tools/python/xen/xend/xenstore/__init__.py	Tue Aug 09 13:08:25 2005 +0000
    50.2 +++ b/tools/python/xen/xend/xenstore/__init__.py	Tue Aug 09 13:17:37 2005 +0000
    50.3 @@ -1,2 +1,18 @@
    50.4 +#============================================================================
    50.5 +# This library is free software; you can redistribute it and/or
    50.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    50.7 +# License as published by the Free Software Foundation.
    50.8 +#
    50.9 +# This library is distributed in the hope that it will be useful,
   50.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   50.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   50.12 +# Lesser General Public License for more details.
   50.13 +#
   50.14 +# You should have received a copy of the GNU Lesser General Public
   50.15 +# License along with this library; if not, write to the Free Software
   50.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   50.17 +#============================================================================
   50.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   50.19 +#============================================================================
   50.20  from xsnode import *
   50.21  from xsobj import *
    51.1 --- a/tools/python/xen/xend/xenstore/xsnode.py	Tue Aug 09 13:08:25 2005 +0000
    51.2 +++ b/tools/python/xen/xend/xenstore/xsnode.py	Tue Aug 09 13:17:37 2005 +0000
    51.3 @@ -1,3 +1,19 @@
    51.4 +#============================================================================
    51.5 +# This library is free software; you can redistribute it and/or
    51.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    51.7 +# License as published by the Free Software Foundation.
    51.8 +#
    51.9 +# This library is distributed in the hope that it will be useful,
   51.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   51.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   51.12 +# Lesser General Public License for more details.
   51.13 +#
   51.14 +# You should have received a copy of the GNU Lesser General Public
   51.15 +# License along with this library; if not, write to the Free Software
   51.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   51.17 +#============================================================================
   51.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   51.19 +#============================================================================
   51.20  import errno
   51.21  import os
   51.22  import os.path
    52.1 --- a/tools/python/xen/xend/xenstore/xsobj.py	Tue Aug 09 13:08:25 2005 +0000
    52.2 +++ b/tools/python/xen/xend/xenstore/xsobj.py	Tue Aug 09 13:17:37 2005 +0000
    52.3 @@ -1,3 +1,19 @@
    52.4 +#============================================================================
    52.5 +# This library is free software; you can redistribute it and/or
    52.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    52.7 +# License as published by the Free Software Foundation.
    52.8 +#
    52.9 +# This library is distributed in the hope that it will be useful,
   52.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   52.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   52.12 +# Lesser General Public License for more details.
   52.13 +#
   52.14 +# You should have received a copy of the GNU Lesser General Public
   52.15 +# License along with this library; if not, write to the Free Software
   52.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   52.17 +#============================================================================
   52.18 +# Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   52.19 +#============================================================================
   52.20  import string
   52.21  import types
   52.22  
    53.1 --- a/tools/python/xen/xend/xenstore/xsresource.py	Tue Aug 09 13:08:25 2005 +0000
    53.2 +++ b/tools/python/xen/xend/xenstore/xsresource.py	Tue Aug 09 13:17:37 2005 +0000
    53.3 @@ -1,3 +1,16 @@
    53.4 +#============================================================================
    53.5 +# This library is free software; you can redistribute it and/or
    53.6 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    53.7 +# License as published by the Free Software Foundation.
    53.8 +#
    53.9 +# This library is distributed in the hope that it will be useful,
   53.10 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   53.11 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   53.12 +# Lesser General Public License for more details.
   53.13 +#
   53.14 +# You should have received a copy of the GNU Lesser General Public
   53.15 +# License along with this library; if not, write to the Free Software
   53.16 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   53.17  #============================================================================
   53.18  # Copyright (C) 2005 Mike Wray <mike.wray@hp.com>
   53.19  #============================================================================
    54.1 --- a/tools/python/xen/xm/create.py	Tue Aug 09 13:08:25 2005 +0000
    54.2 +++ b/tools/python/xen/xm/create.py	Tue Aug 09 13:17:37 2005 +0000
    54.3 @@ -1,5 +1,20 @@
    54.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    54.5 +#============================================================================
    54.6 +# This library is free software; you can redistribute it and/or
    54.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    54.8 +# License as published by the Free Software Foundation.
    54.9 +#
   54.10 +# This library is distributed in the hope that it will be useful,
   54.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   54.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   54.13 +# Lesser General Public License for more details.
   54.14 +#
   54.15 +# You should have received a copy of the GNU Lesser General Public
   54.16 +# License along with this library; if not, write to the Free Software
   54.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   54.18 +#============================================================================
   54.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   54.20  # Copyright (C) 2005 Nguyen Anh Quynh <aquynh@gmail.com>
   54.21 +#============================================================================
   54.22  
   54.23  """Domain creation.
   54.24  """
    55.1 --- a/tools/python/xen/xm/destroy.py	Tue Aug 09 13:08:25 2005 +0000
    55.2 +++ b/tools/python/xen/xm/destroy.py	Tue Aug 09 13:17:37 2005 +0000
    55.3 @@ -1,4 +1,19 @@
    55.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    55.5 +#============================================================================
    55.6 +# This library is free software; you can redistribute it and/or
    55.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    55.8 +# License as published by the Free Software Foundation.
    55.9 +#
   55.10 +# This library is distributed in the hope that it will be useful,
   55.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   55.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   55.13 +# Lesser General Public License for more details.
   55.14 +#
   55.15 +# You should have received a copy of the GNU Lesser General Public
   55.16 +# License along with this library; if not, write to the Free Software
   55.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   55.18 +#============================================================================
   55.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   55.20 +#============================================================================
   55.21  
   55.22  """Destroy a domain.
   55.23  """
    56.1 --- a/tools/python/xen/xm/help.py	Tue Aug 09 13:08:25 2005 +0000
    56.2 +++ b/tools/python/xen/xm/help.py	Tue Aug 09 13:17:37 2005 +0000
    56.3 @@ -1,4 +1,19 @@
    56.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    56.5 +#============================================================================
    56.6 +# This library is free software; you can redistribute it and/or
    56.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    56.8 +# License as published by the Free Software Foundation.
    56.9 +#
   56.10 +# This library is distributed in the hope that it will be useful,
   56.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   56.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   56.13 +# Lesser General Public License for more details.
   56.14 +#
   56.15 +# You should have received a copy of the GNU Lesser General Public
   56.16 +# License along with this library; if not, write to the Free Software
   56.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   56.18 +#============================================================================
   56.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   56.20 +#============================================================================
   56.21  
   56.22  """Variable definition and help support for Python defconfig files.
   56.23  """
    57.1 --- a/tools/python/xen/xm/main.py	Tue Aug 09 13:08:25 2005 +0000
    57.2 +++ b/tools/python/xen/xm/main.py	Tue Aug 09 13:17:37 2005 +0000
    57.3 @@ -5,9 +5,18 @@
    57.4  #     Sean Dague <sean at dague dot net>
    57.5  #     Mike Wray <mike dot wray at hp dot com>
    57.6  #
    57.7 -# This software may be used and distributed according to the terms
    57.8 -# of the GNU General Public License v2.  Full details on license
    57.9 -# terms and conditions are included with this distribution
   57.10 +# This library is free software; you can redistribute it and/or
   57.11 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
   57.12 +# License as published by the Free Software Foundation.
   57.13 +#
   57.14 +# This library is distributed in the hope that it will be useful,
   57.15 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   57.16 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   57.17 +# Lesser General Public License for more details.
   57.18 +#
   57.19 +# You should have received a copy of the GNU Lesser General Public
   57.20 +# License along with this library; if not, write to the Free Software
   57.21 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   57.22  
   57.23  """Grand unified management application for Xen.
   57.24  """
    58.1 --- a/tools/python/xen/xm/migrate.py	Tue Aug 09 13:08:25 2005 +0000
    58.2 +++ b/tools/python/xen/xm/migrate.py	Tue Aug 09 13:17:37 2005 +0000
    58.3 @@ -1,4 +1,19 @@
    58.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    58.5 +#============================================================================
    58.6 +# This library is free software; you can redistribute it and/or
    58.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    58.8 +# License as published by the Free Software Foundation.
    58.9 +#
   58.10 +# This library is distributed in the hope that it will be useful,
   58.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   58.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   58.13 +# Lesser General Public License for more details.
   58.14 +#
   58.15 +# You should have received a copy of the GNU Lesser General Public
   58.16 +# License along with this library; if not, write to the Free Software
   58.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   58.18 +#============================================================================
   58.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   58.20 +#============================================================================
   58.21  
   58.22  """Domain migration.
   58.23  """
    59.1 --- a/tools/python/xen/xm/opts.py	Tue Aug 09 13:08:25 2005 +0000
    59.2 +++ b/tools/python/xen/xm/opts.py	Tue Aug 09 13:17:37 2005 +0000
    59.3 @@ -1,4 +1,20 @@
    59.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    59.5 +#============================================================================
    59.6 +# This library is free software; you can redistribute it and/or
    59.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    59.8 +# License as published by the Free Software Foundation.
    59.9 +#
   59.10 +# This library is distributed in the hope that it will be useful,
   59.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   59.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   59.13 +# Lesser General Public License for more details.
   59.14 +#
   59.15 +# You should have received a copy of the GNU Lesser General Public
   59.16 +# License along with this library; if not, write to the Free Software
   59.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   59.18 +#============================================================================
   59.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   59.20 +#============================================================================
   59.21 +
   59.22  """Object-oriented command-line option support.
   59.23  """
   59.24  from getopt import getopt, GetoptError
    60.1 --- a/tools/python/xen/xm/shutdown.py	Tue Aug 09 13:08:25 2005 +0000
    60.2 +++ b/tools/python/xen/xm/shutdown.py	Tue Aug 09 13:17:37 2005 +0000
    60.3 @@ -1,4 +1,19 @@
    60.4 -# Copyright (C) 2004 Mike Wray <mike.wray@hp.com>
    60.5 +#============================================================================
    60.6 +# This library is free software; you can redistribute it and/or
    60.7 +# modify it under the terms of version 2.1 of the GNU Lesser General Public
    60.8 +# License as published by the Free Software Foundation.
    60.9 +#
   60.10 +# This library is distributed in the hope that it will be useful,
   60.11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
   60.12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   60.13 +# Lesser General Public License for more details.
   60.14 +#
   60.15 +# You should have received a copy of the GNU Lesser General Public
   60.16 +# License along with this library; if not, write to the Free Software
   60.17 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   60.18 +#============================================================================
   60.19 +# Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
   60.20 +#============================================================================
   60.21  
   60.22  """Domain shutdown.
   60.23  """