Coder Social home page Coder Social logo

qrsa's People

Contributors

chibikuri avatar hhatpsi avatar zigen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

deyh2020

qrsa's Issues

Hardware interfaces for simulation and deployment

Hardware mock implementation

Background

For testing qrsa components or simulating the entire module, we need mocks for hardware. We also need a clear interface layer for both mock hardware and real hardware.

Implementation Proposal

Use embedded-hal as an interface for mock hardware and real hardware.

Tasks

  • Design interfaces for hardware components (Interface definition should be flexible for future devices)
  • Implement those interfaces on hardware abstraction layer with hal library
  • Tests

Hardware Monitor implementation

Hardware Monitor

Background

Hardware monitor is a component that is responsible for link-level entanglement generation and monitoring link cost.

Implementation Proposal

For communicating with BSA and EPPS, HM uses tokio to manipulate the socket.

Tasks

  • Design interfaces between Hardware components (Start link generation)
  • Design interfaces between RuleEngine (link entanglement ready)
  • Design interfaces between next-hop Hardware Monitor (tomography negotiation)
  • Design interfaces between Routing Daemon (notify link cost)
  • Implementation of these interfaces
  • Test

Design and tool decision

We need a concrete and precise design for overall components to implement the full fine working software.

  • Full sequence diagram for qrsa components
  • Interface design
  • Data structure design

Connection Manager Implementation

Connection Manager

Implementations

  • Receive application requirements
  • Create a Connection Setup Request and forward it (Initiator)
  • Receive Connection Setup Request, push performance information, and forward it (Repeater/Router)
  • Receive Connection Setup Request and extract performance information (Responder)
  • Create RuleSets and create/send Connection Setup Response with them (Responder)
  • Provide RuleSet to Rule Engine for responder itself (Responder)
  • Receive a Connection Setup Response and get/forward RuleSet (Initiator/Repeater/Router)
  • Send Link Allocation Update and get negotiated LA
  • Send Barrier

Considerations

  • Selective compile
  • Async

Testing

  • Unit testing
  • Create several connection manager instances and test them in realistic situation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.