Changeset 6339
- Timestamp:
- Oct 5, 2008, 10:27:59 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/TODO ¶
r6311 r6339 1 ** Showstoppers2 -> Document database layout and choices3 @rick, I think this todo van be closed, because exodusmodels.dot is available4 5 * Input fields validation6 * Conversion Genesis -> Exodus7 * Exodus, support Genesis output8 1 * Add check that a domain has a dnsserver if not, named.conf generation gets broken 9 2 * Add reverse lookup fields for named.conf 10 3 * Fix dhcpd.conf template 11 4 * Add ssh_keys 5 * Modular handing/edit/add/delete of Location/DNS/Networks, without using the 6 'admin' interface, but have some table look alike code instead 12 7 13 * remove hardcoding in wllogic.py for 172.17 and higher as master ip14 * Interface cleanups:15 ** option to edit/delete fields16 ** allignment input fields17 ** combine input fields where possible and link18 8 ** Interlink add code 19 9 ->desc 20 ->remove hardcoding of 172.16 in freeinterlink ip code21 10 ->Check if link is possible, ie. master can have multiple interlinks, managed can only have 1 22 ->generate SSID23 11 ->Put correct modes on NIC 24 ->Check that: freeinterlinkip() works going from 17.16.0.255 to 172.16.1.025 12 ->Check if 1 has an omni, omni needs to be master 26 27 28 * Think:29 ** class Interlink return self.iface1 or self.iface1.node30 13 31 14 * Genesis compatibility -
TabularUnified trunk/exodus/templates/freebsd-5.0/dhcpd.conf ¶
r6325 r6339 3 3 # 4 4 # Generated on {% now "G:i j-n-Y" %} 5 # by {{ object.host }}5 # by {{ node.host }} 6 6 # 7 # Node: {{ object.name }}7 # Node: {{ node.name }} 8 8 # File: rc.local 9 9 10 option domain-name "{{ object.network.domainname }}";11 10 12 11 default-lease-time 7200; … … 15 14 ddns-update-style none; 16 15 17 option domain-name -servers {{ object.masterip }};16 option domain-name "{{ node.network }}"; 18 17 19 {{object.interface.all}} 20 21 {% for nic in object.interface_set.all %} 18 {% for nic in node.interface_set.all %} 22 19 {% for omni in nic.omni.all %} 23 20 # {{ omni.desc }} … … 27 24 option broadcast-address {% broadcast omni.ip omni.netmask %}; 28 25 option subnet-mask {{ omni.netmask|subnet }}; 26 option domain-name-servers {{ omni.ip }}; 29 27 } {% endfor %} 28 30 29 # {{ nic.desc }} 31 30 subnet {% network nic.ip nic.netmask %} netmask {{ nic.netmask|subnet }} { not authoritative; } -
TabularUnified trunk/exodus/templates/freebsd-5.0/named.conf ¶
r6325 r6339 2 2 # 3 3 # Generated on {% now "G:i j-n-Y" %} 4 # by {{ object.host }}4 # by {{ node.host }} 5 5 # 6 # Node: {{ object.name }}6 # Node: {{ node.name }} 7 7 # File: named.conf 8 8 … … 11 11 pid-file "/var/run/named.pid"; 12 12 forwarders { 13 {% for server in object.network.dnsserver_set.all %}13 {% for server in node.network.dnsserver_set.all %} 14 14 {{server.ipaddress }}; {% endfor %} 15 15 }; … … 32 32 }; 33 33 34 {% for domain in object.domains %} 34 {#XXX: Needs some rethinking on how to allow this to be called again #} 35 {% for domain in node.domains %} 35 36 36 37 zone "{{domain.domainname}}" { -
TabularUnified trunk/exodus/templates/freebsd-5.0/rc.local ¶
r6325 r6339 1 1 # The file is WirelessLeiden specific. Please make all changes in exodus 2 2 # 3 # Generated on {% now "G:i j-n-Y" %} 4 # by {{ object.host }}3 # Generated on {% now "G:i j-n-Y" %} 4 # by {{ node.host }} 5 5 # 6 # Node: {{ object.name }}6 # Node: {{ node.name }} 7 7 # File: rc.local 8 8 9 {% for nic in object%}9 {% for nic in node.interface_set.all %} 10 10 {% if nic.ssid %} 11 11 /usr/sbin/wicontrol -i {{ nic.iface }} -s {{ nic.shortdesc }} # Nickname -
TabularUnified trunk/exodus/templates/freebsd-5.0/rc.node.local ¶
r6325 r6339 2 2 # 3 3 # Generated on {% now "G:i j-n-Y" %} 4 # by {{ object.host }}4 # by {{ node.host }} 5 5 # 6 # Node: {{ object.name }}7 # File: rc. local6 # Node: {{ node.name }} 7 # File: rc.node.local 8 8 9 {% for nic in object %} 10 {% if nic.ssid %} 11 /usr/sbin/wicontrol -i {{ nic.iface }} -s {{ nic.shortdesc }} # Nickname 12 /usr/sbin/wicontrol -i {{ nic.iface }} -P 0 # PowerSave 13 /usr/sbin/wicontrol -i {{ nic.iface }} -Z # Zero SNR cache 14 /usr/sbin/wicontrol -i {{ nic.iface }} -p {{ nic.wifimode }} # {{ nic.wifidesc }} 15 /usr/sbin/wicontrol -i {{ nic.iface }} -c 1 # broadcasting essid on 16 /usr/sbin/wicontrol -i {{ nic.iface }} -n {{ nic.ssid }} # network name 17 /usr/sbin/wicontrol -i {{ nic.iface }} -q {{ nic.ssid }} # ESSID 18 /usr/sbin/wicontrol -i {{ nic.iface }} -f {{ nic.channel }} # Channel 19 {% endif %} 9 hostname="{{ node.name }}.{{ node.network }}" 10 location="{{ node.location }} - {{ node.location.desc }}" 20 11 21 ifconfig {{nic.iface}} {{nic.ip}}/{{nic.netmask}} 12 # Dirty hack for use by WL proxy 13 ifconfig_lo0_alias0="172.31.255.1/32" 14 # Allow masterip to be linked to lo0 interface to keep it reachable all the time 15 ifconfig_lo0_alias1="{{ node.masterip }}/32" 16 17 {% for nic in node.interface_set.all %} 18 ifconfig_{{ nic.iface }}="inet {{nic.ip}}/{{nic.netmask}}" 22 19 {% endfor %} 23 20 -
TabularUnified trunk/exodus/templates/freebsd-5.0/resolv.conf ¶
r6325 r6339 3 3 # 4 4 # Generated on {% now "G:i j-n-Y" %} 5 # by {{ object.host }}5 # by {{ node.host }} 6 6 # 7 # Node: {{ object.name }}7 # Node: {{ node.name }} 8 8 # File: resolv.conf 9 9 10 10 nameserver 127.0.0.1 #localhost 11 11 {% spaceless %} 12 {% for interface in object.interface_set.all %}12 {% for interface in node.interface_set.all %} 13 13 {% for interlink in interface.interface_set.all %} 14 14 {% ifnotequal interlink interface %}
Note:
See TracChangeset
for help on using the changeset viewer.