Changeset 14194


Ignore:
Timestamp:
07/06/12 17:18:42 (7 years ago)
Author:
sil
Message:

Merged branch 1.0 (until tag 1.0.0) back to trunk

Location:
trunk
Files:
7 deleted
41 edited
5 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/sara_cmt/bin/cmt

    r14174 r14194  
    11#!/usr/bin/env python
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    219
    320#####
     
    307324        template_data['input'] = template_fullpath
    308325        template_data['__template_outputfiles__'] = {} # reserved for data to write to files
     326        template_data['epilogue'] = []
    309327        context = Context(template_data)
    310328
  • trunk/sara_cmt/sara_cmt/apache/django.wsgi

    r12793 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118import os, sys
    219
  • trunk/sara_cmt/sara_cmt/cluster/admin.py

    r13874 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from django.contrib import admin
    219
  • trunk/sara_cmt/sara_cmt/cluster/filters.py

    r12336 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from django.db import models
    219from django.contrib.admin.filterspecs import FilterSpec, ChoicesFilterSpec, DateFieldFilterSpec
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0001_initial.py

    r11796 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0002_auto__del_unique_hardwareunit_serialnumber__del_unique_hardwareunit_se.py

    r11796 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0003_auto__chg_field_interface_ip.py

    r11796 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0004_auto__chg_field_hardwareunit_first_slot.py

    r11797 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0005_auto__del_unique_hardwareunit_serialnumber_service_tag.py

    r11798 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0006_auto__chg_field_interface_ip__chg_field_interface_hwaddress.py

    r11799 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0007_auto__del_site.py

    r11804 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0008_rename_fields_interface_hardware_interface_type.py

    r11804 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0009_auto__add_field_hardwareunit_warranty_tag.py

    r11844 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0010_merge_service_tag_serialnumber.py

    r11848 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0011_auto__del_field_hardwareunit_serialnumber__del_field_hardwareunit_serv.py

    r11850 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0012_alias_field.py

    r11939 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0013_auto__add_field_network_gateway.py

    r11939 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0014_auto__del_alias.py

    r11970 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0015_auto__chg_field_interface_hwaddress.py

    r11973 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0016_auto__chg_field_connection_address.py

    r12015 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0017_standardize_mac_addresses.py

    r12020 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0018_auto__add_unique_rack_room_label.py

    r12903 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0019_auto__add_unique_interface_ip_network.py

    r12953 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0020_rename_fields_telephonenumber_type_warrantycontract_type.py

    r12999 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0021_auto__chg_field_interface_hwaddress.py

    r12999 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0022_auto__add_field_hardwareunit_seller__add_field_hardwareunit_owner__add.py

    r13004 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0023_auto__del_unique_interface_hwaddress__add_unique_interface_hwaddress_n.py

    r13029 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0024_auto__del_unique_interface_ip_network.py

    r13029 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/migrations/0025_auto__chg_field_hardwareunit_state.py

    r13073 r14194  
    11# encoding: utf-8
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220import datetime
    321from south.db import db
  • trunk/sara_cmt/sara_cmt/cluster/models.py

    r13698 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from django.db import models
    219from django.core.validators import RegexValidator
  • trunk/sara_cmt/sara_cmt/cluster/templates/admin/base.html

    r12300 r14194  
    4747                {% endif %}
    4848                {% trans 'Log out' %}</a> /
    49                 <a href="http://cmt.hpcv.sara.nl/doc/">
     49                <a href="https://subtrac.sara.nl/oss/cmt">
    5050                {% trans 'Documentation' %}</a>
    5151            {% endblock %}
  • trunk/sara_cmt/sara_cmt/cluster/templatetags/cmt_client.py

    r14141 r14194  
    11import os, re, string
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    219
    320# Inspired by Django tips on:
  • trunk/sara_cmt/sara_cmt/django_cli.py

    r14127 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from django.db.models.fields import FieldDoesNotExist
    219from django.db.models.fields.related import ForeignKey, ManyToManyField, \
  • trunk/sara_cmt/sara_cmt/logger.py

    r14171 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118import logging
    219import logging.config
  • trunk/sara_cmt/sara_cmt/manage.py

    r10765 r14194  
    11#!/usr/bin/env python
     2
     3#    This file is part of CMT, a Cluster Management Tool made at SARA.
     4#    Copyright (C) 2012  Sil Westerveld
     5#
     6#    This program is free software; you can redistribute it and/or modify
     7#    it under the terms of the GNU General Public License as published by
     8#    the Free Software Foundation; either version 2 of the License, or
     9#    (at your option) any later version.
     10#
     11#    This program is distributed in the hope that it will be useful,
     12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14#    GNU General Public License for more details.
     15#
     16#    You should have received a copy of the GNU General Public License
     17#    along with this program; if not, write to the Free Software
     18#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     19
    220from django.core.management import execute_manager
    321try:
  • trunk/sara_cmt/sara_cmt/parser.py

    r11657 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118import optparse
    219
  • trunk/sara_cmt/sara_cmt/settings.py

    r14175 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    117
    218import os, os.path, sys, ConfigParser, site, string, time
  • trunk/sara_cmt/sara_cmt/template.py

    r11657 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from django.template import Template
    219
  • trunk/sara_cmt/sara_cmt/urls.py

    r12317 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from django.conf.urls.defaults import *
    219from django.contrib import databrowse
  • trunk/sara_cmt/setup.py

    r14170 r14194  
     1#    This file is part of CMT, a Cluster Management Tool made at SARA.
     2#    Copyright (C) 2012  Sil Westerveld
     3#
     4#    This program is free software; you can redistribute it and/or modify
     5#    it under the terms of the GNU General Public License as published by
     6#    the Free Software Foundation; either version 2 of the License, or
     7#    (at your option) any later version.
     8#
     9#    This program is distributed in the hope that it will be useful,
     10#    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12#    GNU General Public License for more details.
     13#
     14#    You should have received a copy of the GNU General Public License
     15#    along with this program; if not, write to the Free Software
     16#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17
    118from distutils.core import setup
    219import site
     
    1330    url = 'http://subtrac.sara.nl/oss/cmt/',
    1431    #download_url = ''
    15     author = 'Sil Westerveld',
    16     author_email = 'sil.westerveld@sara.nl',
     32    author = 'CMT Development team',
     33    author_email = 'cmt-users@lists.osd.sara.nl',
    1734    license = 'GPL',
    1835    #long_description = open('README').read(),
    19     long_description = '''\
    20 CMT is a Cluster Management Tool originally created at SARA Computing and \
    21 Networking Services, which is based in Amsterdam and known as SARA nowadays.''',
     36    long_description = 'CMT is a Cluster Management Tool originally created '\
     37        'at SARA Computing and Networking Services, which is based in'\
     38        'Amsterdam and known as SARA nowadays.',
    2239
    23     platforms = ['linux-x86_64'],
     40    platforms = ['linux-x86_64', 'linux-i386' ],
    2441
    2542    # see: http://pypi.python.org/pypi?:action=list_classifiers
     
    4663    packages = ['sara_cmt', 'sara_cmt.cluster', 'sara_cmt.cluster.templatetags'],
    4764
    48 # http://docs.python.org/distutils/setupscript.html#listing-individual-modules
    49 # This describes two modules, one of them in the "root" package, the other in the pkg package. Again, the default package/directory layout implies that these two modules can be found in mod1.py and pkg/mod2.py, and that pkg/__init__.py exists as well.
    50 #
    51 #    py_modules = ['mod1', 'pkg.mod2'],
    52     #py_modules = ['bin.cmt'],
    53 
    5465# http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages
    5566# Dependencies on other Python modules and packages can be specified by supplying the requires keyword argument to setup(). The value must be a list of strings. Each string specifies a package that is required, and optionally what versions are sufficient.
     
    5869    # Somehow 'requires' doesn't work; dependencies won't be installed
    5970    #requires = [
     71    #    'Python (>=2.6)'
    6072    #    'Django (>=1.2, <1.3)',
    6173    #    'IPy (>=0.75)',
     
    6375    #    'django_tagging (>=0.3.1)',
    6476    #    'psycopg2 (>=2.4.4)',
    65     #    'Python (>=2.6)'
    6677    #],
    6778    install_requires = [
     79        'Python>=2.6',
    6880        'Django>=1.2, <1.3',
    6981        'IPy>=0.75',
    7082        'django_extensions>=0.4',
    7183        'django_tagging>=0.3.1',
    72         'psycopg2>=2.4.4',
    73         'Python>=2.6'
     84        'psycopg2>=2.4.4'
    7485    ],
    75     #provides =
    76     #obsoletes =
    7786
    7887    # http://docs.python.org/distutils/setupscript.html#installing-scripts
     
    8089    #scripts = ['sara_cmt/cmt.py'],
    8190    scripts = ['bin/cmt'],
    82 
    83     # http://docs.python.org/distutils/setupscript.html#installing-package-data
    84     # Often, additional files need to be installed into a package. These files are often data that's closely related to the package's implementation, or text files containing documentation that might be of interest to programmers using the package. These files are called package data.
    85     #package_dir = {'sara_cmt': 'sara_cmt'},
    86     #package_data = {'sara_cmt': ['sara_cmt/apache/django.wsgi']},
    8791
    8892    # http://docs.python.org/distutils/setupscript.html#installing-additional-files
     
    103107        # examples of CMT-templates
    104108        ('share/doc/cmt/templates/examples', [
    105             'templates/examples/base_allnodes.cmt',
    106             'templates/examples/cnames.cmt',
    107             'templates/examples/first_test.cmt',
    108             'templates/examples/gina_allnodes.cmt',
    109             'templates/examples/header',
    110             'templates/examples/lisa_allnodes.cmt'
     109            'templates/examples/simple_cnames.cmt',
     110            'templates/examples/simple_hostnames.cmt',
     111            'templates/examples/simple_dhcpd.conf.cmt',
     112            'templates/examples/complex_dns.cmt'
    111113        ]),
    112114        # executable
Note: See TracChangeset for help on using the changeset viewer.