Return empty `service_function_parameters` field for port pairs 53/7153/3
authorschillinge <ablu@mail.uni-paderborn.de>
Wed, 30 Jan 2019 20:45:10 +0000 (21:45 +0100)
committerschillinge <ablu@mail.uni-paderborn.de>
Tue, 5 Feb 2019 15:58:01 +0000 (16:58 +0100)
OSM tries to delete this and fails if the field does not exist

Change-Id: I5a65d796f0025c06c7f9367c6d4f806bab893740
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
src/emuvim/api/openstack/resources/port_pair.py

index a2e31bc..a51baf6 100644 (file)
@@ -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