#125 PrimaryHost: proces & publish messages

pending
nobody
None
2022-11-05
2021-02-28
hermsen
No

Primary Host
subscribe and process the incoming certificates and payloads;

  • Process NBIRTH
  • Process NDATA
  • Process NDEATH
  • Process DBIRTH
  • Process DDATA
  • Process DDEATH

publish it's STATE and, if applicable, issue commands

  • Publish STATE
  • Issue NCMD's (Node REBIRTH)
  • Issue DCMD's

Discussion

  • hermsen

    hermsen - 2021-02-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,9 +1,9 @@
    -Primary Host 
    +Primary Host
     subscribe and process the incoming certificates and payloads;
    
     * [x] Process NBIRTH
     * [x] Process NDATA
    -* [ ] Process NDEATH
    +* [ ] Process NDEATH 
     * [ ] Process DBIRTH
     * [ ] Process DDATA
     * [ ] Process DDEATH
    
    • status: open --> pending
     
  • hermsen

    hermsen - 2021-03-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,9 +4,9 @@
     * [x] Process NBIRTH
     * [x] Process NDATA
     * [x] Process NDEATH 
    -* [ ] Process DBIRTH
    -* [ ] Process DDATA
    -* [ ] Process DDEATH
    +* [x] Process DBIRTH
    +* [x] Process DDATA
    +* [x] Process DDEATH
    
     publish it's STATE and, if applicable, issue commands
    
     
  • hermsen

    hermsen - 2021-03-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -11,5 +11,5 @@
     publish it's STATE and, if applicable, issue commands
    
     * [x] Publish STATE
    -* [ ] Process NCMD
    -* [ ] Process DCMD
    +* [ ] Issue NCMD's (Node REBIRTH)
    +* [ ] Issue DCMD's
    
     
  • hermsen

    hermsen - 2021-03-06
     
  • hermsen

    hermsen - 2021-03-06

    In order to issue Node Rebirths we must check the incoming payload seqnum order.
    We must do this for every Edge node as each Edge publishes them:

    SeqNum      : ULINT := 0;              //next sequence number (0..255)
    _NextBdSeq       : ULINT := 0;              //next birth/death sequence number (0..255)
    

    Method CheckBDSeqNum
    Method CheckSeqNum

     

Log in to post a comment.