Changes between Version 14 and Version 15 of DevelopmentFaq

Show
Ignore:
Timestamp:
04/17/09 17:34:24 (10 years ago)
Author:
yxin (IP: 152.54.9.65)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentFaq

    v14 v15  
    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: 
     
    3737   ''Note:'' some of the information on this page may be stale. We are currently in the process of updating it to reflect our recent changes.  
    3838 
    39 == ARCHITECTURE ==  
    40 ''' 1.'''       Protocol centric? How to write actors or borrow/extend ORCA’s customized interface to be compatible with ORCA implementation? 
    41         '''ANSWER:''' 
    42   1)    orca.shirako.api: for actors and policy plugin 
    43   2)    orca.controller.x: guest controller 
    44   3)    orca.handlers.x: handler.xml 
    45   4)    orca.driver.x: drivers 
    46  
    4739== IMPLEMENTATION ==  
    48 '''1.'''        How to customize “property list” for new substrate, e.g., to include rspRspec? 
     40'''1.''' How to customize “property list” for new substrate, e.g., to include rspRspec? 
    4941 
    5042Each ResourceSet has ResourceData object, which consists of 4 property lists: 
     
    8173 
    8274    - service managers can set local properties to a reservation before invoking its join/leave handler and these properties will become available to the handler. 
    83 '''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? 
     75 
     76'''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? 
    8477        '''ANSWER:'''   
    8578    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. 
     
    8982    Guest handlers are invoked before slivers are destroyed, then the authority teardown handler is invoked. 
    9083 
    91 '''3.'''        Is there a mapper policy module within each actor? (Found in Shirako paper, but unable do so in code yet) 
     84'''3.''' Is there a mapper policy module within each actor? (Found in Shirako paper, but unable do so in code yet) 
    9285        '''ANSWER:'''  
    93     Mapper classes are all in shirako core. 
    94     Look at everything that derives from ''IPolicy''. 
    95     The identifier "Mapper" has disappeared from the code. 
     86    Mapper classes are all in shirako core. Look at everything that derives from ''IPolicy''. The identifier "Mapper" has disappeared from the code. 
     87 Also, see the control document. 
    9688 
    97     Also, see the control document. 
    98  
    99 '''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?  
     89'''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?  
    10090        '''ANSWER:'''  
    10191     Yes this is easy: see the documentation. 
     
    121111   Each Orca container provides a set of management API. The web portal interacts with the Orca container using the management API. The design of the management API provides for multiple ways to invoke them: 
    122112     - local function calls when running in the same JVM 
    123      - SOAL when calling from another JVM. 
     113     - SOAP when calling from another JVM. 
    124114 
    125115   At this point the local interface is fully supported, but the SOAP interface is rudimentary and not functional.