Fixed accidential override of `sfc_encap` 24/7124/1
authorschillinge <ablu@mail.uni-paderborn.de>
Thu, 24 Jan 2019 08:25:11 +0000 (09:25 +0100)
committerschillinge <ablu@mail.uni-paderborn.de>
Thu, 24 Jan 2019 08:30:34 +0000 (09:30 +0100)
The old code basically hardcoded the use of NSH (which is still broken
in OpenStack's SFC implementation).

Change-Id: I0de4682bca69c7a349d678ae3a8179d78b37c605
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
osm_ro/vimconn_openstack.py

index 0930eb0..419caa0 100644 (file)
@@ -1976,7 +1976,7 @@ class vimconnector(vimconn.vimconnector):
             self._reload_connection()
             # In networking-sfc the MPLS encapsulation is legacy
             # should be used when no full SFC Encapsulation is intended
-            sfc_encap = 'mpls'
+            correlation = 'mpls'
             if sfc_encap:
                 correlation = 'nsh'
             sfp_dict = {'name': name,