Show
Ignore:
Timestamp:
02/02/09 19:49:09 (3 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
7d2125045e9aa60d57072dc41f4ae7f87974f3a0
Parents:
25d22ddddfca26a57fa98bf4ffd224765ddc118f
git-committer:
Frederic Lepied <frederic.lepied@…> (02/02/09 19:49:09)
Message:

added headers

Location:
pxe
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • pxe/addsystem

    r693511a r1f8d77d  
    33# Project         : pxemngr 
    44# File            : addsystem 
    5 # Version         : $Id$ 
     5# Copyright       : 2009 Splitted-Desktop Systems 
    66# Author          : Frederic Lepied 
    77# Created On      : Sun Feb  1 13:54:41 2009 
    8 # Purpose         :  
     8# Purpose         : add a system and its mac addresses to the 
     9#                  database. 
    910#--------------------------------------------------------------- 
    1011 
  • pxe/common.py

    reef6ba6 r1f8d77d  
    22# Project         : pxemngr 
    33# File            : common.py 
    4 # Version         : $Id$ 
     4# Copyright       : 2009 Splitted-Desktop Systems 
    55# Author          : Frederic Lepied 
    66# Created On      : Sun Feb  1 19:03:58 2009 
    7 # Purpose         :  
     7# Purpose         : common functions used by scripts and web logic. 
    88#--------------------------------------------------------------- 
    99 
  • pxe/models.py

    r4eb2933 r1f8d77d  
     1#--------------------------------------------------------------- 
     2# Project         : pxemngr 
     3# File            : models.py 
     4# Copyright       : 2009 Splitted-Desktop Systems 
     5# Author          : Frederic Lepied 
     6# Created On      : Sun Feb  1 13:54:41 2009 
     7# Purpose         : describe sql tables. 
     8#--------------------------------------------------------------- 
     9 
    110from django.db import models 
    211 
  • pxe/nextboot

    r693511a r1f8d77d  
    33# Project         : pxemngr 
    44# File            : nextboot 
    5 # Version         : $Id$ 
     5# Copyright       : 2009 Splitted-Desktop Systems 
    66# Author          : Frederic Lepied 
    77# Created On      : Sun Feb  1 13:54:41 2009 
    8 # Purpose         :  
     8# Purpose         : configure the profile for the next PXE boot 
     9#                   of a system. 
    910#--------------------------------------------------------------- 
    1011 
     
    1516from pxe.common import * 
    1617 
    17 def error(str): 
    18     sys.stderr.write(str + '\n') 
    19     sys.exit(1) 
    20      
    2118if len(sys.argv) != 3: 
    2219    error('Usage: %s <system name> <boot name>' % sys.argv[0]) 
  • pxe/syncbootnames

    r693511a r1f8d77d  
    33# Project         : pxemngr 
    44# File            : syncbootnames 
    5 # Version         : $Id$ 
     5# Copyright       : 2009 Splitted-Desktop Systems 
    66# Author          : Frederic Lepied 
    77# Created On      : Sun Feb  1 19:17:33 2009 
    8 # Purpose         :  
     8# Purpose         : read the pxe directory containing the profiles 
     9#                   and add them to the database as available. 
    910#--------------------------------------------------------------- 
    1011 
  • pxe/views.py

    r853b6ff r1f8d77d  
     1#--------------------------------------------------------------- 
     2# Project         : pxemngr 
     3# File            : views.py 
     4# Copyright       : 2009 Splitted-Desktop Systems 
     5# Author          : Frederic Lepied 
     6# Created On      : Sun Feb  1 13:54:41 2009 
     7# Purpose         : http logic 
     8#--------------------------------------------------------------- 
     9 
    110from django.http import HttpResponse 
    211from django.shortcuts import get_object_or_404