Changes between Version 28 and Version 29 of Network driver development HOWTO

Show
Ignore:
Timestamp:
06/18/10 14:56:00 (9 years ago)
Author:
yxin (IP: 152.54.8.156)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Network driver development HOWTO

    v28 v29  
    115115=== Task tests === 
    116116 
    117 Once unit tests work and tasks and associated meta-information is defined, you can test your driver by invoking the test handler. You should update handlers/network/ant/tests.properties file to add necessary property definitions (like vlan tags, device IP addresses or DNS names although they can be passed as command-line parameters to ant as well). You should create a handlers/network/ant/user.tests.properties file where you can re-declare login properties (usernames and passwords). There properties are declared in handlers/network/ant/tests.properties file, however they have empty values. This is done because ant/tests.properties file is under Subversion control and you should avoid checking in live passwords and logins (and other credentials) into subversion. Any properties declared in ant/user.tests.properties take precedence of properties declared in ant/tests.properties, however the ant/user.tests.properties file is NOT and should NEVER be checked into subversion. 
     117Once unit tests work and tasks and associated meta-information is defined, you can test your driver by invoking the test handler. You should update handlers/network/ant/tests.properties file to add necessary property definitions (like vlan tags, device IP addresses or DNS names although they can be passed as command-line parameters to ant as well). You should create a handlers/network/ant/user.tests.properties file where you can re-declare login properties (usernames and passwords). These properties are declared in handlers/network/ant/tests.properties file, however they have empty values. This is done because ant/tests.properties file is under Subversion control and you should avoid checking in live passwords and logins (and other credentials) into subversion. Any properties declared in ant/user.tests.properties take precedence of properties declared in ant/tests.properties, however the ant/user.tests.properties file is NOT and should NEVER be checked into subversion. 
    118118 
    119119{{{ 
     
    127127=== Developing another Cisco driver === 
    128128 
    129 Developing a driver for another Cisco device (let's call it '!NewCiscoDevice' here, you should come up with a better name) si simple: 
     129Developing a driver for another Cisco device (let's call it '!NewCiscoDevice' here, you should come up with a better name) is simple: 
    130130 
    131131 1. Create a new class for the device that extends !CiscoRouterDevice and implements IRouterDevice or directly extends Cisco6509Device if it is capable of VLAN translation.  Its constructor is trivial: