summaryrefslogtreecommitdiffstats
path: root/debian/examples/cni/net.d/87-podman-ptp.conflist
diff options
context:
space:
mode:
Diffstat (limited to 'debian/examples/cni/net.d/87-podman-ptp.conflist')
-rw-r--r--debian/examples/cni/net.d/87-podman-ptp.conflist31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/examples/cni/net.d/87-podman-ptp.conflist b/debian/examples/cni/net.d/87-podman-ptp.conflist
new file mode 100644
index 0000000..f458b0c
--- /dev/null
+++ b/debian/examples/cni/net.d/87-podman-ptp.conflist
@@ -0,0 +1,31 @@
+{
+ "cniVersion": "0.4.0",
+ "name": "podman",
+ "plugins": [
+ {
+ "type": "ptp",
+ "Documentation": "/usr/share/doc/containernetworking-plugins/main_ptp.md",
+ "ipMasq": true,
+ "ipam": {
+ "type": "host-local",
+ "Documentation": "/usr/share/doc/containernetworking-plugins/ipam_host-local.md",
+ "subnet": "172.16.16.0/24",
+ "routes": [
+ { "dst": "0.0.0.0/0" }
+ ]
+ }
+ },
+
+ {
+ "type": "portmap",
+ "Documentation": "/usr/share/doc/containernetworking-plugins/meta_portmap.md",
+ "capabilities": { "portMappings": true }
+ },
+
+ {
+ "type": "firewall",
+ "Documentation": "/usr/share/doc/containernetworking-plugins/meta_firewall.md",
+ "backend": "iptables"
+ }
+ ]
+}