futurewei-cloud / Distrinet

Distributed Network emulator, based on Mininet
MIT License
3 stars 6 forks source link

Deploy the Alcor microservices as lxd/lxc containers in distrinet #23

Open cj-chung opened 2 years ago

cj-chung commented 2 years ago

We need to implement and deploy Alcor microservices as lxc containers to provide control plane for ACAs.

Requirements:

  1. Modify Alcor's source code to make each Alcor microservice as a lxc containers after compilation.
  2. Deploy Alcor's containers in one of worker node in Distrinet
  3. Test request from these microservices to ACAs with swagger restful APIs.
SevenWang009 commented 2 years ago

gei it

SevenWang009 commented 2 years ago

i have been learning about ACA and swagger the days

SevenWang009 commented 2 years ago

The research on the usability of third-party lxdfile tools is still in progress

SevenWang009 commented 2 years ago

was on familiar with the dockerfile generation process of Alcor simple service(data_plane_manager) and try to migrate it to LXD container

SevenWang009 commented 2 years ago

with the help of my seniority, we have found a tool similar to dockerfile function given by the official. (https://github.com/lxc/distrobuilder) trying to put DMP into LXD and explore what the tool could do specifically

VanderChen commented 2 years ago

with the help of my seniority, we have found a tool similar to dockerfile function given by the official. (https://github.com/lxc/distrobuilder) trying to put DMP into LXD and explore what the tool could do specifically

There is an official tool to build an LXD container from file. And the container can be defined by a schema file .

SevenWang009 commented 2 years ago

the official tool distrobuilder is ready to use image

SevenWang009 commented 2 years ago

for now, we've completed about half of the microservices' packaging and related LXD container customization

SevenWang009 commented 2 years ago

discussing and studying the deployment scheme of OVS and other LXD containers

VanderChen commented 2 years ago

The build scripts are involved in PR #746 to Alcor.