MakerLab logo MakerLab

Here follows the language dml-servant has so far learned.

Servant’s rules

dml-servant the rules

In case you wonder about the rules dml-servant was programmed to obey to.

the-rules

Debug

dml-servant echo <text>

If you doubt the servant’s capacity to reply to you, please, give it a try.

echo

ping

Because ping-pong is a nice game. Oh, and it enables you to test whether the servant is really listening to you or has gone rogue.

ping

Help

dml-servant help

Because dml-servant is kind enough to help you learn its language.

help

Projects

dml-servant projects ls

dml-servant is smart enough to tell you about your projects inside the famous DETI MakerLab. No need to switch context!

projects-ls

Network

dml-servant network add port <proj-id> <port-id>

If you need to have your own private network (free from UA’s constraints!).

network-add-port

dml-servant network create <proj-id> <dockerfile-url>

Or a VM, dml-servant comes to the rescue.

network-create

dml-servant network log <cont-id>

It can also show you a VM’s log, in case you need it.

network-log

dml-servant network ls <proj-id>

Or list the VM’s bound to a project!

network-ls

dml-servant network restart <cont-id>

Restarting a VM is a easy as 1, 2, 3, dml-servant network restart container id.

network-restart

dml-servant network rm <cont-id>

Removing is a classic, no explanation needed. Proceed with care though.

network-rm

dml-servant network rm port <port-id>

When you no longer need to have your own private network.

network-rm-port

dml-servant network start <cont-id>

Every Stop <X> needs a Start <X>.

network-start

dml-servant network stat <cont-id>

Looking for statistics about a VM? Well… Look no more.

network-stat

dml-servant network stop <cont-id>

Every Start <X> needs a Stop <X>.

network-stop