Changes between Version 12 and Version 13 of Network driver development HOWTO

Show
Ignore:
Timestamp:
05/20/10 14:21:13 (9 years ago)
Author:
ibaldin (IP: 152.54.9.131)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Network driver development HOWTO

    v12 v13  
    1 = Overview = 
     1= Network driver development HOWTO = 
     2== Overview == 
    23 
    34As of Bella '''2.1''', network substrate drivers have been reorganized from a number of separate projects (one project per device family) into a single simple project that covers all network elements. Node Agent code has been removed, such that new network drivers and handlers no longer require the use of Node Agent and are invoked directly by the Site Authority. 
     
    2324The attached figure shows the UML diagram of the classes and interfaces that implement router drivers (not DTN or OS). 
    2425 
    25 = Implementing a new router driver = 
     26== Implementing a new router driver == 
    2627 
    2728A basic router driver must either implement the basic IRouterDevice interface (if the device supports basic VLAN operations) or the IMappingRouterDevice (if the device supports VLAN tag remapping): 
     
    6768Once the interface is implemented, the next step is to implement a set of tasks (a class per task) corresponding to driver actions. A common way to implement them is to define a device-specific base task that is a child of !NetworkBaseTask and subclass further tasks from it (see the orca.handlers.network.tasks.Cisco6509 as an example). 
    6869 
    69 = Testing = 
     70== Testing == 
    7071 
    71 == Unit tests == 
     72=== Unit tests === 
    7273 
    73 == Task tests == 
     74=== Task tests ===