Changeset 14194
- Timestamp:
- 07/06/12 17:18:42 (12 years ago)
- Location:
- trunk
- Files:
-
- 7 deleted
- 41 edited
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/1.0 merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/sara_cmt/bin/cmt
r14174 r14194 1 1 #!/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 2 19 3 20 ##### … … 307 324 template_data['input'] = template_fullpath 308 325 template_data['__template_outputfiles__'] = {} # reserved for data to write to files 326 template_data['epilogue'] = [] 309 327 context = Context(template_data) 310 328 -
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 1 18 import os, sys 2 19 -
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 1 18 from django.contrib import admin 2 19 -
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 1 18 from django.db import models 2 19 from django.contrib.admin.filterspecs import FilterSpec, ChoicesFilterSpec, DateFieldFilterSpec -
trunk/sara_cmt/sara_cmt/cluster/migrations/0001_initial.py
r11796 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0002_auto__del_unique_hardwareunit_serialnumber__del_unique_hardwareunit_se.py
r11796 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0003_auto__chg_field_interface_ip.py
r11796 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0004_auto__chg_field_hardwareunit_first_slot.py
r11797 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0005_auto__del_unique_hardwareunit_serialnumber_service_tag.py
r11798 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0006_auto__chg_field_interface_ip__chg_field_interface_hwaddress.py
r11799 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0007_auto__del_site.py
r11804 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0008_rename_fields_interface_hardware_interface_type.py
r11804 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0009_auto__add_field_hardwareunit_warranty_tag.py
r11844 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0010_merge_service_tag_serialnumber.py
r11848 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0011_auto__del_field_hardwareunit_serialnumber__del_field_hardwareunit_serv.py
r11850 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0012_alias_field.py
r11939 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0013_auto__add_field_network_gateway.py
r11939 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0014_auto__del_alias.py
r11970 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0015_auto__chg_field_interface_hwaddress.py
r11973 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0016_auto__chg_field_connection_address.py
r12015 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0017_standardize_mac_addresses.py
r12020 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0018_auto__add_unique_rack_room_label.py
r12903 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0019_auto__add_unique_interface_ip_network.py
r12953 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0020_rename_fields_telephonenumber_type_warrantycontract_type.py
r12999 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0021_auto__chg_field_interface_hwaddress.py
r12999 r14194 1 1 # 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 2 20 import datetime 3 21 from 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 1 1 # 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 2 20 import datetime 3 21 from 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 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0024_auto__del_unique_interface_ip_network.py
r13029 r14194 1 1 # 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 2 20 import datetime 3 21 from south.db import db -
trunk/sara_cmt/sara_cmt/cluster/migrations/0025_auto__chg_field_hardwareunit_state.py
r13073 r14194 1 1 # 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 2 20 import datetime 3 21 from 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 1 18 from django.db import models 2 19 from django.core.validators import RegexValidator -
trunk/sara_cmt/sara_cmt/cluster/templates/admin/base.html
r12300 r14194 47 47 {% endif %} 48 48 {% trans 'Log out' %}</a> / 49 <a href="http ://cmt.hpcv.sara.nl/doc/">49 <a href="https://subtrac.sara.nl/oss/cmt"> 50 50 {% trans 'Documentation' %}</a> 51 51 {% endblock %} -
trunk/sara_cmt/sara_cmt/cluster/templatetags/cmt_client.py
r14141 r14194 1 1 import 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 2 19 3 20 # 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 1 18 from django.db.models.fields import FieldDoesNotExist 2 19 from 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 1 18 import logging 2 19 import logging.config -
trunk/sara_cmt/sara_cmt/manage.py
r10765 r14194 1 1 #!/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 2 20 from django.core.management import execute_manager 3 21 try: -
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 1 18 import optparse 2 19 -
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 1 17 2 18 import 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 1 18 from django.template import Template 2 19 -
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 1 18 from django.conf.urls.defaults import * 2 19 from 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 1 18 from distutils.core import setup 2 19 import site … … 13 30 url = 'http://subtrac.sara.nl/oss/cmt/', 14 31 #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', 17 34 license = 'GPL', 18 35 #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.', 22 39 23 platforms = ['linux-x86_64' ],40 platforms = ['linux-x86_64', 'linux-i386' ], 24 41 25 42 # see: http://pypi.python.org/pypi?:action=list_classifiers … … 46 63 packages = ['sara_cmt', 'sara_cmt.cluster', 'sara_cmt.cluster.templatetags'], 47 64 48 # http://docs.python.org/distutils/setupscript.html#listing-individual-modules49 # 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 54 65 # http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages 55 66 # 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. … … 58 69 # Somehow 'requires' doesn't work; dependencies won't be installed 59 70 #requires = [ 71 # 'Python (>=2.6)' 60 72 # 'Django (>=1.2, <1.3)', 61 73 # 'IPy (>=0.75)', … … 63 75 # 'django_tagging (>=0.3.1)', 64 76 # 'psycopg2 (>=2.4.4)', 65 # 'Python (>=2.6)'66 77 #], 67 78 install_requires = [ 79 'Python>=2.6', 68 80 'Django>=1.2, <1.3', 69 81 'IPy>=0.75', 70 82 'django_extensions>=0.4', 71 83 'django_tagging>=0.3.1', 72 'psycopg2>=2.4.4', 73 'Python>=2.6' 84 'psycopg2>=2.4.4' 74 85 ], 75 #provides =76 #obsoletes =77 86 78 87 # http://docs.python.org/distutils/setupscript.html#installing-scripts … … 80 89 #scripts = ['sara_cmt/cmt.py'], 81 90 scripts = ['bin/cmt'], 82 83 # http://docs.python.org/distutils/setupscript.html#installing-package-data84 # 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']},87 91 88 92 # http://docs.python.org/distutils/setupscript.html#installing-additional-files … … 103 107 # examples of CMT-templates 104 108 ('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' 111 113 ]), 112 114 # executable
Note: See TracChangeset
for help on using the changeset viewer.