Projecte

General

Perfil

Actions

Data objects reference

Hop object
When the path from one node to another is calculated, information about the route is partitioned in hop objects.

{
  "path":
        {
          "in": "fd66_66_66_7_12fe_edff_fe32_8a29",
          "out": "fd66_66_66_8_ea94_f6ff_fe42_6a33" 
        }

Path object

Path objects contain the unidirectional path packets follow from one node (origin) to another one (destination). Paths are, in general, non-symmetric. Since every BMX6 node can advertise different algorithms, packets going from node A to node B can may follow a route completely different to the reverse path from B to A.

{
  "paths": [
    {
      "timestamp": "1422261005091",
      "algorithm": {
        "value": "16",
        "rxExpNumerator": "1",
        "rxExpDivisor": "2",
        "txExpNumerator": "1",
        "txExpDivisor": "1" 
      },
      "path": [
        {
          "in": "fd66_66_66_7_12fe_edff_fe32_8a29",
          "out": "fd66_66_66_8_ea94_f6ff_fe42_6a33" 
        },
        {
          "in": "fd66_66_66_8_ea94_f6ff_fe42_6a33",
          "out": "fd66_66_66_b_6666_b3ff_fece_2f1c" 
        },
        {
          "in": "fd66_66_66_b_6666_b3ff_fece_2f1c",
          "out": "fd66_66_66_b_204_9fff_feef_101" 
        }
      ]
    },
    {
      "timestamp": "1422261040072",
      "algorithm": {
        "value": 16,
        "rxExpNumerator": 1,
        "rxExpDivisor": 2,
        "txExpNumerator": 1,
        "txExpDivisor": 1
      },
      "path": [
        {
          "in": "fd66_66_66_b_c24a_ff_fefc_307c",
          "out": "fd66_66_66_8_ea94_f6ff_fe42_6a33" 
        }
      ]
    }
  ]
}

Actualitzat per Roger Pueyo Centelles fa casi 10 anys · 1 revisions