Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4077 Improve storage usage on etcd
  3. VOL-4153

Create protobuf message definitions for techprofile template, techprofile instance and resource instance

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: VOLTHA v2.8
    • Component/s: protos
    • Labels:
    • Story Points:
      3
    • Sprint:
      VOLTHA Sprint 3, VOLTHA Sprint 4, VOLTHA Sprint 5

      Description

      Create protobuf message definitions for techprofile template, techprofile instance and resource instance.

      Earlier the definitions were maintained as some internal structures within techprofile module and the standard json marshal was used to json-ify the structure and store on etcd. The data from etcd was again unmarshalled and read back to internal structures for processing.

      Using protobuf messages allows for better tech profile message passing across different components in the voltha stack as opposed to using some internal structures. Also gives the additional benefits of protobuf optimal encoding/decoding , versioning, extensibility, backward compatibility etc.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity