this PR adds a network_isolation config option for trove, with network_isolation enabled, trove guest agent will plug the user-defined port to database container by docker host_nic network driver which is implemented in this PR. docker host_nic network driver is a simple driver to plug host nic to a container. this driver supports ipv4,ipv6 and dual-stack. for more details please see the story. story: 2010733 task: 47957 Change-Id: I35d6f8b81a2c5e847cbed3f5bc6095dc1d387165
8 lines
138 B
SYSTEMD
8 lines
138 B
SYSTEMD
[Unit]
|
|
Description=docker hostnic driver
|
|
|
|
[Socket]
|
|
ListenStream=/run/docker/plugins/docker-hostnic.sock
|
|
|
|
[Install]
|
|
WantedBy=sockets.target |