Changeset 14178
- Timestamp:
- 06/12/12 16:35:07 (12 years ago)
- Location:
- branches/1.0/sara_cmt
- Files:
-
- 1 added
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/sara_cmt/bin/cmt
r14174 r14178 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 ##### -
branches/1.0/sara_cmt/sara_cmt/apache/django.wsgi
r12793 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/admin.py
r13874 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/filters.py
r12336 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0001_initial.py
r11796 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0002_auto__del_unique_hardwareunit_serialnumber__del_unique_hardwareunit_se.py
r11796 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0003_auto__chg_field_interface_ip.py
r11796 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0004_auto__chg_field_hardwareunit_first_slot.py
r11797 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0005_auto__del_unique_hardwareunit_serialnumber_service_tag.py
r11798 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0006_auto__chg_field_interface_ip__chg_field_interface_hwaddress.py
r11799 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0007_auto__del_site.py
r11804 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0008_rename_fields_interface_hardware_interface_type.py
r11804 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0009_auto__add_field_hardwareunit_warranty_tag.py
r11844 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0010_merge_service_tag_serialnumber.py
r11848 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0011_auto__del_field_hardwareunit_serialnumber__del_field_hardwareunit_serv.py
r11850 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0012_alias_field.py
r11939 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0013_auto__add_field_network_gateway.py
r11939 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0014_auto__del_alias.py
r11970 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0015_auto__chg_field_interface_hwaddress.py
r11973 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0016_auto__chg_field_connection_address.py
r12015 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0017_standardize_mac_addresses.py
r12020 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0018_auto__add_unique_rack_room_label.py
r12903 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0019_auto__add_unique_interface_ip_network.py
r12953 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0020_rename_fields_telephonenumber_type_warrantycontract_type.py
r12999 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0021_auto__chg_field_interface_hwaddress.py
r12999 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0022_auto__add_field_hardwareunit_seller__add_field_hardwareunit_owner__add.py
r13004 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0023_auto__del_unique_interface_hwaddress__add_unique_interface_hwaddress_n.py
r13029 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0024_auto__del_unique_interface_ip_network.py
r13029 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/migrations/0025_auto__chg_field_hardwareunit_state.py
r13073 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/models.py
r13698 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/cluster/templatetags/cmt_client.py
r14141 r14178 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: -
branches/1.0/sara_cmt/sara_cmt/django_cli.py
r14127 r14178 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, \ -
branches/1.0/sara_cmt/sara_cmt/logger.py
r14171 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/manage.py
r10765 r14178 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: -
branches/1.0/sara_cmt/sara_cmt/parser.py
r11657 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/settings.py
r14175 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/template.py
r11657 r14178 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 -
branches/1.0/sara_cmt/sara_cmt/urls.py
r12317 r14178 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 -
branches/1.0/sara_cmt/setup.py
r14170 r14178 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
Note: See TracChangeset
for help on using the changeset viewer.