Changeset 6242
- Timestamp:
- Sep 3, 2008, 3:11:38 PM (16 years ago)
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
TODO
r6238 r6242 23 23 ->Put correct modes on NIC 24 24 ->Check that: freeinterlinkip() works going from 17.16.0.255 to 172.16.1.0 25 ->Check if 1 has an omni, omni needs to be master 25 26 26 27 -
exodus/templates/dhcpd.conf
r6192 r6242 1 1 # The file is WirelessLeiden specific. Please make all changes in exodus 2 2 # 3 # Generated on { { object.date.day }}-{{ object.date.month }}-{{ object.date.year }}3 # Generated on {% now "G:i j-n-Y" %} 4 4 # by {{ object.host }} 5 5 # -
exodus/templates/named.conf
r6215 r6242 1 1 # The file is WirelessLeiden specific. Please make all changes in exodus 2 2 # 3 # Generated on { { object.date.day }}-{{ object.date.month }}-{{ object.date.year }}3 # Generated on {% now "G:i j-n-Y" %} 4 4 # by {{ object.host }} 5 5 # -
exodus/templates/rc-local.txt
r6183 r6242 1 1 # The file is WirelessLeiden specific. Please make all changes in exodus 2 2 # 3 # Generated on { { object.date.day }}-{{ object.date.month }}-{{ object.date.year }}3 # Generated on {% now "G:i j-n-Y" %} 4 4 # by {{ object.host }} 5 5 # -
exodus/templates/rc-node-local.txt
r6183 r6242 1 1 # The file is WirelessLeiden specific. Please make all changes in exodus 2 2 # 3 # Generated on { { object.date.day }}-{{ object.date.month }}-{{ object.date.year }}3 # Generated on {% now "G:i j-n-Y" %} 4 4 # by {{ object.host }} 5 5 # -
exodus/templates/resolv.conf
r6241 r6242 2 2 # next door interlink nighboors to be specified, in case of own DNS failures 3 3 # 4 # Generated on { { object.date.day }}-{{ object.date.month }}-{{ object.date.year }}4 # Generated on {% now "G:i j-n-Y" %} 5 5 # by {{ object.host }} 6 6 # -
exodus/views.py
r6239 r6242 5 5 from django.shortcuts import render_to_response 6 6 from django import forms 7 from datetime import datetime8 7 from socket import gethostname 9 8 … … 105 104 return render_to_response('addinterlink.html',{'form': form, 'error_message' : errorMessage }) 106 105 #XXX :if wifi: check master and managed states for existings NICs/Interlinks 106 #XXX :check if omni, than Nic must be in master mode 107 107 #Generate SSID 108 108 # add descriptions … … 145 145 146 146 #Some extra values for statictics info 147 object.date = datetime.now()148 147 object.name = Node.objects.get(pk=object_id).name 149 148 object.host = gethostname() … … 170 169 object_id = nodename_to_id(object_id) 171 170 object = Node.objects.get(pk=object_id) 172 object.date = datetime.now()173 171 object.name = Node.objects.get(pk=object_id).name 174 172 object.host = gethostname() … … 193 191 object_id = nodename_to_id(object_id) 194 192 195 object.date = datetime.now()196 193 object.name = Node.objects.get(pk=object_id).name 197 194 object.host = gethostname() … … 208 205 209 206 object = Node.objects.get(pk=object_id).nic_set.all() 210 object.date = datetime.now()211 207 object.name = Node.objects.get(pk=object_id).name 212 208 object.host = gethostname() … … 224 220 225 221 object = Node.objects.get(pk=object_id).nic_set.all() 226 object.date = datetime.now()227 222 object.name = Node.objects.get(pk=object_id).name 228 223 object.host = gethostname()
Note:
See TracChangeset
for help on using the changeset viewer.