Closed georgeliao closed 2 months ago
Attention: Patch coverage is 96.96970%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 88.92%. Comparing base (
19f8477
) to head (91049eb
).
Files | Patch % | Lines |
---|---|---|
src/platform/backends/lxd/lxd_virtual_machine.h | 0.00% | 2 Missing :warning: |
src/utils/yaml_node_utils.cpp | 96.87% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@ricab @luis4a0 , the public side of the PR is ready for review, please read the intro comment to have an overview of what has been done.
@luis4a0 , I think all the comments are addressed. Maybe you can have a look of the private side.
A few things are done in this PR.
make_cloud_init_meta_config
andmake_cloud_init_network_config
in daemon.cpp which is the rebase fix forgotten to apply before.snapshot_restore
will restore the instance-id so we will not have the long appending "_e" chain.add_extra_interface_to_cloud_init
utility function intoCloudInitFileOps
, so it can be used bybase_virtual_machine::add_network_interface
and be mocked easily.apply_extra_interfaces_to_cloud_init
function lxd part was removed for now because this utility function is only used inrestore_snapshot
and lxd does not support that yet.apply_extra_interfaces_to_cloud_init
call from daemon is removed and each backendadd_network_interface
implementation is appended with aadd_extra_interface_to_instance_cloud_init
call.basesnapshot
is added, including data member andget_instance_id
function.