From ae32c0f264992c40e74211bc9ed8468fa565c7dd Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 04 May 2020 17:06:51 +0000
Subject: [PATCH] Add external connectivity entities that are missing from docs

---
 docker_plugin_api/NetworkDriverEntities.py |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/docker_plugin_api/NetworkDriverEntities.py b/docker_plugin_api/NetworkDriverEntities.py
index 038ad4c..d1e3e9c 100644
--- a/docker_plugin_api/NetworkDriverEntities.py
+++ b/docker_plugin_api/NetworkDriverEntities.py
@@ -96,3 +96,19 @@
 
         self.DiscoveryType = DiscoveryType
         self.DiscoveryData = DiscoveryData
+
+
+class ProgramExternalConnectivityEntity:
+    def __init__(self, NetworkID: str, EndpointID: str, Options: dict = None):
+        if Options is None:
+            Options = {}
+
+        self.NetworkID = NetworkID
+        self.EndpointID = EndpointID
+        self.Options = Options
+
+
+class RevokeExternalConnectivityEntity:
+    def __init__(self, NetworkID: str, EndpointID: str):
+        self.NetworkID = NetworkID
+        self.EndpointID = EndpointID

--
Gitblit v1.9.1