• Grégory Wisniewski's avatar
    Answer the partition table in one packet. · 39465fec
    Grégory Wisniewski authored
    SendPartitionTable packet was sent between Ask and Answer PartitionTable
    packets, as notifications. In this case, the only purpose of the 'Answer'
    was to check that the partition table was filled. The 'Ask' allowed also
    to request a part of the partitions but was not used and redundant with
    AskPartitionList for neoctl.
    
    This commit include the following work:
    - The partition table is always send in one packet.
    - The full partition table is always requested with AskPartitionTable
    - The full partition table is notified with SendPartitionTable
    - Client node process the answer in the bootstrap handler.
    - Admin can receive answer *and* notifications for the partition table.
    - Move the log calls to the pt.py module
    - Add pt.getRowList() to factorise the code.
    - Build partition table packets out of the loop when possible
    - Always load inconditionnaly the partition table in generic pt.py
    -
    
    git-svn-id: https://svn.erp5.org/repos/neo/trunk@2114 71dcc9de-d417-0410-9af5-da40c76e7ee4
    39465fec
handler.py 7.48 KB