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 Initial Version and Version 1 of Proto/cModules/f0Computing/c0ServiceTCP


Ignore:
Timestamp:
Nov 29, 2014, 2:10:57 AM (9 years ago)
Author:
seskar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proto/cModules/f0Computing/c0ServiceTCP

    v1 v1  
     1= Computing Service Base on TCP =
     2
     3== Format ==
     4Communication Between MobilityFirst Click Router and Computing service.
     5{{{
     60                   1                   2                   3
     70 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 Bit
     80             1               2               3                 Octet
     9+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     10|                         Unique ID                           |
     11+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     12|    Compute begin offset     |             Reserved          |
     13+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     14|                     Payload size                            |
     15+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     16|Param. count |       Parameters (type, length, value)        |
     17+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     18~                                                             ~
     19|                     Parameters (type, length, value)        |
     20~                                                             ~
     21+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     22~                                                             ~
     23|                     Payload                                 |
     24~                                                             ~
     25+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     26}}}
     27'''Unique ID''' - Uniquely identifies this data block in communication between the router and compute service. It is used within the routing fabric to maintain state (if any) of the data block forwarded to the service.
     28
     29'''Compute begin offset''' - Offset of first byte of payload at which the compute service should begin processing
     30
     31'''Param. count''' - Count of number of parameters to follow
     32
     33'''Parameters''' - Type, length, value fields of a parameter. Parameters have meaning within the scope of the particular compute service
     34
     35Format of the outgoing chunk (processed by the cloudlet):
     36{{{
     370                   1                   2                   3
     380 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 Bit
     390             1               2               3                 Octet
     40+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     41|         Unique ID           |         Start Bit Offset      |
     42+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     43|                     new payload size                        |
     44+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     45|# of parameters|  Parameters(type, length, value)            |
     46+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     47~                                                             ~
     48|                        Parameters                           |
     49~                                                             ~
     50+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     51~                                                             ~
     52|                   Processed Payload                         |
     53~                                                             ~
     54+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     55}}}