Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge pull request #8571 from Luap99/podman-network-reload | OpenShift Merge Robot | 2020-12-08 |
|\ | | | | | Implement pod-network-reload | ||
| * | Implement pod-network-reload | Matthew Heon | 2020-12-07 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new command, 'podman network reload', to reload the networks of existing containers, forcing recreation of firewall rules after e.g. `firewall-cmd --reload` wipes them out. Under the hood, this works by calling CNI to tear down the existing network, then recreate it using identical settings. We request that CNI preserve the old IP and MAC address in most cases (where the container only had 1 IP/MAC), but there will be some downtime inherent to the teardown/bring-up approach. The architecture of CNI doesn't really make doing this without downtime easy (or maybe even possible...). At present, this only works for root Podman, and only locally. I don't think there is much of a point to adding remote support (this is very much a local debugging command), but I think adding rootless support (to kill/recreate slirp4netns) could be valuable. Signed-off-by: Matthew Heon <matthew.heon@pm.me> Signed-off-by: Paul Holzinger <paul.holzinger@web.de> | ||
* | | Correct which network commands can be run as rootless | Paul Holzinger | 2020-12-03 |
|/ | | | | Signed-off-by: Paul Holzinger <paul.holzinger@web.de> | ||
* | add network connect|disconnect compat endpoints | baude | 2020-11-19 |
| | | | | | | | | | | | this enables the ability to connect and disconnect a container from a given network. it is only for the compatibility layer. some code had to be refactored to avoid circular imports. additionally, tests are being deferred temporarily due to some incompatibility/bug in either docker-py or our stack. Signed-off-by: baude <bbaude@redhat.com> | ||
* | Update document formatting and packaging code | Jhon Honce | 2019-10-31 |
* Refactored code and Makefile to support new docs layout * Removed some old code packaging code * Add Readme.md to document what we're doing Signed-off-by: Jhon Honce <jhonce@redhat.com> Signed-off-by: baude <bbaude@redhat.com> |