Hadron / Hadron/carthage

container vs host NetworkConfig

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11
Forks
8
Avg merge
9h 26m
Merged PRs (30d)
6

Description

Consider the following modeling:
```
class host(MachineModel):
class container_1(MachineModel): pass
class container_2(MachineModel): pass
```
We almost certainly want different networking for host than for the two containers.
We presumably need to override a few other things including machine_implementation_key.

For PodmanContainer, PodmanPod and PodmanPodModel, we can introduce a different injection key that preferentially sets the NetworkConfig.
But that isn't as useful as it might appear because most netowrk_links are set on MachineModel not on the underlying machine.
Currently there is not a good way to handle this at the MachineModel level.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.