(CTTC) Replace DLT Gateway functionality with an opensource and Hyper Ledger v2.4+ compliant version.
Proposers
- Javier Diaz (CTTC)
- Ricard Vilalta (CTTC)
Description
The current DLT Gateway functionality needs to be updated to align with the latest standards and ensure compatibility with the latest technologies. My proposal is to replace the existing DLT Gateway with a new version based on the Fabric Gateway APIs introduced in Hyperledger Fabric v2.4+ [1]. This new implementation retains the core functionality, enabling Teraflow SDN to communicate seamlessly with the blockchain, but is now fully compliant with the latest Hyperledger standards and completely open source. This enhancement will ensure better integration, improved performance, and maintainability.
- Gateway Implementation: The nodeJS code (using TypeScript/JavaScript) for calling the chaincode has been fully developed and integrated.
- Chaincode Operations: The chaincode, written in Go language, supports the following operations: UPDATE, ADD, DELETE, and FETCH assets. These operations handle various asset types, including Device, Links, Topology, Context, Service, and Slice, in JSON format.
- Proto Definitions: Proto definitions are included, compliant with the current TFS gRPC connection logic.
- Automation Scripts: K8s configuration files and scripts for deployment of the DLT Gateway as a Kubernetes service.
Demo or definition of done
- Hyperledger Fabric Deployment: A fully operational Hyperledger Fabric deployment v2.4+ must be set up and verified.
- Chaincode Deployment: The chaincode should be successfully deployed across all relevant peers within the network.
- Kubernetes Cluster: The DLT Gateway must be deployed on a Kubernetes cluster to ensure scalability and efficient management of the deployment.
- Functional Verification: The new DLT Gateway must be able to establish communication between Teraflow SDN and the blockchain, performing all necessary transactions and data exchanges as per the intended functionality.
Acknowledgements
This work is partially funded by the EC through the Hexa-X-II (101095759) project, the "RELAMPAGO grant PID2021-127916OB-I00 funded by MCIN/AEI/10.13039/501100011033 and by the "Ministerio de Asuntos Económicos y Transformación Digital" and the European Union-NextGenerationEU in the frameworks of the "Plan de Recuperación, Transformación y Resiliencia" and of the "Mecanismo de Recuperación y Resiliencia" under references TSI-063000-2021-19, TSI-063000-2021-20, TSI-063000-2021-21.