close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Version 4 and Version 5 of Internal/SystemPrototyping/Workingdocuments/SpecificationsV10


Ignore:
Timestamp:
Aug 10, 2011, 7:06:44 PM (13 years ago)
Author:
nkiran
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internal/SystemPrototyping/Workingdocuments/SpecificationsV10

    v4 v5  
    1414== Router ==
    1515
     16==== MF Packet =====
     17
     18{{{
     19An MF packet is more appropriately a PDU or APDU that tries to balance
     20requirements from both application and network sides, consequently providing high
     21flexibility in destination addressing, delivery mechanisms, and in-route
     22handling.
     23
     24The following is the packet format:
     25
     26       0                   1                   2                   3
     27       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     28      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     29      |    Version    |Type of Message|          Total Length         |
     30      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     31      ~                                                               ~
     32      |                         Source GUID                           |
     33      ~                                                               ~
     34      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     35      ~                                                               ~
     36      |                         Source Network Address                |
     37      ~                                                               ~
     38      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     39      ~                                                               ~
     40      |                         Destination GUID                      |
     41      ~                                                               ~
     42      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     43      ~                                                               ~
     44      |                         Destination Network Address           |
     45      ~                                                               ~
     46      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     47      |  Service ID |                Service Options                  |
     48      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     49
     50}}}
     51
    1652=== Storage Aware Routing ===
    1753
     
    1955
    2056=== Network cache ===
     57
     58== Name Assignment Service ==
    2159
    2260== Name Resolution Service ==
     
    4179                                                   v                     v 
    4280                                              LNRS servers          GNRS servers
    43 }}}
    44 
    45 {{{
     81
    4682A host/client may interact with the name resolution service to either (1) report
    4783or update it's present network address binding(s), or, (2) to query corresponding
     
    91127'merge', for example, the existing with the presented bindings. 
    92128
    93 }}}
    94 
    95129The following is the general format of a request message:
    96130
    97 {{{
    98 
    99        0                   1                   2                   3
    100        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    101       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    102       |    Version    |Type of Message|          Total Length (L)     |
     131
     132       0                   1                   2                   3
     133       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     134      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     135      |    Version    |Type of Message|          Total Length         |
    103136      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    104137      |                           Request ID                          |
    105138      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    106139      ~                                                               ~
    107       |                       Requestor Address N-bytes               |
     140      |                         Requestor Address                     |
    108141      ~                                                               ~
    109142      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     
    127160  variable size with format defined per request type -- see below
    128161
    129 ===== Update Request =====
     162===== Insert/Update Request =====
    130163 
    131164{{{
    132165An insert or update involves reporting new network location bindings to
    133166the name resolution service.
    134 }}}
    135 
    136 {{{
     167
     168Following is the format for payload in a insert/update request.
     169
    137170       0                   1                   2                   3
    138171       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     
    144177      |                            Options                            |
    145178      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    146       |                            Size (S)                           |
     179      |                             Size (S)                          |
    147180      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
    148181      |                               |                               |    |
    149182      |        Address Type           |        Address Length         |    |
    150       |                               |                               |    |Entry
    151       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |for
    152       ~                                                               ~    |Addr#1
    153       |                        Network Address#1                      |    |
     183      |                               |                               |    |
     184      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |Entry#1
     185      ~                                                               ~    |
     186      |                        Network Address #1                     |    |
    154187      ~                                                               ~    |
    155188      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
    156189      ~                                                               ~
    157       |                     Network Addresses #2-#S                   |
     190      |                            Entry #2                           |
     191      ~                                                               ~
     192      |...............................................................|
     193      ~                                                               ~
     194      |                            Entry #S                           |
    158195      ~                                                               ~
    159196      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     
    178215A lookup is performed to determine the present network location binding(s)
    179216of a network entity.
    180 }}}
    181 
    182 {{{
    183        0                   1                   2                   3
    184        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    185       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    186       ~                                                               ~
    187       |                           GUID N-bytes                        |
    188       ~                                                               ~
    189       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    190       |                            Options                            |
     217
     218
     219       0                   1                   2                   3
     220       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     221      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     222      ~                                                               ~
     223      |                              GUID                             |
     224      ~                                                               ~
     225      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     226      |                             Options                           |
    191227      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    192228}}}
     
    199235details of original request and the result of the request, along with details of the
    200236responder required for any client-side verification.
    201 }}}
    202 
    203 {{{
    204 
    205        0                   1                   2                   3
    206        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    207       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    208       |    Version    |Type of Message|          Total Length (L)     |
     237
     238Following is the format of header fields of a response message:
     239
     240       0                   1                   2                   3
     241       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     242      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     243      |    Version    |Type of Message|          Total Length         |
    209244      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    210245      |                           Request ID                          |
     
    234269 Payload::
    235270  custom response for each request type
     271
     272===== Insert/Update Response =====
     273
     274{{{
     275The payload is empty for responses to insert or update requests.
     276}}}
     277
     278===== Lookup Response =====
     279
     280{{{
     281
     282The payload in a lookup response contains the network address bindings for the
     283requested GUID, and follows format in the insert/update requests.
     284
     285       0                   1                   2                   3
     286       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     287      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     288      |                             Size (S)                          |
     289      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
     290      |                               |                               |    |
     291      |        Address Type           |        Address Length         |    |
     292      |                               |                               |    |
     293      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    |Entry#1
     294      ~                                                               ~    |
     295      |                        Network Address #1                     |    |
     296      ~                                                               ~    |
     297      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ---+
     298      ~                                                               ~
     299      |                            Entry #2                           |
     300      ~                                                               ~
     301      |...............................................................|
     302      ~                                                               ~
     303      |                            Entry #S                           |
     304      ~                                                               ~
     305      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     306
     307}}}
     308
    236309
    237310