From a879564e18a695c246b014a07fbe168c14d8485c Mon Sep 17 00:00:00 2001 From: schillinge Date: Wed, 30 Jan 2019 21:45:10 +0100 Subject: [PATCH] Return empty `service_function_parameters` field for port pairs OSM tries to delete this and fails if the field does not exist Change-Id: I5a65d796f0025c06c7f9367c6d4f806bab893740 Signed-off-by: schillinge --- src/emuvim/api/openstack/resources/port_pair.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emuvim/api/openstack/resources/port_pair.py b/src/emuvim/api/openstack/resources/port_pair.py index a2e31bc..a51baf6 100644 --- a/src/emuvim/api/openstack/resources/port_pair.py +++ b/src/emuvim/api/openstack/resources/port_pair.py @@ -43,6 +43,7 @@ class PortPair(object): "description": self.description, "ingress": self.ingress.id, "egress": self.egress.id, - "id": self.id + "id": self.id, + "service_function_parameters": [], } return representation -- 2.25.1