Changeset 6229


Ignore:
Timestamp:
Aug 22, 2008, 8:54:14 PM (17 years ago)
Author:
roland
Message:

Fixed add nic error:
return "%s-%s.%s.%s" % (desc, nic.iface, node.name, node.network.domainname)
didnot work because nic.iface doesnot exist yet. Changed "nic.iface" to "nic"

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified doc/README

    r6202 r6229  
    1313
    1414Using the djangotrunk execute:
    15 ./manage.py graph_models exodus > exodusmodels.dot
     15$ ./manage.py graph_models exodus > exodusmodels.dot
    1616
     17= Debug Django =
     18
     19Install django_extensions, see above for installation description.
     20Install Werkzeug from: http://werkzeug.pocoo.org/download
     21
     22Using werkzeug:
     23$ ./manage.py runserver_plus
  • TabularUnified exodus/wllogic.py

    r6210 r6229  
    66        """Generates a new ssid name for a new wifi NIC"""
    77
    8         return "%s-%s.%s.%s" % (desc, nic.iface, node.name, node.network.domainname)
     8        # nic is used instead of nic.iface, because string nic is passed on,
     9        # instead of object nic.
     10
     11        return "%s-%s.%s.%s" % (desc, nic, node.name, node.network.domainname)
    912
    1013#
Note: See TracChangeset for help on using the changeset viewer.