From: schillinge Date: Wed, 30 Jan 2019 20:45:10 +0000 (+0100) Subject: Return empty `service_function_parameters` field for port pairs X-Git-Tag: v6.0.0~37 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=a879564e18a695c246b014a07fbe168c14d8485c;p=osm%2Fvim-emu.git 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 --- 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