threefoldtecharchive / twin_server_v2

Apache License 2.0
0 stars 0 forks source link

twin server 1.0 #1

Open xmonader opened 3 years ago

xmonader commented 3 years ago

twin server 1.0

based on node.js rich ecosystem, we provide all necessary grid primitives and expose them over message bus

the functionality exposed in this version should cover the following

the primtives should be covered (zdb, disk, vm, public ip) and a higher level abstraction for kubernetes

and the needed interactions with substrate in the form of

vlang client

Build a client in vlang that uses that twin server to create deployments on the grid.

AhmedHanafy725 commented 3 years ago
AhmedHanafy725 commented 3 years ago

Currently, the server is supporting the following:

Twins

AhmedHanafy725 commented 3 years ago

generic machine

AhmedHanafy725 commented 3 years ago

Kubernetes

single master and multiple workers.

AhmedHanafy725 commented 3 years ago

zdb

AhmedHanafy725 commented 3 years ago

The twin server now stores the deployments (machines, k8s, zdb) Also get and delete methods are add on the server cmds: [ twinserver.machine.get, twinserver.k8s.get, twinserver.zdbs.get, twinserver.machine.delete, twinserver.k8s.delete, twinserver.zdbs.delete ] all with payload: {"name": "<deployment name>"}

AhmedHanafy725 commented 3 years ago

The server now handles network updates which allow deploying more than one machine on different nodes. Also, a list method is added for machines, k8s, and zdbs. cmds: [ twinserver.machine.list, twinserver.k8s.list, twinserver.zdbs.list ] all with empty string payload

AhmedHanafy725 commented 3 years ago

some methods added