Changes between Initial Version and Version 1 of Internal/NewNodeAgent


Ignore:
Timestamp:
Sep 5, 2014, 5:54:50 PM (10 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/NewNodeAgent

    v1 v1  
     1''' Rebuilding the Node Agent from the ground up '''
     2
     3Dependencies:
     4omfcommon/Mobject
     5
     6gems:
     7cocaine
     8yaml?
     9
     10
     11----
     12''' Design Notes: '''
     13
     14''' nodeagent.rb: '''
     15
     16The hwdiscovery mode of the nodeagent code is being re-done. Instead of the original grep lspci lines, we now have has of dev_id's. Each dev_id in the hash maps to a node agent device driver that will be loaded to handle that specific device. This device will load the module for it's respective device type.
     17
     18
     19''' devices.rb '''
     20
     21We're implementing all the module handeling code here. It uses the cocaine command line library as a wrapper. The cocaine lib kicks out an exception if the command fails. Exception handling will mitigate failed commands.
     22
     23''' ethernet.rb '''
     24
     25This class is responsible for all of the ifconfig/route handling code (all things ethernet). The same cocaine lib will handle shell commands with similar exception handeling. The interface has been extended to implement getters and setters for all the requisite interface state (ip, netmask, etc...). We've left the original get config command structure alone, but now also have implemented an execConfigCmd which will actually implement these config commands.
     26
     27''' wifi.rb '''
     28
     29TODO
     30
     31''' rcDrv_e1000e.rb'''
     32e1000e kernel module specif driver. A child of ethernet. Overides any thing that is specific to e1000e, but mostly leaves the parent class in tact. Also sets the value of @kmodName
     33
     34More to follow[[BR]]
     35.[[BR]]
     36.[[BR]]
     37.[[BR]]
     38
     39
     40----
     41Observations:
     42 * active? is defined at "Ready to be configured". If a device is set to active, it is read to accept config commands.
     43 *