Fixed EIG creation 83/39583/1
authorTomas Cechvala <tcechval@cisco.com>
Mon, 30 May 2016 08:43:25 +0000 (10:43 +0200)
committerTomas Cechvala <tcechval@cisco.com>
Mon, 30 May 2016 08:43:25 +0000 (10:43 +0200)
EIG is created only if the isExternal property
in a neutron network says true.

Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
neutron-mapper/src/main/java/org/opendaylight/groupbasedpolicy/neutron/mapper/util/NetworkUtils.java

index bbf671ac7708e29bad74d56c92344e14151c6674..237f105d0af7e2698defa2313898aef92bee3772 100644 (file)
@@ -64,7 +64,7 @@ public class NetworkUtils {
         if (external == null) {
             return false;
         }
-        return true;
+        return external;
     }
 
     public static @Nonnull String getPhysicalNetwork(Network network) {