Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: send code though gRPC to the agent #37

Merged
merged 13 commits into from
May 1, 2024

Conversation

thomas-mauran
Copy link
Contributor

What does this pr do

Modify the agent proto and send the code though a gRPC request to the vm

@thomas-mauran thomas-mauran marked this pull request as ready for review May 1, 2024 13:17
mmoreiradj added 3 commits May 1, 2024 15:41
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
@mmoreiradj mmoreiradj force-pushed the feat/vmm-new-proto branch from 27efb44 to ec49f7d Compare May 1, 2024 13:42
@thomas-mauran thomas-mauran changed the title Feat/vmm new proto feat: send code though gRPC to the agent May 1, 2024
mmoreiradj and others added 6 commits May 1, 2024 16:16
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
@mmoreiradj mmoreiradj self-requested a review May 1, 2024 14:18
mmoreiradj and others added 3 commits May 1, 2024 16:21
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
@thomas-mauran thomas-mauran merged commit d1d1f47 into virt-do:main May 1, 2024
2 checks passed
@mmoreiradj mmoreiradj deleted the feat/vmm-new-proto branch May 1, 2024 16:31
sylvain-pierrot pushed a commit to sylvain-pierrot/cloudlet that referenced this pull request May 2, 2024
* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
sylvain-pierrot added a commit that referenced this pull request May 2, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
remi-espie pushed a commit to remi-espie/cloudlet that referenced this pull request May 3, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (virt-do#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (virt-do#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
MurielParaire added a commit to MurielParaire/cloudlet that referenced this pull request May 3, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (virt-do#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (virt-do#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
MurielParaire added a commit to MurielParaire/cloudlet that referenced this pull request May 3, 2024
* feat: create bridge interface

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: create bridge only if not exist

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* feat: send code though gRPC to the agent (virt-do#37)

* feat(agent/proto): add agent configuration in execute request

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* feat: send code through cli and api to vm

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>

* Feat: add initramfs implementation for vmm (virt-do#34)

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat: image generation based off language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented automatic generation of rootfs with initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): fix logging & language order

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): one image per language

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* feat(vmm): implemented initramfs

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix(vmm): code cleanup

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>

* fix: rust export for cargo agent and increase MMIO_GAP_END

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* chore: lint

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* fix: add back tracing

Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>

---------

Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>

* feat: internet works

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

* fix: cargo clippy

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>

---------

Signed-off-by: sylvain-pierrot <sylvain.pierrot@etu.umontpellier.fr>
Signed-off-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Thomas Mauran <78204354+thomas-mauran@users.noreply.github.com>
Co-authored-by: Martin Moreira de Jesus <martin.moreira-de-jesus@protonmail.com>
Co-authored-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Co-authored-by: Mauran <thomas.mauran@etu.umontpellier.fr>
Signed-off-by: Muriel Paraire <72733662+MurielParaire@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants