Changes between Version 10 and Version 11 of DevelopmentFaq

Show
Ignore:
Timestamp:
04/17/09 15:57:16 (10 years ago)
Author:
yxin (IP: 152.54.6.59)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentFaq

    v10 v11  
    11== GENERAL ==   
    2 1.      Which directories/code to study? For instance, those for “mapper, setup/teardown, join/leave, policy plugins”?  
     2'''1.'''        Which directories/code to study? For instance, those for “mapper, setup/teardown, join/leave, policy plugins”?  
    33        '''ANSWER:'''   All core Orca interfaces reside in the orca.shirako.api namespace. 
    44   Basic implementations of these interfaces can be found in the 
     
    3030 
    3131 
    32 2.      How can we instantiate ORCA’s actors? 
     32'''2.'''        How can we instantiate ORCA’s actors? 
    3333        '''ANSWER:''' 
    3434         See the configuration guide. In general, the guides on this page provide essential information needed to start with the project: 
     
    3838 
    3939== ARCHITECTURE ==  
    40  1.     Protocol centric? How to write actors or borrow/extend ORCA’s customized interface to be compatible with ORCA implementation? 
     40''' 1.'''       Protocol centric? How to write actors or borrow/extend ORCA’s customized interface to be compatible with ORCA implementation? 
    4141        '''ANSWER:''' 
    4242  1)    orca.shirako.api: for actors and policy plugin 
     
    4646 
    4747== IMPLEMENTATION ==  
    48 1.      How to customize “property list” for new substrate, e.g., to include rspRspec? 
     48'''1.'''        How to customize “property list” for new substrate, e.g., to include rspRspec? 
    4949 
    5050Each ResourceSet has ResourceData object, which consists of 4 property lists: 
     
    9797      invoking its join/leave handler and these properties will become 
    9898      available to the handler. 
    99  
    100 2.      How is slice managed in ORCA? For instance, when to start and stop a slice and what are operations performed in starting/stopping a slice? 
     99'''2.'''        How is slice managed in ORCA? For instance, when to start and stop a slice and what are operations performed in starting/stopping a slice? 
    101100        '''ANSWER:'''   
    102101    Slivers start automatically as their setup completes (e.g., VM nodes are booted, VLANs are instantiated).  The guest join hander is invoked for each sliver after its setup completes. 
     
    106105    Guest handlers are invoked before slivers are destroyed, then the authority teardown handler is invoked. 
    107106 
    108 3.      Is there a mapper policy module within each actor? (Found in Shirako paper, but unable do so in code yet) 
     107'''3.'''        Is there a mapper policy module within each actor? (Found in Shirako paper, but unable do so in code yet) 
    109108        '''ANSWER:'''  
    110109    Mapper classes are all in shirako core. 
     
    114113    Also, see the control document. 
    115114 
    116 4.      How do handler and driver interact? Is handler an abstract construct in ORCA? Can the configuration/parameters of ORCA handler describe wireless sensor network slicing and resources? How to reuse the current KanseiGenie implementation of “slice manager”, “researcher portal”? As a driver?  
     115'''4.'''        How do handler and driver interact? Is handler an abstract construct in ORCA? Can the configuration/parameters of ORCA handler describe wireless sensor network slicing and resources? How to reuse the current KanseiGenie implementation of “slice manager”, “researcher portal”? As a driver?  
    117116        '''ANSWER:'''  
    118117     Yes this is easy: see the documentation. 
    119  
    120 Q4a) Can the configuration/parameters of ORCA handler describe wireless 
     118''''Q4a)'''' Can the configuration/parameters of ORCA handler describe wireless 
    121119    sensor network slicing and resources? How to reuse the current 
    122120    KanseiGenie implementation of “slice manager”, “researcher portal”? As a 
    123121    driver? 
    124  
    125 Answer:  
     122'''Answer:'''  
    126123      
    127124    We have some ideas about how other systems can integrate with orca but 
     
    131128 
    132129 
    133 Q5.       
     130'''5.'''       
    134131    Does the handler or nodeAgent/adapter act as the slice manager in 
    135132    Kansei architecture? Is it necessary for Kansei to write wrapper /or 
     
    138135    that expose their API to the standardized handler? 
    139136 
    140   
    141 Answer:  
     137''' Answer:'''  
    142138    There are examples of handlers and drivers under drivers/.  See the 
    143139    answer to the previous question. 
    144140     
    145 Q6.  
     141'''6.'''  
    146142    How to implement plugin polices at the three actors? How to use 
    147143    or implement the Plug-in extension modules in ORCA core to respond to 
     
    150146    request management at service manager?   
    151147     
    152 Answer: 
     148'''Answer:''' 
    153149 
    154150    The orca code base contains a number of policy examples. Starts from 
     
    159155    cod/src/main/java/orca/cod/control 
    160156 
    161 Q7.       
    162    How does the service manager talk to the web/researcher portal 
    163    (Velocity constructed web)? 
     157'''7.'''       
     158   How does the service manager talk to the web/researcher portal (Velocity constructed web)? 
    164159 
    165 Answer: 
     160'''Answer:''' 
    166161 
    167162   Each Orca container provides a set of management API. The web portal