Changeset 6215


Ignore:
Timestamp:
Aug 17, 2008, 10:00:13 PM (17 years ago)
Author:
roland
Message:

Added named.conf template, and added wzoeterwoude.net to domains, to generate a valid WirelessLeiden named.conf.
Reverse lookup fields need to ben added in named.conf template.
Fixed urls of config files to not end with the name of the config file, and not with a '/'.
Updated TODO

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified TODO

    r6211 r6215  
    66* Conversion Genesis -> Exodus
    77* Exodus, support Genesis output
     8* Add check that a domain has a dnsserver if not, named.conf generation gets broken
     9* Add reverse lookup fields for named.conf
     10* Fix dhcpd.conf template
    811* Interface cleanups:
    9 * Make admin work with models.py
    1012** option to edit/delete fields
    1113** allignment input fields
     
    2628                snmpd.local.conf
    2729
     30DONE:
     3115/08/08 * Make admin work with models.py
     32
    2833       
  • TabularUnified exodus/sql/dnsserver.sql

    r6212 r6215  
    22INSERT INTO exodus_DnsServer VALUES ( 2, '172.17.143.4', 1);
    33INSERT INTO exodus_DnsServer VALUES ( 3, '172.20.128.98', 1);
     4INSERT INTO exodus_DnsServer VALUES ( 4, '172.27.129.66', 1);
  • TabularUnified exodus/sql/network.sql

    r6191 r6215  
    11INSERT INTO exodus_network VALUES ( 1, 'wleiden.net', '172.16.0.0',12);
     2INSERT INTO exodus_network VALUES ( 2, 'wzoeterwoude.net', '172.27.0.0',16);
  • TabularUnified exodus/urls.py

    r6212 r6215  
    3838
    3939        # config urls
    40         (r'^(?P<object_id>.+)/dhcpd.conf/$', 'exodus.views.conf_dhcpd_conf'),
    41         (r'^(?P<object_id>.+)/named.conf/$', 'exodus.views.conf_named_conf'),
    42         (r'^(?P<object_id>.+)/rc.node.local/$', 'exodus.views.conf_rc_node_local'),
    43         (r'^(?P<object_id>.+)/resolv.conf/$', 'exodus.views.conf_resolv_conf'),
     40        (r'^(?P<object_id>.+)/dhcpd.conf$', 'exodus.views.conf_dhcpd_conf'),
     41        (r'^(?P<object_id>.+)/named.conf$', 'exodus.views.conf_named_conf'),
     42        (r'^(?P<object_id>.+)/rc.node.local$', 'exodus.views.conf_rc_node_local'),
     43        (r'^(?P<object_id>.+)/resolv.conf$', 'exodus.views.conf_resolv_conf'),
    4444
    4545
  • TabularUnified exodus/views.py

    r6213 r6215  
    119119        object.host = gethostname()
    120120        object.nic = object.nic_set.all()
     121       
     122        #Used for named.conf
     123        object.domains = Network.objects.all()
    121124
    122125        t = loader.get_template(template)
Note: See TracChangeset for help on using the changeset viewer.